[ https://issues.apache.org/jira/browse/S2GRAPH-209?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16449186#comment-16449186 ]
ASF GitHub Bot commented on S2GRAPH-209: ---------------------------------------- Github user asfgit closed the pull request at: https://github.com/apache/incubator-s2graph/pull/160 > GlobalIndex supports field data types such as Numeric to enable Range Query. > ---------------------------------------------------------------------------- > > Key: S2GRAPH-209 > URL: https://issues.apache.org/jira/browse/S2GRAPH-209 > Project: S2Graph > Issue Type: Improvement > Components: s2core > Reporter: Daewon Jeong > Assignee: Daewon Jeong > Priority: Minor > > h1. 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. > {noformat} > age: [50 TO 100] > {noformat} > > Change it to support it. > The 'lucene' being implemented as a reference supports the field types listed > below. > {noformat} > {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 > {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)