File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
extensions/indexes/range/src/main/java/org/exist/indexing/range Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -477,7 +477,7 @@ private void write() {
477477
478478 // docId are stored as doc value
479479 IntPoint fDocId = new IntPoint (FIELD_DOC_ID , 0 );
480- StoredField fDocIdIdx = new StoredField (FIELD_DOC_ID , 0 );
480+ NumericDocValuesField fDocIdIdx = new NumericDocValuesField (FIELD_DOC_ID , 0 );
481481
482482 //TODO - Should we change this to StoredField or to Point?
483483 BinaryDocValuesField fNodeId = new BinaryDocValuesField (FIELD_NODE_ID , new BytesRef (8 ));
@@ -490,7 +490,7 @@ private void write() {
490490 fDocId .setIntValue (currentDoc .getDocId ());
491491 doc .add (fDocId );
492492
493- fDocIdIdx .setIntValue (currentDoc .getDocId ());
493+ fDocIdIdx .setLongValue (currentDoc .getDocId ());
494494 doc .add (fDocIdIdx );
495495
496496 // store the node id
You can’t perform that action at this time.
0 commit comments