You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by William Bell <bi...@gmail.com> on 2012/03/08 04:44:46 UTC

bbox and geofilt question

Here is a performance question for you...

I want to be able to return results < 160 km from Denver, CO. We have
run some performance numbers and we know what
doing bbox is MUCH faster than geofilt.

However we want to order the queries and run bbox AND then run geofilt
on those results, OR we can do a frange.

The question is: How do you force the results to come back with bbox first ?

http://localhost/solr/select?q=*:*&pt=45,-89&d=160&facet.true&facet.query={!bbox}
AND {!frange l=0 u=160}geodist()

That does not work.

http://localhost/solr/select?q=*:*&pt=45,-89&d=160&facet=true&facet.query={!bbox}
AND {!geofilt}

What else can I try? This only seems to apply one of the queries (the
first one):

http://localhost/solr/select?q=*:*&pt=45,-89&d=160&facet=true&facet.query=_query_:"{!bbox}"
AND _query_:"{!geofilt}"

I also qas thinking query() might work?

Can I use cache=true and cost=10,100 to order this? HELP!!



-- 
Bill Bell
billnbell@gmail.com
cell 720-256-8076