Yes, definitely, fq parameters don't affect scoring and can be cached.

Michael Della Bitta

Applications Developer

o: +1 646 532 3062  | c: +1 917 477 7906

appinions inc.

“The Science of Influence Marketing”

18 East 41st Street

New York, NY 10017

t: @appinions <https://twitter.com/Appinions> | g+:
plus.google.com/appinions
w: appinions.com <http://www.appinions.com/>


On Wed, Jun 19, 2013 at 4:27 PM, Learner <bbar...@gmail.com> wrote:

> Hi,
>
> I am currently using the below configuration in one of my handler and I was
> thinking of removing the values from q parameter and including as a part of
> fq parameter.
>
> Can someone let me know if there is any performance improvement when using
> fq parameter compared to q?
>
>   <str name="q">
>         (
>           _query_:"{!dismax qf=person_name_lname_i v=$fps_lname}"^8.3 OR
>         )
>
>       </str>
>     </lst>
>       <lst name="appends">
>           <str name="fq">{!switch case='*:*' default=$fq_bbox
> v=$fps_latlong}</str>
>       </lst>
>       <lst name="invariants">
>           <str name="fq_bbox">_query_:"{!bbox pt=$fps_latlong sfield=geo
> d=$fps_dist}"^0.2</str>
>       </lst>
>
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/fq-vs-q-parameter-tp4071748.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

Reply via email to