Re: Sorting solr search results using multiple fields

2013-05-22 Thread Rohan Thakur
k thanks gora that what I was thinking but thought I should ask as there might be some solution in solr it self...the last option fine I would go with that only. thanks rohan On Thu, May 23, 2013 at 9:13 AM, Gora Mohanty wrote: > On 22 May 2013 19:37, Rohan Thakur wrote: > [...] > > this in

Re: Sorting solr search results using multiple fields

2013-05-22 Thread Gora Mohanty
On 22 May 2013 19:37, Rohan Thakur wrote: [...] > this inital_boost is basically copy field of autosug but saved using > different analysers taking whole sentence as single token and generating > edge ngrams so that what I search on this field only term matching from > first will match...and for

Re: Sorting solr search results using multiple fields

2013-05-22 Thread Rohan Thakur
thanks gora I got that one more thing what actually I have done is made document consisting of fields: { "autosug":"galaxy", "query_id":1414, "pop":168, "initial_boost":"galaxy" "_version_":1435669695565922305, "score":1.8908522} this inital_boost i

Re: Sorting solr search results using multiple fields

2013-05-22 Thread Gora Mohanty
On 22 May 2013 18:26, Rohan Thakur wrote: > hi all > > I wanted to know is there a way I can sort the my documents based on 3 > fields > I have fields like pop(which is basically frequency of the term searched > history) and autosug(auto suggested words) and initial_boost(copy field of > autosug s

Sorting solr search results using multiple fields

2013-05-22 Thread Rohan Thakur
hi all I wanted to know is there a way I can sort the my documents based on 3 fields I have fields like pop(which is basically frequency of the term searched history) and autosug(auto suggested words) and initial_boost(copy field of autosug such that only match with initial term match having whole