Yes. "fq" (filter queries) are independent of the user's query in "q".

On May 24, 2011, at 10:58 AM, Jamie Johnson wrote:

> ok, so anything that goes in q would then be used for dismax but anything
> else could go into fq (or multiple fqs) to apply different criteria in
> addition then correct?
> 
> On Tue, May 24, 2011 at 9:43 AM, Smiley, David W. <dsmi...@mitre.org> wrote:
> 
>> Hi Jamie.
>> 
>> You can definitely use dismax & geospatial; these are unrelated.  Use
>> defType=dismax to get dismax and then use an appropriate geospatial filter
>> like fq={!bbox}&sfield=store&pt=45.15,-93.85&d=5
>> 
>> For temporal based constraints, add a temporal filter query:
>> fq=timestamp:[NOW-1MONTH TO NOW]
>> 
>> ~ David Smiley
>> Author: http://www.packtpub.com/solr-1-4-enterprise-search-server/
>> 
>> On May 24, 2011, at 7:09 AM, Jamie Johnson wrote:
>> 
>>> Is there a way to use dismax and spatial constraints?  I haven't seen how
>> to
>>> do this in the docs and only have seen a handful of questions on it.  I
>> have
>>> the same question for temporal based constraints.  What would a
>> solrconfig
>>> for this look like?
>> 
>> 
>> 
>> 
>> 
>> 

Reply via email to