fq is filter-query, search based on category, timestamp, language etc. but I dont see any performance improvement if use 'keyword' in fq.
useCases : fq=lang:English&q=camera AND digital OR fq=time:[13023567 TO 13023900]&q=camera AND digital On 19 June 2011 20:17, Jamie Johnson <jej2...@gmail.com> wrote: > Are there any hard and fast rules about when touse fq vs adding to the > query? For instance if I started with a search of > camera > > then wanted to add another keyword say digital, is it better to do > > q=camera AND digital > > or > > q=camera&fq=digital > > I know that fq isn't taken into account when doing highlighting, so what I > am currently doing is when there are facet based queries I am doing fqs but > everything else is being added to the query, so in the case above I would > have done q=camera AND digital. If however there was a field called > category with values standard or digital I would have done > q=camera&fq=category:digital. Any guidance would be appreciated. > -- Thanks and Regards Mohammad Shariq