On Mon, Feb 13, 2012 at 11:17 PM, <spr...@gmx.eu> wrote:

> Hi,
>
> how efficent is such an query:
>
> q=some text
> fq=id:(1 OR 2 OR 3...)
>
> Should I better use q:some text AND id:(1 OR 2 OR 3...)?
>
1. These two opts have the different scoring.
2. if you hit same fq=id:(1 OR 2 OR 3...) many times you have a benefit due
to reading docset from heap instead of searching on disk.


>
> Is the Filter Cache used for the OR'ed fq?
>
Filter cache is used for whatever filter. I guess I didn't get you. Can't
you rephrase your question?


>
> Thank you
>
>


-- 
Sincerely yours
Mikhail Khludnev
Lucid Certified
Apache Lucene/Solr Developer
Grid Dynamics

<http://www.griddynamics.com>
 <mkhlud...@griddynamics.com>

Reply via email to