Cheers Hoss. That did it for me.

~~Sent by an Android
On 29 Oct 2010 00:39, "Chris Hostetter" <hossman_luc...@fucit.org> wrote:
>
> The specifics of your overall goal confuse me a bit, but drilling down to
> your core question...
>
> : I want to be able to use the dismax parser to search on both terms
> : (assigning slops and tie breaks). I take it the 'fq' is a candidate for
> : this,but can I add dismax capabilities to fq as well? Also my query
would be
>
> ...you can use any parser you want for fq, using the localparams syntax...
>
> http://wiki.apache.org/solr/LocalParams
>
> ..so you could have something like...
>
> q=foo:bar&fq={!dismax qf='yak zak'}baz
>
> ..the one thing you have to watch out for when using localparams and
> dismax is that the outer params are inherited by the inner params by
> default -- so if you are using dismax for your main query 'q' (with
> defType) and you have global params for qf, pf, bq, etc... those are
> inherited by your fq={!dismax} query unless you override them with local
> params
>
>
> -Hoss

Reply via email to