Re: Spatial Search with Nested Polygons

2015-03-27 Thread david.w.smi...@gmail.com
On Fri, Mar 27, 2015 at 12:27 AM, Mike Hansen wrote: > There are a few things which could probably help with performance. > Each document has only around say 30 polygons. You could do a binary > search which would help reduce the cost. Additionally, I have a > distinguished point contained inside

Re: Spatial Search with Nested Polygons

2015-03-26 Thread Mike Hansen
On Thu, Mar 26, 2015 at 9:06 PM, david.w.smi...@gmail.com wrote: > The second, (non-easy) part seems like it could be pretty slow: > > To determine “the smallest polygon which contains the point” for the > current matching document, you’d have to iterate over them in > smallest-to-largest-1 order

Re: Spatial Search with Nested Polygons

2015-03-26 Thread david.w.smi...@gmail.com
Hi Mike, The second, (non-easy) part seems like it could be pretty slow: Additionally, I'd like to have access to the > numerical value of the smallest polygon which contains the point > (something like makeDistanceValueSource). To determine “the smallest polygon which contains the point” for t

Spatial Search with Nested Polygons

2015-03-26 Thread Mike Hansen
I was wondering about the feasibility / difficultly of implementing a solution to the following problem with Lucene. For each document, I have a series of nested polygons each associated with a numerical value. My search query gives a point, and I want to return all of the documents whose largest

Re: tries and spatial search

2013-01-18 Thread Apostolis Xekoukoulotakis
The new Spatial contrib module has already implemented what I was talking. 2012/12/22 Apostolis Xekoukoulotakis > I just found out about the blocktree implementation and how it is used to > increase the speed of prefix search. > > Have you tried to use it for spatial search? >

Re: Spatial Search

2012-07-10 Thread David Smiley (@MITRE.org)
- Author: http://www.packtpub.com/apache-solr-3-enterprise-search-server/book -- View this message in context: http://lucene.472066.n3.nabble.com/Spatial-Search-tp3623494p3994211.html Sent from the Lucene - Java Users mailing list archiv

Re: Spatial Search

2012-07-09 Thread Amir
. Another question is sorting, do you have any tips for sorting? -- View this message in context: http://lucene.472066.n3.nabble.com/Spatial-Search-tp3623494p3994049.html Sent from the Lucene - Java Users mailing list archive at

Re: Spatial Search

2012-07-09 Thread David Smiley (@MITRE.org)
multi-value geo. ~ David - Author: http://www.packtpub.com/apache-solr-3-enterprise-search-server/book -- View this message in context: http://lucene.472066.n3.nabble.com/Spatial-Search-tp3623494p3993925.html Sent from the Lucene - Java Users mailing l

Re: Spatial Search

2012-07-09 Thread amir
n I combine the geoquery with another query through booleanquery. I do really appreciate if you could give me a little help to get the distance value and sort the items based on their distance Amir -- View this message in context: http://lucene.472066.n3.nabble.com/Spatial-Search-tp3623494p3993824

Re: Spatial Search

2012-01-03 Thread David Smiley (@MITRE.org)
wiki/Tasks The "Extras / demo related" part arguably doesn't count. ~ David Smiley - Author: http://www.packtpub.com/apache-solr-3-enterprise-search-server/book -- View this message in context: http://lucene.472066.n3.nabble.com/Spatial-Search-tp3623494p3629480.html Sent fro

Re: Spatial Search

2012-01-01 Thread David Smiley (@MITRE.org)
lr can be embedded. IMO very few projects would be better served working with Lucene directly instead of Solr (or Solr's Lucene based competitors). ~ David Smiley - Author: http://www.packtpub.com/apache-solr-3-enterprise-search-server/book -- View this message in context: http://luce

Re: Spatial Search

2012-01-01 Thread David Smiley (@MITRE.org)
doesn't store the points in memory as efficiently as TwoDoublesStrategy does; that's something I need to improve, but it works. ~ David Smiley - Author: http://www.packtpub.com/apache-solr-3-enterprise-search-server/book -- View this message in context: http://lucene.472066.n3.na

Re: Spatial Search

2012-01-01 Thread Yonik Seeley
On Sun, Jan 1, 2012 at 6:18 AM, Lance Java wrote: > But I'm a bit worried about this solution since Yonik has pointed out that > the tier based approach is broken. Yonik, any more info on why this is > broken? Perhaps a bounding box that works is better than a circle that > doesn't ;) Haven't use

Re: Spatial Search

2012-01-01 Thread Lance Java
ity.de/archives/156-Spatial-search-with-Lucene.htmlto come up with a working solution. Results: 20 tube stations are 1 miles from liverpool st 47 tube stations are 2 miles from liverpool st 92 tube stations are 3 miles from liverpool st 138 tube stations are 4 miles from liverpool st But I'm

Re: Spatial Search

2011-12-31 Thread Yonik Seeley
On Sat, Dec 31, 2011 at 11:52 AM, Lance Java wrote: > Hi, I am new to Lucene and I am trying to use spatial search. The old tier-based stuff in Lucene is broken and considered deprecated. For Lucene, this may currently be your best hope: http://code.google.com/p/lucene-spatial-playground/ S

Re: [SPATIAL] Spatial search runs forever

2011-08-17 Thread drazen.nis
some performance penalties, actually the opposite to that, since I can now run spatial search using multiple threads. But I did not run some reliable tests to prove that, this is just my subjective feeling executing the searches. Nevertheless this issue with concurrent usage, I still think spatial contrib

[SPATIAL] Spatial search runs forever

2011-08-16 Thread drazen.nis
ld.stringValue()) to print those data. There are also documents which do not have those fields indexed. Thank you. Best Regards, Drazen -- View this message in context: http://lucene.472066.n3.nabble.com/SPATIAL-Spatial-search-runs-forever-tp3258018p3258018.html Sent from the Lucene - Jav

Lucene Spatial Search Problem: search radius threshold?

2011-04-22 Thread Namyong Park
Hello, I am trying to add spatial search functionality to my application, but having a trouble regarding lucene's spatial search. It's very simple functionality: searching all items within given radius from given starting point. My current starting location is 37.504602,127.04903

Re: Lucene Spatial Search Problem: search radius threshold?

2011-04-22 Thread 박남용
Below is TestCartesian class. In this class, I changed starting position and predefined positions in addData method to be around 37.504602,127.049031. The problem is that as I increase the search radius, after some threshold, spatial search returns nothing when it should return at least the

Lucene Spatial Search Problem: search radius threshold?

2011-04-22 Thread 박남용
Hello, I am trying to add spatial search functionality to my application, but having a trouble regarding lucene's spatial search. It's very simple functionality: searching all items within given radius from given starting point. My current starting location is 37.504602,127.049031.

Re: Spatial search: collect distances

2011-03-30 Thread Dmytro Barabash
I am sorry to trouble, problem solved (in fact problem is absent :) ). Calculated distances saved in ScoreDoc (actually FieldDoc). 2011/3/30 Dmytro Barabash : > Hi all! > I need 1) sort search results by distance from some point and 2) show > these distances for end-user together with other docum

Spatial search: collect distances

2011-03-30 Thread Dmytro Barabash
Hi all! I need 1) sort search results by distance from some point and 2) show these distances for end-user together with other document information. 1) is simple – like an example in “Lucene in action”: there are latitude and longitude fields for each document in index, MyDistanceComparatorSource (

spatial search - query to see if I fall within an area

2010-07-18 Thread Mikki
Hi, what is the most efficient way of doing a spatial search in this way. I have persons who monitor an area. I am at position x and I want to find whether I fall within those monitored areas. If I do then they can monitor me. What is the best method for doing this type of search. The simplest

Getting an incorrect spatial search - lucene 2.9.1 and 3.0

2010-02-04 Thread Julian Atkinson
Hi everyone, I've been using lucene spatial for the last few months without noticing any particular issues with the results...until now. I'm posting 2 unit tests to demonstrate the issue - the first based on 2.9.1 and the other in 3.0 Could be I'm missing something obvious and would appreciate a

[OT] Webinar on spatial search using Lucene and Solr

2009-11-15 Thread Grant Ingersoll
its of using spatial data in a search engine > > Representing and leveraging spatial data in Lucene to empower Local Search > > Spatial search in action, a peek at Voyager GIS, a tool to index and search > > geographic data > > How AT&T Interactive uses So

RE: Lucene 2.9 Spatial Search Problem

2009-10-02 Thread Uwe Schindler
- Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMail: u...@thetaphi.de > -Original Message- > From: Rajiv2 [mailto:rajiv.roo...@gmail.com] > Sent: Friday, October 02, 2009 8:05 PM > To: java-user@lucene.apache.org > Subject: Lucene 2.9 Spatial

Re: Lucene 2.9 Spatial Search Problem

2009-10-02 Thread Michael McCandless
gt; org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:253) > > Does anyone have any clue as to what the problem might be? > > -- > View this message in context: > http://www.nabble.com/Lucene-2.9-Spatial-Search-Problem-tp25719978p25719978.html > Sent from the L

Lucene 2.9 Spatial Search Problem

2009-10-02 Thread Rajiv2
Searcher.search(IndexSearcher.java:253) Does anyone have any clue as to what the problem might be? -- View this message in context: http://www.nabble.com/Lucene-2.9-Spatial-Search-Problem-tp25719978p25719978.html Sent from the Lucene - Java Users mailing list archiv