DO NOT REPLY [Bug 34946] - NullQuery to return all documents

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

DO NOT REPLY [Bug 34946] - NullQuery to return all documents

Bugzilla from bugzilla@apache.org
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG?
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=34946>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND?
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=34946





------- Additional Comments From [hidden email]  2005-05-18 19:59 -------
A query returning all docs can indeed be useful on occasion, it was the subject
of some recent messages on the java-user list.
 
Some remarks:
- MatchAllDocsQuery might be a better name, NullQuery could also to suggest
  not matching any docs at all (which can also be useful on occasion btw.)
- The scorer uses an int[] for all the non deleted docs which can be
  a rather high burden on memory and initialisation. This could be avoided
  by using the information on deleted docs from the reader directly
  in the scorer.
- The score value is a constant, and queries with this property are
  currently under discussion on java-dev. This might become a special
  case of the filters discussed there.
 
Regards,
Paul Elschot  

--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]