Hi,

did you have a look at the query()-function mentioned in the Wiki?
It sounds like something you should give a try!

Regards,
Em


Bill Bell wrote:
> 
> I know that the _val_ is the only thing influencing the score.
> 
> The fq is just to limit also by those queries.
> 
> What I am asking is if it is possible to just influence the score using
> _val_ but not in the Q parameter?
> 
> Something like bq=val_:"{!type=dismax qf=$qqf  v=$qspec}"
> _val_:"{!type=dismax
> qt=dismaxname v=$qname}"
> 
> 
> Is there something like that?
> 
> On 4/21/11 2:45 AM, "Em" <mailformailingli...@yahoo.de> wrote:
> 
>>Hi,
>>
>>I agree with Yonik here - I do not understand what you would like to do as
>>well.
>>But some additional note from my side:
>>Your FQs never influences the score! Of course you can specify the same
>>query twice, once as a filter - query and once as a regular query but I do
>>not see the reason to do so. It sounds like unnecessary effort without a
>>win. 
>>
>>Regards,
>>Em 
>>
>>
>>Bill Bell wrote:
>>> 
>>> I would like to influence the score but I would rather not mess with the
>>> q=
>>> field since I want the query to dismax for Q.
>>> 
>>> Something like:
>>> 
>>> fq={!type=dismax qf=$qqf v=$qspec}&
>>> fq={!type=dismax qt=dismaxname v=$qname}&
>>> q=_val_:"{!type=dismax qf=$qqf  v=$qspec}" _val_:"{!type=dismax
>>> qt=dismaxname v=$qname}"
>>> 
>>> Is there a way to do a filter and add the FQ to the score by doing it
>>> another way? 
>>> 
>>> Also does this do multiple queries? Is this the right way to do it?
>>> 
>>
>>
>>--
>>View this message in context:
>>http://lucene.472066.n3.nabble.com/How-to-return-score-without-using-val-t
>>p2841443p2846317.html
>>Sent from the Solr - User mailing list archive at Nabble.com.
> 


--
View this message in context: 
http://lucene.472066.n3.nabble.com/How-to-return-score-without-using-val-tp2841443p2850979.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to