lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rebecca Watson <bec.wat...@gmail.com>
Subject Re: fq= "more then one" ?
Date Mon, 12 Jul 2010 09:21:02 GMT
oops - i thought you couldn't put more than one - ignore my answer then :)

On 12 July 2010 17:20, Rebecca Watson <bec.watson@gmail.com> wrote:
> hi,
>
> you shouldn't have two fq parameters -- some solr params work like
> that, but fq doesn't
>
>> http://172.20.1.33:8983/solr/select/?q=*:*&start=0&fq=EMAIL_HEADER_FROM:test@mail.de&fq=EMAIL_HEADER_TO:test@mail.de
>
> you need to combine it into a single param i.e. try putting it as an
> "OR" or "AND" if you're using the standard request handler:
>
> fq=EMAIL_HEADER_FROM:test@mail.de%20OR%20EMAIL_HEADER_TO:test@mail.de
>
> or put something like + if you're using dismax (i think but i don't use it :) )
>
> hope that helps,
>
> bec :)
>

Mime
View raw message