On Mar 5, 2009, at 8:31 AM, dabboo wrote:
I am implementing column specific search with q query parameter. I
have
achieved the same but field boosting is not working in that.
Below is the query which is getting formed for this URL:
/?q=productURL_s:amit%20OR
%20prdMainTitle_s:amitg
&version=2.2&start=0&rows=10&indent=on&qt=dismaxrequest
Query:
productURL_s:amit prdMainTitle_s:amitg
It is fetching the records, which mataches this criteria but it doesnt
honour the field boosting.
Can someone please tell me what query should be formed in order to
get field
boosting running.
Amit - it seems we keep revisiting the same question about q/q.alt/
dismax.
Please provide complete details - what does your dismaxrequest handler
config look like? What does debugQuery=true parsed query output say?
If you're using the dismax parser, your field selections aren't going
to work, nor is the OR syntax. For details, look at the dismax and
solr query parser pages on the Solr wiki and that'll hopefully clarify
some things.
Erik