ch( query, null, myCollector);
This also fails to return my document(s).
Am I doing something wrong here? Have I misunderstood how this is supposed to
work? Has anyone else had problems like this?
Thanks for any help or guidance or tips you can give me,
-Daniel Sanders
lusive == false, then max is decremented.
So my query:
NumericRangeQuery.newLongRange("timestamp",8,timeX-1,timeX,false,true)
is essentially equivalent to the query you suggest trying:
NumericRangeQuery.newLongRange("timestamp",8,timeX,timeX,true,true)
right?
I'm certain the timestamp field is being indexed. It is created as follows:
Document doc = new Document();
NumericField timeField = new NumericField("timestamp", 8); // Defaults to
indexing = true.
timeField.setLongValue( timeX);
doc.add( timeField);
...
indexWriter.a