Re: Exception when attempting to query using ToParentBlockJoinQuery in Lucene 5.1

2015-06-29 Thread Bauer, Herbert S. (Scott)
I’m able to define this problem with a more discrete example including the two classes below. This suggests a bug and unless someone has clearer direction on this implementation I’m planning to file it as one. package org.lexevs.lucene.prototype; import java.io.IOException; import java.nio.file

Re: Lucene 5: Query and Filter merger

2015-06-29 Thread Adrien Grand
On Sun, Jun 28, 2015 at 1:30 AM, Selva Kumar wrote: > it appears 4.x Filter and our custom implementation inherited Object's > hashcode and equals method. Obviously, this worked for us so far. Logical > equality might not be important in this case and likely to be expensive > given the nature of t

Re: Lucene 5: Wrapping Collector

2015-06-29 Thread András Péteri
Hi, IndexSearcher.search(Query, Collector) will iterate through all segments of the index, call getLeafCollector, and use the returned LeafCollector to collect result documents from that segment [1]. As LeafCollector's javadoc describes [2], there are cases when you want to take into account prec