On Wed, Dec 12, 2012 at 3:04 AM, Ian Lea wrote:
> The javadoc for SpanFirstQuery says it is a special case of
> SpanPositionRangeQuery so maybe you can use the latter directly,
> although you might need to know the position of the last term which
> might be a problem.
>
> Alternatives might includ
How are you constructing your SortField at query time?
Are you sure you are using SortField.Type.LONG ?
Can you show us some minimally self contained reproducible code
demonstrating your problem? (ie: create an index with 2 docs, then do
a simple serach for both and sort them and show that th
Hello,
With Lucene 6.1.0, I'm trying to search sorting the results by a long
column. This is my indexing code:
doc.add(new LongPoint(name, Long.parseLong(value)));
doc.add(new StoredField(name, value));
doc.add(new NumericDocValuesField(SORT_FIELD_PREFIX + name,
Long.parseLong(val