Details
-
Improvement
-
Status: Done
-
Minor
-
Resolution: Done
-
None
-
None
-
None
Description
GlobalIndex supports field data types such as Numeric to enable Range Query.
The provided GlobalIndex expects all stored fields as String values.
For the above reason, even if the property type of the vertex/edge is Numeric, the following Range Query can not be performed.
age: [50 TO 100]
Change it to support it.
The 'lucene' being implemented as a reference supports the field types listed below.
{TextField}: {@link Reader} or {@link String} indexed for full-text search {StringField}: {@link String} indexed verbatim as a single token {IntPoint}: {@code int} indexed for exact/range queries. {LongPoint}: {@code long} indexed for exact/range queries. {FloatPoint}: {@code float} indexed for exact/range queries. {DoublePoint}: {@code double} indexed for exact/range queries. {SortedDocValuesField}: {@code byte[]} indexed column-wise for sorting/faceting {SortedSetDocValuesField}: {@code SortedSet<byte[]>} indexed column-wise for sorting/faceting {NumericDocValuesField}: {@code long} indexed column-wise for sorting/faceting {SortedNumericDocValuesField}: {@code SortedSet<long>} indexed column-wise for sorting/faceting {StoredField}: Stored-only value for retrieving in summary results
Attachments
Issue Links
- links to