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

Re: Storing and retrieving Java objects in Lucene

2018-02-19 Thread ganesh m
Hi Santosh >>Furthermore converting the Lucene Documents to Java object and vice- versa is a tedious task. This should not be tedious, how big your document is? One suggestion is to convert your Java object to JSON and store it in Lucene. You need to retrieve one field and you can easily con

Re: Concurrent Execution Exception

2013-02-14 Thread Ganesh M
type. This is working fine for most of the customers and till now i didn't faced any issue.   While creating SortField, do i need to pass Default Int parser? I guess, currently it is using encoded int parser.   Regards Ganesh From: Uwe Schindler To: java-user@lucene.apache.org; &#

Concurrent Execution Exception

2013-02-14 Thread Ganesh M
Could any one throw light on this. Im using Lucene 3.0.3. I am having multiple shards and using ParallelMultiSearcher to search across shards.   Exception: java.util.concurrent.ExecutionException: java.lang.NumberFormatException: Invalid shift value in prefixCoded string (is encoded value reall