Re: Issue with range queries on Lucene 6.6 using IntPoint

2017-07-01 Thread Michael McCandless
I think there is a bug in your collector, because the "int doc" that is passed to the collect method is per-segment, but you are passing it to the top-level reader. You should override the setNextReader method in Collector, and hold onto the "int docBase" that's passed in that LeafReaderContext, t

Issue with range queries on Lucene 6.6 using IntPoint

2017-07-01 Thread Alexander Filipchik
Not sure if I'm doi9ng something wrong, or there is a bug somewhere but: I was trying to create a test index of a lot every second in a year and try query it (doesn't have to be time, I'm using it to explain the problem). Example document consists of 7 fields: document.add(new IntPoint("year", y

Issue with range queries on Lucene 6.6 using IntPoint

2017-06-30 Thread Alexander Filipchik
Not sure if I'm doi9ng something wrong, or there is a bug somewhere but: I was trying to create a test index of a lot every second in a year and try query it (doesn't have to be time, I'm using it to explain the problem). Example document consists of 7 fields: document.add(new IntPoint("year", y