kirsty wrote:
> 
> Hi there,
> I am struggling with the syntax for boosting.
> My scenario is that we have an algorithm that gives weightings to
> particular keywords. 
> When a person searches for keywords eg value1 value2 value3 we want to
> apply boosting so that a document is boosted according to which of the
> keywords it has.
> eg of url : q=value1^4.0 OR value2^2.0 OR value3
> However this is not working. I tried bq eg:
> qt=KeywordSearch&bq=keyword:value1^4.0 OR value2^2.0 but I just don't seem
> to be getting the results I am looking for. 
> I have a requesthandler set up to just search on our Keyword column which
> is a multivalued field. I am using a nightly build of SOLR 1.4 from
> September 2009.
> Can anyone help me with the correct syntax?? Please?
> Thanks in advance
> Kirsty
> 

UPDATE: 
I have managed to get this syntax working
select/?qt=KeywordSearch&q=greenpoint&bq=Keyword:work^1.5&bq=Keyword:Pigalle^1.2
But this just seems quite cumbersome having to specify a bq each time. Also
I cannot get more than one q= to work.

-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/Help-with-query-boosting-syntax-tp847398p847444.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to