Re: Storing Json field in Lucene

2020-04-21 Thread Aditya Varun Chadha
during indexing, you can add the json string to a stored-only field (not indexed, not doc-values) to each document. at query time you can then retrieve the json field's value only for the top K results. this field should not be used for matching or scoring. the point is that if you do ever want t

Storing Json field in Lucene

2020-04-21 Thread ganesh m
Hi I am currently storing indexed field and stored field in separate database. In stored field database, Document Id, Type and Json string of metadata will be stored. Basically i am using it as key-value pair database. For every document to be indexed, we have three different metadata structure