Re: Easier way to do this?

2013-04-13 Thread David Smiley (@MITRE.org)
Good question.  With geofilt it's kilometers.



-
 Author: http://www.packtpub.com/apache-solr-3-enterprise-search-server/book
--
View this message in context: 
http://lucene.472066.n3.nabble.com/Easier-way-to-do-this-tp4055474p4055784.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Easier way to do this?

2013-04-13 Thread William Bell
OK, is d in degrees or miles?


On Fri, Apr 12, 2013 at 10:20 PM, David Smiley (@MITRE.org) <
dsmi...@mitre.org> wrote:

> Bill,
>
> I responded to the issue you created about this:
> https://issues.apache.org/jira/browse/SOLR-4704
>
> In summary, use {!geofilt}.
>
> ~ David
>
>
> Billnbell wrote
> > I would love for the SOLR spatial 4 to support pt so that I can run # of
> > results around a central point easily like in 3.6. How can I pass
> > parameters to a Circle() ? I would love to send PT to this query since
> the
> > pt is the same across multiple areas
> >
> > For example:
> >
> >
> http://localhost:8983/solr/core/select?rows=0&q=*:*&facet=true&facet.query={
> !
> >
> key=.5}store_geohash:%22Intersects(Circle(26.012156,-80.311943%20d=.0072369))%22&facet.query={!
> >
> key=1}store_geohash:%22Intersects(Circle(26.012156,-80.311943%20d=.01447))%22&facet.query={!
> >
> key=5}store_geohash:%22Intersects(Circle(26.012156,-80.311943%20d=.0723))%22&facet.query={!
> >
> key=10}store_geohash:%22Intersects(Circle(26.012156,-80.311943%20d=.1447))%22&{!
> >
> key=25}facet.query=store_geohash:%22Intersects(Circle(26.012156,-80.311943%20d=.361846))%22&facet.query={!
> >
> key=50}store_geohash:%22Intersects(Circle(26.012156,-80.311943%20d=.72369))%22&facet.query={!
> >
> key=100}store_geohash:%22Intersects(Circle(26.012156,-80.311943%20d=1.447))%22
>
>
>
>
>
> -
>  Author:
> http://www.packtpub.com/apache-solr-3-enterprise-search-server/book
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Easier-way-to-do-this-tp4055474p4055732.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>



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


Re: Easier way to do this?

2013-04-12 Thread David Smiley (@MITRE.org)
Bill,

I responded to the issue you created about this: 
https://issues.apache.org/jira/browse/SOLR-4704

In summary, use {!geofilt}.

~ David


Billnbell wrote
> I would love for the SOLR spatial 4 to support pt so that I can run # of
> results around a central point easily like in 3.6. How can I pass
> parameters to a Circle() ? I would love to send PT to this query since the
> pt is the same across multiple areas
> 
> For example:
> 
> http://localhost:8983/solr/core/select?rows=0&q=*:*&facet=true&facet.query={!
> key=.5}store_geohash:%22Intersects(Circle(26.012156,-80.311943%20d=.0072369))%22&facet.query={!
> key=1}store_geohash:%22Intersects(Circle(26.012156,-80.311943%20d=.01447))%22&facet.query={!
> key=5}store_geohash:%22Intersects(Circle(26.012156,-80.311943%20d=.0723))%22&facet.query={!
> key=10}store_geohash:%22Intersects(Circle(26.012156,-80.311943%20d=.1447))%22&{!
> key=25}facet.query=store_geohash:%22Intersects(Circle(26.012156,-80.311943%20d=.361846))%22&facet.query={!
> key=50}store_geohash:%22Intersects(Circle(26.012156,-80.311943%20d=.72369))%22&facet.query={!
> key=100}store_geohash:%22Intersects(Circle(26.012156,-80.311943%20d=1.447))%22





-
 Author: http://www.packtpub.com/apache-solr-3-enterprise-search-server/book
--
View this message in context: 
http://lucene.472066.n3.nabble.com/Easier-way-to-do-this-tp4055474p4055732.html
Sent from the Solr - User mailing list archive at Nabble.com.


Easier way to do this?

2013-04-11 Thread Billnbell
I would love for the SOLR spatial 4 to support pt so that I can run # of
results around a central point easily like in 3.6. How can I pass parameters
to a Circle() ? I would love to send PT to this query since the pt is the
same across multiple areas

For example:

http://localhost:8983/solr/core/select?rows=0&q=*:*&facet=true&facet.query={!
key=.5}store_geohash:%22Intersects(Circle(26.012156,-80.311943%20d=.0072369))%22&facet.query={!
key=1}store_geohash:%22Intersects(Circle(26.012156,-80.311943%20d=.01447))%22&facet.query={!
key=5}store_geohash:%22Intersects(Circle(26.012156,-80.311943%20d=.0723))%22&facet.query={!
key=10}store_geohash:%22Intersects(Circle(26.012156,-80.311943%20d=.1447))%22&{!
key=25}facet.query=store_geohash:%22Intersects(Circle(26.012156,-80.311943%20d=.361846))%22&facet.query={!
key=50}store_geohash:%22Intersects(Circle(26.012156,-80.311943%20d=.72369))%22&facet.query={!
key=100}store_geohash:%22Intersects(Circle(26.012156,-80.311943%20d=1.447))%22



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Easier-way-to-do-this-tp4055474.html
Sent from the Solr - User mailing list archive at Nabble.com.