lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 34946] - NullQuery to return all documents
Date Wed, 18 May 2005 17:59:12 GMT
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 paul.elschot@xs4all.nl  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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message