lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cam Bazz <camb...@gmail.com>
Subject indexing array fields
Date Sun, 04 Sep 2016 01:21:13 GMT
Hello,

I need to index arrays of long, usually of long[20], 20 in length.
Its been a while since I worked with lucene, last time was probably <
version 3.

I read
https://lucene.apache.org/core/6_2_0/core/org/apache/lucene/document/Field.html

There are SortedDocValuesField and SortedSetDocValuesField classes, which
to accept a byte array. I could attempt chop the long fields into a byte
array, and index that.

Also what is the difference between NumericDocValuesField, and
SortedNumericDocValuesField?

Best regards,

-cam

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message