lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rajnish kamboj <rajnishk7.i...@gmail.com>
Subject Storage of indexed and stored fields (Space and Performance)
Date Thu, 15 Mar 2018 13:48:52 GMT
Hi



How are indexed and stored fields treated by Lucene w.r.t space and
performance?

Is there any performance hit with stored fields which are indexed?



Lucene Version: 5.3.1



Assumption:

Stored fields are just simple strings (not huge documents)



Example:

Data: [101, Gold]; [102, Silver]; [103, Gold]

Additional Data: Stored and indexed as well: Partition1, Partition2,
Schema1, Version1 etc. depending on data



Index:

Gold: 101 (Partition1, Schema1, Version1) , 103 (Partition2, Schema1,
Version1)

Silver: 102 (Partition1, Schema1, Version1)

Partition1: 101 (Partition1, Schema1, Version1), 102 (Partition1, Schema1,
Version1)

Partition2: 103 (Partition1, Schema1, Version1)

Schema1: 101 (Partition1, Schema1, Version1), 102 (Partition1, Schema1,
Version1), 103 (Partition1, Schema1, Version1)

Version1: 101 (Partition1, Schema1, Version1), 102 (Partition1, Schema1,
Version1), 103 (Partition1, Schema1, Version1)




Is it how the index will look like? i.e. stored fields will be replicated
with each data field?





Thanks & Regards

Rajnish

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