Home | About | Sematext search-lucene.com search-hadoop.com
 Search Lucene and all its subprojects:

Switch to Threaded View
Solr, mail # user - upgrading Solr - org.apache.lucene.search.Filter and acceptDocs


Copy link to this message
-
upgrading Solr - org.apache.lucene.search.Filter and acceptDocs
Jamie Johnson 2012-02-25, 20:16
I'm trying to upgrade an application I have from an old snapshot of
solr to the latest stable trunk and see that the constructor for
Filter has changed, specifically there is another parameter named
acceptDocs, the API says the following

acceptDocs - Bits that represent the allowable docs to match
(typically deleted docs but possibly filtering other documents)

but I'm not sure what specifically this means to my filter.  How
should this be used when trying to upgrade a filter?