Fwd: Wildcard query parser of MultiFieldQueryParser should support boosts

2017-08-17 Thread Yegor Dovganich
Hello, can someone review my patch? https://issues.apache.org/jira/browse/LUCENE-7917 -- Regards, Yegor Dovganich - To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h..

Re: How to limit SimpleCollector at N documents?

2017-08-17 Thread Adrien Grand
You could wrap a collector wrapper (have a look at FilterCollector maybe) that throws a CollectionTerminatedException whenever more than X hits have been collected in total. It will likely stop in the middle of the first segment, and then before collecting further segments. FYI you can not only th

Re:How to limit SimpleCollector at N documents?

2017-08-17 Thread dr
i used to do the same thing. My way is also throwing exception to jump out. What does "then the search moves on to the next leaf" mean ? 在 2017-08-18 03:46:02,"Tod Olson" 写道: Hi everyone, I'm modifying an existing application, which uses a Lucene SimpleCollector to return document ids and some

how to speed up the Scorer

2017-08-17 Thread wu...@mxtrip.cn
hi~ I have some problems when I use the Lucene. - To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org

How to limit SimpleCollector at N documents?

2017-08-17 Thread Tod Olson
Hi everyone, I'm modifying an existing application, which uses a Lucene SimpleCollector to return document ids and some other fields from a search. For various reasons, we now want to place an upper bound on the number of documents actually collected. Is there a reasonable way to put a limit o