Based on a quick look at the documentation, I think that you should use termPositions=true to achieve what you want.
On Tue, 16 Feb 2016, 16:08 Nitin.K <nitin.kanu...@adi-mps.com> wrote: > Hi Emir, > > I tried using the boost parameters for phrase search by removing the > omitTermFreqAndPositions from the multivalued field type but somehow while > searching phrases; the documents that have exact match are not coming up in > the order. Instead; in the content field, it is considering the mutual > count > of both the terms and based on that, its deciding the order. > > kindly let me know, how can i first search the phrase and then go to the > individual words (i.e word-1 AND word-2) > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/SOLR-ranking-tp4257367p4257556.html > Sent from the Solr - User mailing list archive at Nabble.com. > -- Regards, Binoy Dalal