lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jamie Johnson <jej2...@gmail.com>
Subject Re: Dismax + spatial constraints
Date Tue, 24 May 2011 14:58:27 GMT
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. <dsmiley@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?
>
>
>
>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message