Re: Tracking that all query terms are matched in one document

2017-12-13 Thread Mikhail Khludnev
There are two algorithm for scoring disjunction: term-a-time, doc-at-time. The former was called BooleanScorer and the later was called BooleanScorer2. I remember that they was drastically renamed and/or replaced with BulkScorer or so. Anyway, you need to find a way to prevent term-at-time

Re: Tracking that all query terms are matched in one document

2017-12-13 Thread Vadim Gindin
Hi Michael, I've tried to implement such case but faced with the following problem. I recall, that my Query is combined with several ConstantScoreQuery with BooleanQuery. I wrote custom Collector as follows: @Override public void setScorer(Scorer scorer) throws IOException { this.scorer =