bq: Whats is the difference between q and fq other than cache

Very little from a functional standpoint. I.e.
q=abc AND def
and
q=abc&fq=def

return the same set of results. The differences are
1> the fq clause can be cached efficiently
2> the terms in the fq clause don't contribute to the score of the document.

In terms of the requirements for how the fields are added to the index
(i.e. index="true") there's
no difference.

Best
Erick

On Thu, May 23, 2013 at 12:21 PM, Raymond Wiker <rwi...@gmail.com> wrote:
> On May 23, 2013, at 14:25 , gpssolr2020 <psgoms...@gmail.com> wrote:
>> Thanks Erick..
>>
>>
>> i  hope we cant do q also on non-indexed field.
>>
>> Whats is the difference between q and fq other than cache .
>>
>>
>>
>> Thanks.
>
>
> How do you expect to search on a field that is non-indexed (and thus 
> non-searchable)?

Reply via email to