Hello,
We are using Lucene 6.4.2 with a file-based index, Oracle JDK 1.8.0_121,
Windows 10.
We found that the following steps generate unrecoverable error (we have to
restart our JVM in order to resume normal work which is not acceptable):
1. Create an index directory, open IndexWriter, gene
Doc values (your option 3) is the right way to sort by time. Index it with
whatever precision you need, e.g. msec since epoch as a long
NumericDocValuesField.
Mike McCandless
http://blog.mikemccandless.com
On Mon, Mar 13, 2017 at 9:53 AM, aravinth thangasami <
aravinththangas...@gmail.com> wrot
I am indexing a time field. I need to get the latest results and my index
contains millions of documents with frequent updates almost 90% of the
index updates.
option 1:
To index the time as string
option 2:
To index the time field as Number
option 3:
To index the time field as DocValue
Wh
The exception in my case is related to one index field. The field is string
type, indexed, tokenized and stored, index option
is docsAndFreqsAndPositionsAndOffsets.
Each doc may index this field more than one times. For example doc 0 may
index it 3 times, 1st value is "A B C", 2nd is "D E F",3rd