100
: From: Jaime
: Reply-To: java-user@lucene.apache.org
: To: java-user@lucene.apache.org
: Subject: Problem sorting long integers
:
: 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.
apache.org
: Subject: Problem sorting long integers
:
: 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));
:
the order is wrong)
: Date: Tue, 13 Dec 2016 18:30:09 +0100
: From: Jaime
: Reply-To: java-user@lucene.apache.org
: To: java-user@lucene.apache.org
: Subject: Problem sorting long integers
:
: Hello,
:
: With Lucene 6.1.0, I'm trying to search sorting the results by a long column.
: This
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