Hi,

The fq one is a FilterQuery that only does matching, but not scoring. It's
results are stored in the filter cache, while the q uses the query cache.

Otis
--
SOLR Performance Monitoring - http://sematext.com/spm/index.html





On Mon, Dec 10, 2012 at 10:11 PM, Floyd Wu <floyd...@gmail.com> wrote:

> Hi There,
> Sorry for sapmming if this question had already asked.
>
> Wha't the main difference between
>
> q=fieldA:value AND fieldB:value
>
> q=fieldA:value&fq=fieldB:value
>
> both query will give me the same result, I wonder what's the main
> difference and in practice what the better way?
>
> Thanks in advance
>
> Floyd
>

Reply via email to