Re: Why we need org.apache.lucene.codecs.Codec

2016-08-04 Thread Aravinth T
I understand that, my question is different why we are loading it with SPI, why we explicitly controlling the loading of Codecs On Thu, 04 Aug 2016 20:39:46 +0530 Greg Bowyer wrote Codecs are loaded with the java service loader interface. That file is

Getting DocValues by Doc ID

2016-04-20 Thread Aravinth T
I'm trying to retrieve the DocValues for a Field only by giving the Doc ID previous approach i had was getting the AtomicReader & Doc ID set then Iterating through the doc values it seems bit slower Is there any quicker way in lucene ??

Combining many field as JSON and made it into a single field - Performance

2016-04-18 Thread Aravinth T
I tried to combine multiple different fields (Stored Fields) into a JSON object and added in to lucene document as single field I get a better performance while reading the field from the index. though constructing the JSON requires additional time, It still retrieve the data faster What i