Re: solr-4.3.1 docValues usage

2016-02-17 Thread Neeraj Lajpal
Can someone please help me with this? I am stuck for past few days. > On 15-Feb-2016, at 6:39 PM, Neeraj Lajpal wrote: > > Hi, > > I recently asked this question on stackoverflow: > > I am trying to access a field in custom request handler. I am accessing it > like this for each document: >

Re: solr-4.3.1 docValues usage

2016-02-15 Thread Mikhail Khludnev
Hello Neeraj, Check slide 23 and overall http://www.slideshare.net/lucenerevolution/what-is-inaluceneagrandfinal On Mon, Feb 15, 2016 at 4:09 PM, Neeraj Lajpal wrote: > Hi, > I recently asked this question on stackoverflow: > I am trying to access a field in custom request handler. I am access

Re: solr-4.3.1 docValues usage

2016-02-15 Thread Emir Arnautovic
Sorry - replied to wrong thread :( On 15.02.2016 15:17, Emir Arnautovic wrote: Hi, Not sure how ordering will help (maybe missing question) but what seems to me that would help your case is simple boosting. See https://wiki.apache.org/solr/SolrRelevancyFAQ#How_can_I_make_.22superman.22_in_the

Re: solr-4.3.1 docValues usage

2016-02-15 Thread Emir Arnautovic
Hi, Not sure how ordering will help (maybe missing question) but what seems to me that would help your case is simple boosting. See https://wiki.apache.org/solr/SolrRelevancyFAQ#How_can_I_make_.22superman.22_in_the_title_field_score_higher_than_in_the_subject_field Regards, Emir On 15.02.201

Re: solr-4.3.1 docValues usage

2016-02-15 Thread Binoy Dalal
DocValues has nothing to do with your handler. It is a field property. To use it simply put docValues=true in your field definitions and reindex. On Mon, 15 Feb 2016, 18:40 Neeraj Lajpal wrote: > Hi, > I recently asked this question on stackoverflow: > I am trying to access a field in custom req

solr-4.3.1 docValues usage

2016-02-15 Thread Neeraj Lajpal
Hi, I recently asked this question on stackoverflow: I am trying to access a field in custom request handler. I am accessing it like this for each document: Document doc;doc = reader.document(id);DocFields = doc.getValues("state");There are around 600,000 documents in the solr. For a query runnin