Ahh I see, for this use case you should just subclass DrillSideways
and override the buildFacetResult method? That method gets the drill
down and all sideways collectors...
Mike McCandless
http://blog.mikemccandless.com
On Wed, Jul 9, 2014 at 1:40 AM, Jigar Shah wrote:
> Usecase:
>
> With bel
Hello,
Can anyone help me with an example of using PostingsHighlighter in
Lucene 4.7. I am trying to modify SearchFiles.java (which can be found in
the demo directory) so that it would display not only which documents
contains the terms I was searching for, but also the entire sentences where
It's more likely to be a demonstration that concurrent programming is
hard, results often hard to predict and debugging very hard.
Or perhaps you simply need to add acceptsDocsOutOfOrder() to your
collector, returning false.
Either way, hard to see any evidence of a thread-safety problem in lucen
Thanks answer Ian
I more check this problem..(Lucene 4.8.1)
1. acceptsDocsOutOfOrder() return false
==> ineffective
2. acceptsDocsOutOfOrder() return true
==> ineffective
3. ConncurrentLinkedQueue add() and poll() methods check value in
multi-thread
==> the queue is no problem.
4.
: 4. Syncronized searcher.doc method call in multi-thread(like this: public
: synchronized Document getValue( IndexSearcher searcher, int docId ) {
: return searcher.doc( docId ); })
: ==> every execution is same.
:but If I use this method, It is no difference with single thread
: