lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kumaran Ramasubramanian <>
Subject Sorting, Range Query, faceting - NumericDocValuesField Vs LongField
Date Thu, 22 Dec 2016 17:50:35 GMT
Hi All,

I want to provide sorting, range search and faceting in numeric fields.

AFAIK, Purpose of different numeric field types are,

NumericDocValuesField supports sorting and faceting
LongField/IntField supports range query and sorting

1. Should i duplicate one field in above mentioned types to achieve all the
three features in numeric?
2. If i am ready to sacrifice faceting, is it advisable to use LongField
for sorting and range query?
3. During sorting, Will NumericDocValuesField( column stride storage)
perform better than LongField(trie structure)? If so , should i duplicate
field in both 1 and 2 cases?

Kumaran R

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