On Wed, Apr 1, 2015 at 3:21 PM, Simon Rainer wrote:
> Hi David,
>
> ouch - no, missed that. I'm indexing points and polygons with the
> RecursivePrefixTreeStrategy right now, so simply didn't look properly at
> the BBoxStrategy. (I need to use exact polygons, so that I can make use of
> the ultra
Hi Rainer,
The BBoxStrategy is pretty close to this. It does assume indexed
rectangles and not other shapes, and it’s limited to one rect value per
field, but perhaps this is fine for you nonetheless? See
the makeOverlapRatioValueSource() method. If this feature was non-obvious,
I think I may n
gon which is present(boundaries intersecting,incomplete), I am printing
> exception which is again I am excluding.. This is not the worry..
>
> Worry is I am getting very polygons which actually have points inside them.
>
> Please correct me where I am going wrong.
>
>
> -Ori
:david.w.smi...@gmail.com]
Sent: 22 December 2014 19:19
To: java-user@lucene.apache.org
Subject: Re: Lucene Spatial Implementation for Points within Polygon.
Hello.
You have stated the use-case so generically that it’s not clear if you should
index the polygon set and query by the point set, or the
Hello.
You have stated the use-case so generically that it’s not clear if you
should index the polygon set and query by the point set, or the reverse.
Generally, you should index the set that is known in-advance and then query
by the other, the set that is generally not known. Assuming this is th
>From an API standpoint, I envision you would supply a rectangular region of
interest and some means of specifying the resolution. It could be the
so-called “grid level” in lucene spatial (1 is biggest most coarsest,
larger numbers yield progressively smaller cells), or it might be expressed
in te
Thanks, David. In the meantime, care to share any thoughts about your planned
implementation?
On Thursday, November 6, 2014 8:11 AM, "david.w.smi...@gmail.com"
wrote:
FYI I plan to implement this in Lucene-spatial & Solr in January.
~ David Smiley
Freelance Apache Lucene/Solr Search Co
FYI I plan to implement this in Lucene-spatial & Solr in January.
~ David Smiley
Freelance Apache Lucene/Solr Search Consultant/Developer
http://www.linkedin.com/in/davidwsmiley
On Wed, Nov 5, 2014 at 10:52 PM, Shahak Nagiel
wrote:
> I need a way to perform a spatial aggregation query against a
Hi,
If you would index additional grid ids for the bins, you could facet on them.
To me, Elasticsearch's Aggregation Module may also be a good fit.
Uwe
Am 6. November 2014 04:52:10 MEZ, schrieb Shahak Nagiel
:
>I need a way to perform a spatial aggregation query against a
>potentially large do
Hi Parth,
Since Lucene 4.7 spatial, there is a “SerializedDVStrategy” for serialized
geometries. It’s used as a second-pass after RPT (or perhaps
BBoxStrategy). There was a presentation at FOSS4G about it (I was there
and helped with this one too):
http://vimeo.com/106843184
There’s a small code
Hi Parth,
Lucene’s “terms dictionary” (an inverted index) is the physical
instantiation of the actual PrefixTree/Trie for numeric and spatial data.
It doesn’t know it is — it’s just a sorted list of keys pointing to
matching documents — it just so happens that the keys aren’t textual words
in this
Yes; as I said in my last sentence: "You’ll see a difference of Document vs
StoredDocument with 4x”.
As to SimpleCollector not being in 4x (I didn’t check but I’ll take your
word for it) — the bottom line is that you need to write a Collector, and a
simple one at that.
~ David Smiley
Freelance Ap
Thanks a lot for the reply David!
I am having some problems executing this code. I am using 4.8.1. I tried
looking for StoredDocument and SimpleCollector in the source code but
couldn't find them. Am I missing something?
--
View this message in context:
http://lucene.472066.n3.nabble.com/Lucen
Hi.
Your question is actually not particularly spatial; it’s more
circumstantial to your particular query. You want to know how to do a query
and collect *all* the results, in no particular order. To do this
efficiently, you need to use a Collector. Also, I noticed you are using
the “IsWithin” p
I responded to the solr-user thread.
-
Author: http://www.packtpub.com/apache-solr-3-enterprise-search-server/book
--
View this message in context:
http://lucene.472066.n3.nabble.com/question-re-lucene-spatial-toolkit-aka-LSP-aka-spatial4j-tp3999889p425.html
Sent from the Lucene
ntextHandlerCollection.handle(ContextHand
lerCollection.java:230)
at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.
java:114)
--
View this message in context:
http://lucene.472066.n3.nabble.com/question-re-lucene-spatial-toolkit-aka-LSP-aka-spatial4j-tp39998
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 same
Hello Grant,
> Is there a specific thing you are having a problem with?
In LocalLucene, we use DistanceSortSource for sorting, which is no more.
How do we do distance sorting in Spatial?
Also, we use BoundaryBoxFilter to show all points visible in a zoomable
map. This class is no longer the
Hi Guillermo,
I think you will find that Lucene Spatial is going under a significant rewrite
in the coming weeks, so I'm hesitant to recommend you upgrading to it at this
point in time. That being said, the concepts behind Lucene Spatial and
LocalLucene aren't all that different, so it should
I had seen those, but they don't quite help on our problem of migrating from
LocalLucene 2.0 to Lucene Spatial. We don't use Solr.
Thanks though.
Anybody using Lucene Spatial, without Solr, wanting to share some code for
a basic geographical search?
--G
On Tue, Mar 30, 2010 at 03:05:43PM
On Sat Guillermo Payet wrote:
> Maybe point me to some docs? Is there any sample
> code for a basic lucene search using it?
A quick Google search for lucene spatial revealed the following
articles:
http://www.nsshutdown.com/projects/lucene/whitepaper/locallucene_v2.html
http://blog.jteam.nl/200
21 matches
Mail list logo