You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2010/04/13 15:54:32 UTC

[Lucene-java Wiki] Update of "LuceneFAQ" by RobertMuir

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Lucene-java Wiki" for change notification.

The "LuceneFAQ" page has been changed by RobertMuir.
The comment on this change is: update trunk location.
http://wiki.apache.org/lucene-java/LuceneFAQ?action=diff&rev1=142&rev2=143

--------------------------------------------------

  
  There is no direct way of doing that.  You could add a term "x" to every document, and then search for "+x -y" to find all of the documents that don't have "y". Note that for large collections this would be slow because of the high term frequency for term "x".
  
- Lucene 1.9 added [[http://svn.apache.org/viewcvs.cgi/lucene/java/trunk/src/java/org/apache/lucene/search/MatchAllDocsQuery.java|MatchAllDocsQuery]] to make this easier.
+ Lucene 1.9 added [[http://svn.apache.org/viewcvs.cgi/lucene/dev/trunk/lucene/src/java/org/apache/lucene/search/MatchAllDocsQuery.java|MatchAllDocsQuery]] to make this easier.
  
  ==== How do I get the last document added that has a particular term? ====