Re: SOLR4 Spatial sorting and query string

2013-08-19 Thread David Smiley (@MITRE.org)
View this message in context: http://lucene.472066.n3.nabble.com/SOLR4-Spatial-sorting-and-query-string-tp4084318p4085587.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: SOLR4 Spatial sorting and query string

2013-08-17 Thread William Bell
t this result gets back on the first place because it's close to > > Amsterdam(store2_geo). But normally, How can i know which one matched my > > query as closest point? Is it possible to get this back? I can do it in > my > > application but with 200 stores in a doc i do

Re: SOLR4 Spatial sorting and query string

2013-08-15 Thread David Smiley (@MITRE.org)
200 stores in a doc i don't think it's the best > solution. > > Thanks, > > Roy - Author: http://www.packtpub.com/apache-solr-3-enterprise-search-server/book -- View this message in context: http://lucene.472066.n3.nabble.com/SOLR4-Spatial-sorting-and-query-string-tp4084318p4084816.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: SOLR4 Spatial sorting and query string

2013-08-15 Thread roySolr
ry as closest point? Is it possible to get this back? I can do it in my application but with 200 stores i don't think it's the best solution. Thanks, Roy -- View this message in context: http://lucene.472066.n3.nabble.com/SOLR4-Spatial-sorting-and-query-string-tp4084318p4084795.html Sen

Re: SOLR4 Spatial sorting and query string

2013-08-14 Thread Smiley, David W.
tes pt=locatonlat,locationlong >d=25}" > >It works great but my question is: Will it work quick and smooth with >+1000 >stores in my store_coordinates field? > >Any help is appreciated >Thanks, > >Roy > > > >-- >View this message in context: >http://lucene.472066.n3.nabble.com/SOLR4-Spatial-sorting-and-query-string- >tp4084318p4084521.html >Sent from the Solr - User mailing list archive at Nabble.com.

Re: SOLR4 Spatial sorting and query string

2013-08-14 Thread roySolr
n is: Will it work quick and smooth with +1000 stores in my store_coordinates field? Any help is appreciated Thanks, Roy -- View this message in context: http://lucene.472066.n3.nabble.com/SOLR4-Spatial-sorting-and-query-string-tp4084318p4084521.html Sent from the Solr - User mailing list

Re: SOLR4 Spatial sorting and query string

2013-08-14 Thread roySolr
Great, it works very well. In solr 4.5 i will use geodist() again! Thanks David -- View this message in context: http://lucene.472066.n3.nabble.com/SOLR4-Spatial-sorting-and-query-string-tp4084318p4084487.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: SOLR4 Spatial sorting and query string

2013-08-13 Thread David Smiley (@MITRE.org)
this in above solr request? When i add something to the > "q=" it doesn't work. I tried _query_ subquery and other stuff but i don't > get it working > > I appreciate any help, > Thanks - Author: http://www.packtpub.com/apache-solr-3-enterprise-search-ser

SOLR4 Spatial sorting and query string

2013-08-13 Thread roySolr
View this message in context: http://lucene.472066.n3.nabble.com/SOLR4-Spatial-sorting-and-query-string-tp4084318.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: geodist() spatial sorting: sort param could not be parsed as a query, and is not a field that exists in the index: geodist()

2013-02-28 Thread PeterKerk
You were right, sloppy on my side. I replaced the %20 with & (in more than 1 place) and now it does work. Thanks. -- View this message in context: http://lucene.472066.n3.nabble.com/geodist-spatial-sorting-sort-param-could-not-be-parsed-as-a-query-and-is-not-a-field-that-exist

Re: geodist() spatial sorting: sort param could not be parsed as a query, and is not a field that exists in the index: geodist()

2013-02-28 Thread David Smiley (@MITRE.org)
hat I have in my schema.xml: > subFieldSuffix="_coordinate"/> > > > > stored="false"/> > I've been checking this page: http://wiki.apache.org/solr/SpatialSearch > But that does not mention my error. - Author: http://www.packtpub.com/

geodist() spatial sorting: sort param could not be parsed as a query, and is not a field that exists in the index: geodist()

2013-02-28 Thread PeterKerk
olocation%20d=20}&q=*:*&start=0&rows=10&fl=id,title,city&facet.mincount=1&sort=geodist()%20asc Here's what I have in my schema.xml: I've been checking this page: http://wiki.apache.org/solr/SpatialSearch But that does not mention my error. -- View this messag

Re: spatial sorting

2010-09-30 Thread dan sutton
Hi All, This is more of an FYI for those wanting to filter and sort by distance, and have the values returned in the result set after determining a way to do this with existing code. Using solr 4.0 an example query would contain the following parameters: /select? q=stevenage^0.0 +_val_:"ghhsin(

Re: spatial sorting

2010-09-21 Thread Grant Ingersoll
On Sep 17, 2010, at 9:45 AM, dan sutton wrote: > Hi, > > I'm trying to filter and sort by distance with this URL: > > http://localhost:8080/solr/select/?q=*:*&fq={!sfilt%20fl=loc_lat_lon}&pt=52.02694,-0.49567&d=2&sort={!func}hsin(52.02694,-0.49567,loc_lat_lon_0_d,%20loc_lat_lon_1_d,3963.205)asc

spatial sorting

2010-09-17 Thread dan sutton
Hi, I'm trying to filter and sort by distance with this URL: http://localhost:8080/solr/select/?q=*:*&fq={!sfilt%20fl=loc_lat_lon}&pt=52.02694,-0.49567&d=2&sort={!func}hsin(52.02694,-0.49567,loc_lat_lon_0_d,%20loc_lat_lon_1_d,3963.205)asc Filtering is fine but it's failing in parsing the sort wi