I found a tiny notice about just using quotes; tried it in the admin
query console and it works. e.g. label:"car house" would fetch any
document for which the label field contained that phrase.

Jack

On Fri, Mar 1, 2013 at 9:17 AM, Shawn Heisey <s...@elyograg.org> wrote:
> On 3/1/2013 8:50 AM, vsl wrote:
>>
>> I would like to send query like "car house". My expectation is to have
>> resulting documents that contains both car and house. Unfortunately Apache
>> Solr out of the box returns documents as if the whitespace between was
>> treated as OR. Does anybody know how to fix this?
>
>
> Three solutions come to mind: 1) Set the q.op parameter to AND.  2) Send
> "car AND house" instead, or "+car +house".  3) Use the edismax query parser
> (defType=edismax) and set the mm parameter to 100%.  The wiki should have
> info on all these.
>
> Thanks,
> Shawn
>

Reply via email to