[haiku-bugs] Re: [Haiku] #6734: query not working when specifying an interval

  • From: "AGMS" <trac@xxxxxxxxxxxx>
  • Date: Wed, 21 Jan 2015 21:19:07 -0000

#6734: query not working when specifying an interval
--------------------------------+------------------------------------
   Reporter:  zuMi              |      Owner:  axeld
       Type:  bug               |     Status:  new
   Priority:  normal            |  Milestone:  R1
  Component:  Kits/Storage Kit  |    Version:  R1/Development
 Resolution:                    |   Keywords:  query, interval, range
 Blocked By:                    |   Blocking:
Has a Patch:  0                 |   Platform:  All
--------------------------------+------------------------------------

Comment (by AGMS):

 Looks like the query system is still broken in hrev48702 (the one with
 fixed BFS index storage of long attributes, like MAIL:cc).  I copied over
 90000 e-mails to a freshly formatted volume, and only 109 show up in the
 query that uses the huge MAIL:cc index (Text  01/20/2015 06:55 PM
 1996800 MAIL:cc):

 /CommonHaiku> query -v /CommonHaiku/agmsmith '(MAIL:cc="*")' | wc
     109    1241   15367

 /CommonHaiku> query -v /CommonHaiku/agmsmith '(name="*")&&(MAIL:cc="*")' |
 wc
   92046  695183 10674488

 /CommonHaiku> query -v /CommonHaiku/agmsmith '(name="*")' | wc
   92046  695183 10674488

 So, is the parsing broken or is the attribute value turned to junk data in
 the index or something else?

--
Ticket URL: <https://dev.haiku-os.org/ticket/6734#comment:5>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: