'Exists' query not working for geospatial fields in Solr >= 8.5.0?

2020-10-08 Thread Ondra Horak
Hi, I just found Solr queries like field:* are not working anymore for fields of type SpatialRecursivePrefixTreeFieldType. It seems to work in 8.4.1, since 8.5.0 it just gives an empty result. Is this an intended behaviour, or a bug? Looking at Solr release notes I'd say it might be a consequenc

Re: Need help in GeoSpatial Searching into Solr Server

2019-12-23 Thread Erick Erickson
Why are you using text field for location? You must use the proper field type. You need to follow the instructions in the “spatial search” section of the reference guide, here’s the ref guide for Solr 7: https://lucene.apache.org/solr/guide/7_7/spatial-search.html Best, Erick > On Dec 23, 201

Need help in GeoSpatial Searching into Solr Server

2019-12-23 Thread niraj kumar
I have 100 documents into Solr, type of location field is *org.apache.solr.schema.TextField.* I am unable to run any query to search nearby points with reference to that field. So if you can help into it or provide some program reference in JAVA with same kind of implementation. Thanks, Niraj

Re: Solr Geospatial Polygon Indexing/Querying Issue

2019-07-30 Thread David Smiley
erstand things! > This is why we were actually trying to combine both point based data and > poly/circle data into a single geospatial field, since I don’t believe you > could do something like fq=geofilt(latlng, x, y, d) OR > geofilt(latlngCircle, x, y, 1) but perhaps we’re just not

Re: Solr Geospatial Polygon Indexing/Querying Issue

2019-07-30 Thread Sanders, Marshall (CAI - Atlanta)
the inventory (creating the circle). This is why we were actually trying to combine both point based data and poly/circle data into a single geospatial field, since I don’t believe you could do something like fq=geofilt(latlng, x, y, d) OR geofilt(latlngCircle, x, y, 1) but perhaps we’re just

Re: Solr Geospatial Polygon Indexing/Querying Issue

2019-07-25 Thread David Smiley
Hello Marshall, I worked on a lot of this functionality. I have lots to say: * Personally, I find it highly confusing to have a field named "latlng" and have it be anything other than a simple point -- it's all you have if given a single latitude longitude pair. If you intend for the data to be

Re: Solr Geospatial Polygon Indexing/Querying Issue

2019-07-25 Thread Sanders, Marshall (CAI - Atlanta)
That didn't seem to work either. I think there must be something wrong with how we're indexing/storing the polygon and/or how we've configured the field/querying it. The docs are so sparse on this ( Here's the response: { "responseHeader":{ "status":0, "QTime":1, "params":{

Re: Solr Geospatial Polygon Indexing/Querying Issue

2019-07-24 Thread Ere Maijala
Oops, sorry! Don't know how I missed that. Have you tested if it makes any difference if you put the sfield parameter inside the fq like in the example (https://lucene.apache.org/solr/guide/8_1/spatial-search.html#geofilt)? We actually put pt and d in there too, e.g. {!geofilt+sfield%3Dlocation_g

Re: Solr Geospatial Polygon Indexing/Querying Issue

2019-07-24 Thread Sanders, Marshall (CAI - Atlanta)
My example query has d=1 as the first parameter, so none of the results should be coming back, but they are which makes it seem like it's not doing any geofiltering for some reason. On 7/24/19, 2:06 AM, "Ere Maijala" wrote: I think you might be missing the d parameter in geofilt. I'm not

Re: Solr Geospatial Polygon Indexing/Querying Issue

2019-07-23 Thread Ere Maijala
I think you might be missing the d parameter in geofilt. I'm not sure if geofilt actually does anything useful without it. Regards, Ere Sanders, Marshall (CAI - Atlanta) kirjoitti 23.7.2019 klo 21.32: > We’re trying to index a polygon into solr and then filter/calculate geodist > on the polygon

Solr Geospatial Polygon Indexing/Querying Issue

2019-07-23 Thread Sanders, Marshall (CAI - Atlanta)
We’re trying to index a polygon into solr and then filter/calculate geodist on the polygon (ideally we actually want a circle, but it looks like that’s not really supported officially by wkt/geojson and instead you have to switch format=”legacy” which seems like something that might be removed i

Solr Geospatial Polygon Indexing/Querying Issue

2019-07-23 Thread Sanders, Marshall (CAI - Atlanta)
We’re trying to index a polygon into solr and then filter/calculate geodist on the polygon (ideally we actually want a circle, but it looks like that’s not really supported officially by wkt/geojson and instead you have to switch format=”legacy” which seems like something that might be removed i

Re: multivalued coordinate for geospatial search

2016-10-13 Thread Emir Arnautovic
Hi Chris, In order to make it work you have to concatenate lat/lon before it reaches indexing. You can do that by using processor chain and adding ConcatFieldUpdateProcessorFactory. Emir On 12.10.2016 11:26, Chris Chris wrote: Hello solr users! I am trying to use geospatial to do some

multivalued coordinate for geospatial search

2016-10-12 Thread Chris Chris
Hello solr users! I am trying to use geospatial to do some basic distance search in Solr4.10 At the moment, I got it working if I have just on set of coordinate (latitude,longitude) per document. However, I need to get it to work when I have an unknown numbers of set of coordinates per document

Re: How to use geospatial search to find the locations within polygon

2016-03-06 Thread Pradeep Chandra
Thank u so much David & Jack for ur response. I downloaded the JTS jar file and pasted in server/lib directory. Now it's working and giving the results. Once again Thank u both of u.. -- View this message in context: http://lucene.472066.n3.nabble.com/How-to-use-geospatial-searc

Re: How to use geospatial search to find the locations within polygon

2016-03-05 Thread Jack Krupansky
s.jts.geom.Lineal\n\tat > > java.net.URLClassLoader$1.run(URLClassLoader.java:366)\n\tat > > java.net.URLClassLoader$1.run(URLClassLoader.java:355)\n\tat > > java.security.AccessController.doPrivileged(Native Method)\n\tat > > java.net.URLClassLoader.findClass(URLClassLoa

Re: How to use geospatial search to find the locations within polygon

2016-03-05 Thread david.w.smi...@gmail.com
se.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:450)\n\tat > org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:403)\n\t... > 51 more\n","code":500}} > > Thanks > M Pradeep Chandra > >

Re: How to use geospatial search to find the locations within polygon

2016-03-05 Thread david.w.smi...@gmail.com
Yes you're right Jack. The ref guide page on this needs more. On Fri, Mar 4, 2016 at 11:36 AM Jack Krupansky wrote: > It would be nice for the doc to say that - describe when IsWithin is and > isn't appropriate. And give some examples as well for people to copy/mimic. > > -- Jack Krupansky > >

Re: How to use geospatial search to find the locations within polygon

2016-03-04 Thread Pradeep Chandra
pClassLoader.loadClass(WebAppClassLoader.java:450)\n\tat org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:403)\n\t... 51 more\n","code":500}} Thanks M Pradeep Chandra -- View this message in context: http://lucene.472066.n3.nabble.com/How-t

Re: How to use geospatial search to find the locations within polygon

2016-03-04 Thread Jack Krupansky
It would be nice for the doc to say that - describe when IsWithin is and isn't appropriate. And give some examples as well for people to copy/mimic. -- Jack Krupansky On Fri, Mar 4, 2016 at 10:20 AM, david.w.smi...@gmail.com < david.w.smi...@gmail.com> wrote: > First of all, assuming this is a s

Re: How to use geospatial search to find the locations within polygon

2016-03-04 Thread david.w.smi...@gmail.com
First of all, assuming this is a standard point-in-polygon situation, use the Intersects predicate -- with point data it's semantically the same as IsWithin and Intersects is much faster. I don't know why you used isDisjointTo in your 2nd example; maybe you want to find when they don't touch? Any

How to use geospatial search to find the locations within polygon

2016-03-03 Thread Pradeepchandra Mulpuru
Hi Sir, I have a question on Apache Solr Spatial search. I have a json type data of City, Latitude & Longitude. I indexed those fields with locm_place of the type location_rpt. Now I want to give a polygon as a filter query in order to get the City names located in that polygon. I don't have any i

Geospatial search question - document with multiple locations

2015-12-24 Thread Tim Hearn
Hi everyone, Suppose I have the following fields in my schema: And I index multiple latlon coordinates to a document. Then I do a geofilt search against my index. When I do that geofilt search, will ALL locations associated with that document have to be within the 'circle' produced by geofi

Re: Issue in Geospatial Search

2015-12-15 Thread Shenbagarajan
Below is the configuration in my managedschema.xml -- View this message in context: http://lucene.472066.n3.nabble.com/Issue-in-Geospatial-Search-tp4245441p4245451.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Issue in Geospatial Search

2015-12-15 Thread davidphilip cherian
g fine without any > issues. But in Solr 5.3 its not working properly. Direct me to figure out > where the issue is as i am stuck with it:( > > Thanks, > Shen. > > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Issue-in-Geospatial-Search-tp4245441.html > Sent from the Solr - User mailing list archive at Nabble.com. >

Issue in Geospatial Search

2015-12-15 Thread Shenbagarajan
uot;, When i try to run the same query in Solr 4.10 its working fine without any issues. But in Solr 5.3 its not working properly. Direct me to figure out where the issue is as i am stuck with it:( Thanks, Shen. -- View this message in context: http://lucene.472066.n3.nabble.com/Issue-in-Geospat

Sold Geospatial Visualisation

2015-10-16 Thread Vijaya Narayana Reddy Bhoomi Reddy
Hi, I am aware of Solr’s geospatial capabilities. However, wondering what is the best way to visualise Solr geospatial data. Is there any native support in Solritas or is there any other mechanism that suits thes requirement best? For example, if my problem is to find the best possible route

Re: Geospatial Predicate Question

2015-08-21 Thread Jamie Johnson
Thanks for the clarification! On Aug 19, 2015 3:05 PM, "david.w.smi...@gmail.com" < david.w.smi...@gmail.com> wrote: > Hi Jamie, > > Your understanding is inverted. The predicates can be read as: > . > > For indexed point data, there is almost no semantic different between the > Within and I

Re: Geospatial Predicate Question

2015-08-19 Thread david.w.smi...@gmail.com
Hi Jamie, Your understanding is inverted. The predicates can be read as: . For indexed point data, there is almost no semantic different between the Within and Intersects predicates. There is if the field is multi-valued and you want to ensure that all of the points for a document are with

Geospatial Predicate Question

2015-08-12 Thread Jamie Johnson
Can someone clarify the difference between isWithin and Contains in regards to Solr's spatial support? From https://wiki.apache.org/solr/SolrAdaptersForLuceneSpatial4 I see that if you are using point data you should use Intersects, but it is not clear when to use isWithin and contains. My guess

Re: Geospatial clustering + zoom in/out help

2014-02-03 Thread Bojan Šmid
Hi David, I was hoping to get an answer on Geospatial topic from you :). These links basically confirm that approach I wanted to take should work ok with similar (or even bigger) amount of data than I plan to have. Instead of my custom NxM division of world, I'll try existing GeoHash enc

RE: Geospatial clustering + zoom in/out help

2014-01-31 Thread Smiley, David W.
hoose, once you give an approach a try. ~ David From: Bojan Šmid [bos...@gmail.com] Sent: Thursday, January 30, 2014 1:15 PM To: solr-user@lucene.apache.org Subject: Geospatial clustering + zoom in/out help Hi, I have an index with 300K docs with lat,lon. I

Geospatial clustering + zoom in/out help

2014-01-30 Thread Bojan Šmid
Hi, I have an index with 300K docs with lat,lon. I need to cluster the docs based on lat,lon for display in the UI. The user then needs to be able to click on any cluster and zoom in (up to 11 levels deep). I'm using Solr 4.6 and I'm wondering how best to implement this efficiently? A bit more s

Tagging and indexing data for geospatial search

2013-01-28 Thread Arcadius Ahouansou
- "...to Birmingham" etc. So, there are location informations in the boby/content of the document. What I would like to do is: 1- Extract the location/town name from the document body and add them as a separate metadata field to the document along with longitude/latitude or other geo

Re: SOLR 3.4 GeoSpatial Query Returning distance

2012-08-02 Thread Tanguy Moal
Hi, I've not tested it by myself but I think that can take advantage of Solr 4's pseudo fields, by adding something like : &fl=*,geodist(),score I think you could even pass several geodist() calls with different parameters if you want to have the distance wrt several POIs ^-^ SOLR 4 only. -- Ta

Re: SOLR 3.4 GeoSpatial Query Returning distance

2012-08-02 Thread Michael Kuhlmann
On 02.08.2012 01:52, Anand Henry wrote: Hi, In SOLR 3.4, while doing a geo-spatial search, is there a way to retrieve the distance of each document from the specified location? Not that I know of. What we did was to read and parse the location field on client side and calculate the distance

Re: solr geospatial / spatial4j

2012-03-08 Thread Ryan McKinley
On Wed, Mar 7, 2012 at 7:25 AM, Matt Mitchell wrote: > Hi, > > I'm researching options for handling a better geospatial solution. I'm > currently using Solr 3.5 for a read-only "database", and the > point/radius searches work great. But I'd like to start d

Re: solr geospatial / spatial4j

2012-03-08 Thread Erick Erickson
ground but I confess I haven't tried to get and build it all, I'm not quite sure what's needed Best Erick On Wed, Mar 7, 2012 at 10:25 AM, Matt Mitchell wrote: > Hi, > > I'm researching options for handling a better geospatial solution. I'm > currently usi

solr geospatial / spatial4j

2012-03-07 Thread Matt Mitchell
Hi, I'm researching options for handling a better geospatial solution. I'm currently using Solr 3.5 for a read-only "database", and the point/radius searches work great. But I'd like to start doing point in polygon searches as well. I've skimmed through some of t

Re: Geospatial search with multivalued field

2012-02-12 Thread David Smiley (@MITRE.org)
vid - Author: http://www.packtpub.com/apache-solr-3-enterprise-search-server/book -- View this message in context: http://lucene.472066.n3.nabble.com/Geospatial-search-with-multivalued-field-tp3729648p3737995.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Geospatial search with multivalued field

2012-02-12 Thread Marian Steinbach
Seems like I moved to the next failure. Now I get java.lang.NoClassDefFoundError: org/apache/solr/schema/SpatialQueryable during solr startup. Any idea where this sould be? It seems to be required by the path (src/main/java/solr2155/solr/schema/GeoHashField.java:public class GeoHashField ext

Re: Geospatial search with multivalued field

2012-02-12 Thread Marian Steinbach
2012/2/12 Mikhail Khludnev : > Marian, > > My experience is not applicable to you directly, but David says > >  You'll need to run "mvn package" to generate a jar file that you can throw > into your classpath. > > Have you got the jar ? You don't need to bother with Solr sources. Just > build jar a

Re: Geospatial search with multivalued field

2012-02-12 Thread Mikhail Khludnev
Marian, My experience is not applicable to you directly, but David says You'll need to run "mvn package" to generate a jar file that you can throw into your classpath. Have you got the jar ? You don't need to bother with Solr sources. Just build jar and put it into Solr libs (see http://wiki.ap

Re: Geospatial search with multivalued field

2012-02-10 Thread Marian Steinbach
2012/2/10 Mikhail Khludnev : > Marian, > > Sorry, I completely forgot to mention. > Pls check David's instruction > https://issues.apache.org/jira/browse/SOLR-2155?focusedCommentId=13117350&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13117350 > > The patch you trie

Re: Geospatial search with multivalued field

2012-02-10 Thread Mikhail Khludnev
Marian, Sorry, I completely forgot to mention. Pls check David's instruction https://issues.apache.org/jira/browse/SOLR-2155?focusedCommentId=13117350&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13117350 The patch you tried to use is just my amendment for the Dav

Re: Geospatial search with multivalued field

2012-02-10 Thread Marian Steinbach
2012/2/9 Mikhail Khludnev : > Some time ago I tested backported patch from > https://issues.apache.org/jira/browse/SOLR-2155 > it works. OK, I would do that. But... Against which version can/should I apply the patch? (I am not restricted by other requirements so far.) Then I tried both with the

Re: Geospatial search with multivalued field

2012-02-09 Thread Mikhail Khludnev
for the fieldType > "location" (field "store"): "A specialized field for geospatial > search. If indexed, this fieldType must not be multivalued." If I used > a field of type solr.LatLonType this would mean that I could have > multivalued="true", b

Geospatial search with multivalued field

2012-02-09 Thread Marian Steinbach
ple in Solr 3.4 states in schema.xml for the fieldType "location" (field "store"): "A specialized field for geospatial search. If indexed, this fieldType must not be multivalued." If I used a field of type solr.LatLonType this would mean that I could have multivalu

Re: Solr support for compound geospatial indexs?

2012-01-03 Thread Maxim Veksler
gt; > > Hello, > > > > I've started to evaluate Solr and so far haven't seen anything mentions > for > > support of compound indexes. > > If I get you right, it doesn't. AFAIK It combines separate indexes > basing on the condensed internal ids aka docN

Re: Solr support for compound geospatial indexs?

2012-01-03 Thread Mikhail Khludnev
separate indexes basing on the condensed internal ids aka docNums > > I'm looking to either radius or share based geospatial proximity queries > (find all document that are 20km from given lat,lng) http://wiki.apache.org/solr/SpatialSearch#geofilt_-_The_distance_filter consider htt

Solr support for compound geospatial indexs?

2012-01-03 Thread Maxim Veksler
Hello, I've started to evaluate Solr and so far haven't seen anything mentions for support of compound indexes. I'm looking to either radius or share based geospatial proximity queries (find all document that are 20km from given lat,lng) I would also at times be doing geo quer

Re: Geospatial queries in Solr

2011-07-22 Thread Jamie Johnson
s citizen >>> in LSP. >>>  I recommend you use the field named "geohash" which uses a field type name >>> starting with "Recursive...".  Note that the same query you did with this >>> field returned the polygon of Russia.  There is an outstanding b

Re: Geospatial queries in Solr

2011-07-22 Thread Smiley, David W.
field type name >> starting with "Recursive...". Note that the same query you did with this >> field returned the polygon of Russia. There is an outstanding box in which >> we don't properly handle polygons crossing the dateline; other shapes are >>

Re: Geospatial queries in Solr

2011-07-22 Thread Jamie Johnson
le polygons crossing the dateline; other shapes are > fine. > > ~ David > > - >  Author: https://www.packtpub.com/solr-1-4-enterprise-search-server/book > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Geospatial-queries-in-Solr-tp3183374p3190762.html > Sent from the Solr - User mailing list archive at Nabble.com. >

Re: Geospatial queries in Solr

2011-07-22 Thread David Smiley (@MITRE.org)
#x27;t properly handle polygons crossing the dateline; other shapes are fine. ~ David - Author: https://www.packtpub.com/solr-1-4-enterprise-search-server/book -- View this message in context: http://lucene.472066.n3.nabble.com/Geospatial-queries-in-Solr-tp3183374p3190762.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Geospatial queries in Solr

2011-07-21 Thread Jamie Johnson
t;>>>>>>>>>> Thanks for responding so quickly, I don't mind waiting a bit.  I'll >>>>>>>>>>>> hang out until the updates have been  made.  Thanks again. >>>>>>>>>>>> >>>>>>>>>>>> On Tue, Jul 19, 2011 at 3:51 PM, Smiley, David W. >>>>>>>>>>>> wrote: >>>>>>>>>>>>> Hi Jamie. >>>>>>>>>>>>> I work on LSP; it can index polygons and query for them. Although >>>>>>>>>>>>> the capability is there, we have more testing & benchmarking to >>>>>>>>>>>>> do, and then we need to put together a tutorial to explain how to >>>>>>>>>>>>> use it at the Solr layer.  I recently cleaned up the READMEs a >>>>>>>>>>>>> bit.  Try downloading the trunk codebase, and follow the README.   >>>>>>>>>>>>> It points to another README which shows off a demo webapp.  At >>>>>>>>>>>>> the conclusion of this, you'll need to examine the tests and >>>>>>>>>>>>> webapp a bit to figure out how to apply it in your app.  We don't >>>>>>>>>>>>> yet have a tutorial as the framework has been in flux  although >>>>>>>>>>>>> it has stabilized a good deal. >>>>>>>>>>>>> >>>>>>>>>>>>> Oh... by the way, this works off of Lucene/Solr trunk.  Within >>>>>>>>>>>>> the past week there was a major change to trunk and LSP won't >>>>>>>>>>>>> compile until we make updates.  Either Ryan McKinley or I will >>>>>>>>>>>>> get to that by the end of the week.  So unless you have access to >>>>>>>>>>>>> 2-week old maven artifacts of Lucene/Solr, you're stuck right now. >>>>>>>>>>>>> >>>>>>>>>>>>> ~ David Smiley >>>>>>>>>>>>> Author: http://www.packtpub.com/solr-1-4-enterprise-search-server/ >>>>>>>>>>>>> >>>>>>>>>>>>> On Jul 19, 2011, at 3:03 PM, Jamie Johnson wrote: >>>>>>>>>>>>> >>>>>>>>>>>>>> I have looked at the code being shared on the >>>>>>>>>>>>>> lucene-spatial-playground and was wondering if anyone could >>>>>>>>>>>>>> provide >>>>>>>>>>>>>> some details as to its state.  Specifically I'm looking to add >>>>>>>>>>>>>> geospatial support to my application based on a user provided >>>>>>>>>>>>>> polygon, >>>>>>>>>>>>>> is this currently possible using this extension? >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>> >>>>>>>> >>>>>>>> >>>>>> >>>>>> >>>> >>>> >>> > >

Re: Geospatial queries in Solr

2011-07-21 Thread Smiley, David W.
t;>>>>>>>>>> wrote: >>>>>>>>>>>> Hi Jamie. >>>>>>>>>>>> I work on LSP; it can index polygons and query for them. Although >>>>>>>>>>>> the capability is there, we have more testing & benchmarking to >>>>>>>>>>>> do, and then we need to put together a tutorial to explain how to >>>>>>>>>>>> use it at the Solr layer. I recently cleaned up the READMEs a >>>>>>>>>>>> bit. Try downloading the trunk codebase, and follow the README. >>>>>>>>>>>> It points to another README which shows off a demo webapp. At the >>>>>>>>>>>> conclusion of this, you'll need to examine the tests and webapp a >>>>>>>>>>>> bit to figure out how to apply it in your app. We don't yet have >>>>>>>>>>>> a tutorial as the framework has been in flux although it has >>>>>>>>>>>> stabilized a good deal. >>>>>>>>>>>> >>>>>>>>>>>> Oh... by the way, this works off of Lucene/Solr trunk. Within the >>>>>>>>>>>> past week there was a major change to trunk and LSP won't compile >>>>>>>>>>>> until we make updates. Either Ryan McKinley or I will get to that >>>>>>>>>>>> by the end of the week. So unless you have access to 2-week old >>>>>>>>>>>> maven artifacts of Lucene/Solr, you're stuck right now. >>>>>>>>>>>> >>>>>>>>>>>> ~ David Smiley >>>>>>>>>>>> Author: http://www.packtpub.com/solr-1-4-enterprise-search-server/ >>>>>>>>>>>> >>>>>>>>>>>> On Jul 19, 2011, at 3:03 PM, Jamie Johnson wrote: >>>>>>>>>>>> >>>>>>>>>>>>> I have looked at the code being shared on the >>>>>>>>>>>>> lucene-spatial-playground and was wondering if anyone could >>>>>>>>>>>>> provide >>>>>>>>>>>>> some details as to its state. Specifically I'm looking to add >>>>>>>>>>>>> geospatial support to my application based on a user provided >>>>>>>>>>>>> polygon, >>>>>>>>>>>>> is this currently possible using this extension? >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>> >>>>>>> >>>>> >>>>> >>> >>> >>

Re: Geospatial queries in Solr

2011-07-21 Thread Jamie Johnson
there, we have more testing & benchmarking to do, >>>>>>>>>>> and then we need to put together a tutorial to explain how to use >>>>>>>>>>> it at the Solr layer.  I recently cleaned up the READMEs a bit.   >>>>>>>>>>> Try downloading the trunk codebase, and follow the README.  It >>>>>>>>>>> points to another README which shows off a demo webapp.  At the >>>>>>>>>>> conclusion of this, you'll need to examine the tests and webapp a >>>>>>>>>>> bit to figure out how to apply it in your app.  We don't yet have a >>>>>>>>>>> tutorial as the framework has been in flux  although it has >>>>>>>>>>> stabilized a good deal. >>>>>>>>>>> >>>>>>>>>>> Oh... by the way, this works off of Lucene/Solr trunk.  Within the >>>>>>>>>>> past week there was a major change to trunk and LSP won't compile >>>>>>>>>>> until we make updates.  Either Ryan McKinley or I will get to that >>>>>>>>>>> by the end of the week.  So unless you have access to 2-week old >>>>>>>>>>> maven artifacts of Lucene/Solr, you're stuck right now. >>>>>>>>>>> >>>>>>>>>>> ~ David Smiley >>>>>>>>>>> Author: http://www.packtpub.com/solr-1-4-enterprise-search-server/ >>>>>>>>>>> >>>>>>>>>>> On Jul 19, 2011, at 3:03 PM, Jamie Johnson wrote: >>>>>>>>>>> >>>>>>>>>>>> I have looked at the code being shared on the >>>>>>>>>>>> lucene-spatial-playground and was wondering if anyone could provide >>>>>>>>>>>> some details as to its state.  Specifically I'm looking to add >>>>>>>>>>>> geospatial support to my application based on a user provided >>>>>>>>>>>> polygon, >>>>>>>>>>>> is this currently possible using this extension? >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>> >>>>>> >>>> >>>> >> >> >

Re: Geospatial queries in Solr

2011-07-21 Thread Jamie Johnson
er a tutorial to explain how to use it >>>>>>>>>> at the Solr layer.  I recently cleaned up the READMEs a bit.  Try >>>>>>>>>> downloading the trunk codebase, and follow the README.  It points to >>>>>>>>>>

Re: Geospatial queries in Solr

2011-07-21 Thread Smiley, David W.
t;>>>>> this, you'll need to examine the tests and webapp a bit to figure out >>>>>>>>> how to apply it in your app. We don't yet have a tutorial as the >>>>>>>>> framework has been in flux although it has stabilized a good deal. >>>>>>>>> >>>>>>>>> Oh... by the way, this works off of Lucene/Solr trunk. Within the >>>>>>>>> past week there was a major change to trunk and LSP won't compile >>>>>>>>> until we make updates. Either Ryan McKinley or I will get to that by >>>>>>>>> the end of the week. So unless you have access to 2-week old maven >>>>>>>>> artifacts of Lucene/Solr, you're stuck right now. >>>>>>>>> >>>>>>>>> ~ David Smiley >>>>>>>>> Author: http://www.packtpub.com/solr-1-4-enterprise-search-server/ >>>>>>>>> >>>>>>>>> On Jul 19, 2011, at 3:03 PM, Jamie Johnson wrote: >>>>>>>>> >>>>>>>>>> I have looked at the code being shared on the >>>>>>>>>> lucene-spatial-playground and was wondering if anyone could provide >>>>>>>>>> some details as to its state. Specifically I'm looking to add >>>>>>>>>> geospatial support to my application based on a user provided >>>>>>>>>> polygon, >>>>>>>>>> is this currently possible using this extension? >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>> >>>>>>> >>>>>> >>>> >>>> >> >>

Re: Geospatial queries in Solr

2011-07-20 Thread Jamie Johnson
k has been in flux  although it has stabilized a good deal. >>>>>>>> >>>>>>>> Oh... by the way, this works off of Lucene/Solr trunk.  Within the >>>>>>>> past week there was a major change to trunk and LSP won't compile >>>>>>>> until we make updates.  Either Ryan McKinley or I will get to that by >>>>>>>> the end of the week.  So unless you have access to 2-week old maven >>>>>>>> artifacts of Lucene/Solr, you're stuck right now. >>>>>>>> >>>>>>>> ~ David Smiley >>>>>>>> Author: http://www.packtpub.com/solr-1-4-enterprise-search-server/ >>>>>>>> >>>>>>>> On Jul 19, 2011, at 3:03 PM, Jamie Johnson wrote: >>>>>>>> >>>>>>>>> I have looked at the code being shared on the >>>>>>>>> lucene-spatial-playground and was wondering if anyone could provide >>>>>>>>> some details as to its state.  Specifically I'm looking to add >>>>>>>>> geospatial support to my application based on a user provided polygon, >>>>>>>>> is this currently possible using this extension? >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>> >>>>>> >>>>> >>> >>> > >

Re: Geospatial queries in Solr

2011-07-20 Thread Smiley, David W.
. Within the past >>>>>>> week there was a major change to trunk and LSP won't compile until we >>>>>>> make updates. Either Ryan McKinley or I will get to that by the end of >>>>>>> the week. So unless you have access to 2-week old maven artifacts of >>>>>>> Lucene/Solr, you're stuck right now. >>>>>>> >>>>>>> ~ David Smiley >>>>>>> Author: http://www.packtpub.com/solr-1-4-enterprise-search-server/ >>>>>>> >>>>>>> On Jul 19, 2011, at 3:03 PM, Jamie Johnson wrote: >>>>>>> >>>>>>>> I have looked at the code being shared on the >>>>>>>> lucene-spatial-playground and was wondering if anyone could provide >>>>>>>> some details as to its state. Specifically I'm looking to add >>>>>>>> geospatial support to my application based on a user provided polygon, >>>>>>>> is this currently possible using this extension? >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>> >>>>> >>>> >> >>

Re: Geospatial queries in Solr

2011-07-20 Thread Jamie Johnson
t;>>>>> >>>>>> Oh... by the way, this works off of Lucene/Solr trunk.  Within the past >>>>>> week there was a major change to trunk and LSP won't compile until we >>>>>> make updates.  Either Ryan McKinley or I will get to that

Re: Geospatial queries in Solr

2011-07-20 Thread Smiley, David W.
Ryan McKinley or I will get to that by the end of >>>>> the week. So unless you have access to 2-week old maven artifacts of >>>>> Lucene/Solr, you're stuck right now. >>>>> >>>>> ~ David Smiley >>>>> Author: http://www.packtpub.com/solr-1-4-enterprise-search-server/ >>>>> >>>>> On Jul 19, 2011, at 3:03 PM, Jamie Johnson wrote: >>>>> >>>>>> I have looked at the code being shared on the >>>>>> lucene-spatial-playground and was wondering if anyone could provide >>>>>> some details as to its state. Specifically I'm looking to add >>>>>> geospatial support to my application based on a user provided polygon, >>>>>> is this currently possible using this extension? >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>> >>> >>

Re: Geospatial queries in Solr

2011-07-20 Thread Jamie Johnson
t;>> week.  So unless you have access to 2-week old maven artifacts of >>>> Lucene/Solr, you're stuck right now. >>>> >>>> ~ David Smiley >>>> Author: http://www.packtpub.com/solr-1-4-enterprise-search-server/ >>>> >>>> On Jul 19, 2011, at 3:03 PM, Jamie Johnson wrote: >>>> >>>>> I have looked at the code being shared on the >>>>> lucene-spatial-playground and was wondering if anyone could provide >>>>> some details as to its state.  Specifically I'm looking to add >>>>> geospatial support to my application based on a user provided polygon, >>>>> is this currently possible using this extension? >>>> >>>> >>>> >>>> >>>> >>>> >>>> >> >> >

Re: Geospatial queries in Solr

2011-07-20 Thread Jamie Johnson
Smiley >>> Author: http://www.packtpub.com/solr-1-4-enterprise-search-server/ >>> >>> On Jul 19, 2011, at 3:03 PM, Jamie Johnson wrote: >>> >>>> I have looked at the code being shared on the >>>> lucene-spatial-playground and was wondering if anyone could provide >>>> some details as to its state.  Specifically I'm looking to add >>>> geospatial support to my application based on a user provided polygon, >>>> is this currently possible using this extension? >>> >>> >>> >>> >>> >>> >>> > >

Re: Geospatial queries in Solr

2011-07-20 Thread Smiley, David W.
>> you're stuck right now. >> >> ~ David Smiley >> Author: http://www.packtpub.com/solr-1-4-enterprise-search-server/ >> >> On Jul 19, 2011, at 3:03 PM, Jamie Johnson wrote: >> >>> I have looked at the code being shared on the >>&g

Re: Geospatial queries in Solr

2011-07-20 Thread Jamie Johnson
ayground and was wondering if anyone could provide >> some details as to its state.  Specifically I'm looking to add >> geospatial support to my application based on a user provided polygon, >> is this currently possible using this extension? > > > > > > >

Re: Geospatial queries in Solr

2011-07-19 Thread Smiley, David W.
was wondering if anyone could provide > some details as to its state. Specifically I'm looking to add > geospatial support to my application based on a user provided polygon, > is this currently possible using this extension?

Geospatial queries in Solr

2011-07-19 Thread Jamie Johnson
I have looked at the code being shared on the lucene-spatial-playground and was wondering if anyone could provide some details as to its state. Specifically I'm looking to add geospatial support to my application based on a user provided polygon, is this currently possible using this extension?

Re: difference between geospatial search from database angle and from solr angle

2011-04-10 Thread Yonik Seeley
On Sun, Apr 10, 2011 at 5:24 PM, Lance Norskog wrote: > Wait! How can you do distance calculations across different shards > efficiently? Basic spatial search (bounding box filter, radius filter, sort by distance) has no cross-document component, so "it just works" with distributed search. -Yon

Re: difference between geospatial search from database angle and from solr angle

2011-04-10 Thread Lance Norskog
;s performance/scalability > thanks in large part to its sharding.  But for "functionality richness" in so > far as geospatial is concerned, that's where Solr currently comes short. It > just has the basic stuff 80% of people want. > > ~ David Smiley > Author: http:/

Re: difference between geospatial search from database angle and from solr angle

2011-04-07 Thread Smiley, David W.
I haven't used PostGIS so I can't offer a real comparison. I think if you were to try out both, you'd be impressed with Solr's performance/scalability thanks in large part to its sharding. But for "functionality richness" in so far as geospatial is concerned, tha

Re: difference between geospatial search from database angle and from solr angle

2011-04-07 Thread Erick Erickson
re any sharding mechanism? > > > Can you give a comparison between solr-based geospatial search and PostGIS > based geospatial search? > * scalability > * functionality richness > * incremental indexing (re-indexing) cost > * query co

Re: difference between geospatial search from database angle and from solr angle

2011-04-06 Thread Sean Bigdatafun
Thanks, David. I am thinking of a scenario that billions of objects, whose indices are too big for a single machine to serve the indexing, to serve the querying. Is there any sharding mechanism? Can you give a comparison between solr-based geospatial search and PostGIS based geospatial search

Re: difference between geospatial search from database angle and from solr angle

2011-04-06 Thread David Smiley (@MITRE.org)
Sean, Geospatial search in Lucene/Solr is of course implemented based on Lucene's underlying index technology. That technology was originally just for text but it's been adapted very successfully for numerics and querying ranges too. The only mature geospatial field type in S

difference between geospatial search from database angle and from solr angle

2011-04-06 Thread Sean Bigdatafun
I understand Solr can do pretty powerful geospatial search http://www.ibm.com/developerworks/java/library/j-spatial/ <http://www.ibm.com/developerworks/java/library/j-spatial/>But I also understand lots of DB researchers have done lots of geospatial related work, can someone give an overv

Re: geospatial search support for SOLR 1.3 and 1.4?

2010-12-28 Thread Markus Jelsma
You should upgrade indeed and use a 3rd-party plugin or wait for current trunk (Solr 4) or branch 3.x to be released but that might take a while. But if your data set is small enough and you don't have many updates you could compute the distance sets outside Solr once a day as we did in 1.3. But

geospatial search support for SOLR 1.3 and 1.4?

2010-12-28 Thread Bharat Jain
hi, we are currently using SOLR 1.3 and planning to use location based search for some of functionality. Is there any support for such a thing in 1.3? Do we need to upgrade to 1.4+ version. Thanks Bharat Jain

Re: Geospatial search w/polygon bounding box?

2010-12-13 Thread Erick Erickson
It really doesn't look like it. As part of some other work I'm doing I ran across this: https://issues.apache.org/jira/browse/SOLR-2155 which seems to speak (on cursory glance) at the polygon-bounding-box issue. But as you see it hasn't been committe

Re: SOLR geospatial

2010-12-12 Thread Adam Estrada
is current. > GeoSpatial is almost there, but we're going to wait until it's released to > spend > time with it. We have other tasks to work on and don't want to be part of > the > debugging process of any project right now. > > Dennis Gearon > > > Signatu

Re: SOLR geospatial

2010-12-12 Thread Dennis Gearon
We're in Alpha, heading to Alpha 2. Our requirements are simple: radius searching, and distance from center. Solr Spatial works and is current. GeoSpatial is almost there, but we're going to wait until it's released to spend time with it. We have other tasks to work on and d

Re: SOLR geospatial

2010-12-12 Thread Erick Erickson
By and large, spatial solr is being replaced by geospatial, see: http://wiki.apache.org/solr/SpatialSearch. I don't think the old spatial contrib is still included in the trunk or 3.x code bases, but I could be wrong That said, I don't know whether what you want is on the roadmap th

Re: SOLR geospatial

2010-12-12 Thread Adam Estrada
t smells like: http://www.jteam.nl/news/spatialsolr.html > > > My partner is using a publicly available plugin for GeoSpatial. It is > used > > both during indexing and during search. It forms some kind of gridding > > system and puts 10 fields per row related to that. Doing a

Re: SOLR geospatial

2010-12-11 Thread Markus Jelsma
That smells like: http://www.jteam.nl/news/spatialsolr.html > My partner is using a publicly available plugin for GeoSpatial. It is used > both during indexing and during search. It forms some kind of gridding > system and puts 10 fields per row related to that. Doing a Radius searc

Re: SOLR geospatial

2010-12-11 Thread Dennis Gearon
My partner is using a publicly available plugin for GeoSpatial. It is used both during indexing and during search. It forms some kind of gridding system and puts 10 fields per row related to that. Doing a Radius search (vs a bounding box search which is faster in almost all cases in all

SOLR geospatial

2010-12-10 Thread George Anthony
In looking at some of the docs support for geospatial search. I see this functionality is mostly scheduled for upcoming release 4.0 (with some playing around with backported code). I note the support for the bounding box filter, but will "bounding box" be one of the supported *d

Re: geospatial

2010-11-24 Thread Yonik Seeley
On Wed, Nov 24, 2010 at 2:41 PM, Dennis Gearon wrote: > What is the recommended Solr version and/or plugin combination to get > geospatial > search up and running the quickest and easiest? It depends on what capabilities you need. The current state of what is committed to trunk is

geospatial

2010-11-24 Thread Dennis Gearon
What is the recommended Solr version and/or plugin combination to get geospatial search up and running the quickest and easiest? Dennis Gearon Signature Warning It is always a good idea to learn from your own mistakes. It is usually a better idea to learn from others

Geospatial search w/polygon bounding box?

2010-11-08 Thread Jonathan Gill
Hi- Based on my limited but growing understanding of bounding box spatial filtering in Solr, I think I know the answer to my question, but I¹m looking for confirmation. Is there a way to specify a polygon bounding box for spatial searches? If so, is there a limit to the number of points that def

Range Queries, Geospatial

2010-02-16 Thread Fuad Efendi
Hi, I've read very interesting interview with Ryan, http://www.lucidimagination.com/Community/Hear-from-the-Experts/Podcasts-and -Videos/Interview-Ryan-McKinley Another finding is https://issues.apache.org/jira/browse/SOLR-773 (lucene/contrib/spatial) Is there any more staff going on for SOLR

Re: How to do GeoSpatial search in SOLR/Lucene

2007-11-08 Thread patrick o'leary
There is an SF project (locallucene) with geographical searching in progress. (As in if it works for you and meets your needs then please help yourself, if it doesn't and requires additional work, then please help us) ;-) https://sourceforge.net/projects/locallucene/ A basic solr port & demo,

Re: How to do GeoSpatial search in SOLR/Lucene

2007-11-08 Thread Chris Hostetter
: How to do Geo Spatial search in SOLR/Lucene? i still haven't had a chance to play with any of the good stuff people have been talking about, but there have been several recent threads talking about it... http://www.nabble.com/forum/Search.jtp?query=geographic&local=y&forum=14479 -Hoss

How to do GeoSpatial search in SOLR/Lucene

2007-11-06 Thread Kishore AVK. Veleti
Hi All, How to do Geo Spatial search in SOLR/Lucene? Thanks, Kishore Veleti