It's worth to mention that fq is profitable only if you have high hit ratio
and proper filterCache size. If you see low hit ratio you just waste
resources on it.
11.12.2012 8:24 пользователь "Otis Gospodnetic" <otis.gospodne...@gmail.com>
написал:

> If you don't need scoring on it then yes, just use fq.
>
> Otis
> --
> SOLR Performance Monitoring - http://sematext.com/spm/index.html
>
>
>
>
>
> On Mon, Dec 10, 2012 at 10:34 PM, Floyd Wu <floyd...@gmail.com> wrote:
>
> > Thanks Otis.
> >
> > When talked about query performance(ignore scoring). To use fq is better?
> >
> > Floyd
> >
> >
> > 2012/12/11 Otis Gospodnetic <otis.gospodne...@gmail.com>
> >
> > > 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