Lucene [3.0] Skip Matching Document.

2015-07-28 Thread Muhammad Ismail
Can we skip matching lucene document by using custom collector or some other way. Like I want to bring all document created by user xxx on specific date but after we got a match, we want to run some logic which figure out either the document is acceptable or not. We cannot specify criteria in lucen

Re: Lucene [3.0] Skip Matching Document.

2015-07-28 Thread Ismail
Muhammad Ismail gmail.com> writes: Any one - To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org

Re: Lucene [3.0] Skip Matching Document.

2015-07-28 Thread Anton Zenkov
You can always throw an exception in the collector to stop the collection process. Anton On Tue, Jul 28, 2015 at 4:26 AM, Muhammad Ismail wrote: > Can we skip matching lucene document by using custom collector or some > other way. Like I want to bring all document created by user xxx on > speci

Re: Lucene [3.0] Skip Matching Document.

2015-07-29 Thread Muhammad Ismail
Thanks Anton for your suggestion, also if we specify 2 criteria in search query, can we identify which criteria causes the match ? On Tue, Jul 28, 2015 at 9:04 PM, Anton Zenkov wrote: > You can always throw an exception in the collector to stop the collection > process. > > Anton > > On Tue, Jul