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
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
>>
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.
>
#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.
Yes this is just running the sample. The query is as follows
http://localhost:8080/solr/select?debugQuery=true&q=point%3A%22IsWithin%28POLYGON%28%28-74.527709960938+40.350830078125%2C-74.4892578125+39.730102539062%2C-75.263793945313+39.653198242187%2C-74.527709960938+40.350830078125%29%29%29%22&r
Is this happening reproducibly from the demo app? Please try and reproduce it
there; if you can't then the problem is somewhere in your setup, I figure. If
you can reproduce it in the demo then please send me a direct email with the
polygon shape, and your expectation of a particular point that
I think I've missed something. From what I'm seeing it appears that a
bounding box is being built from my polygon and any points in that
bounding box are returned. This makes sense from the debug which says
the query is
+(+point__x:[-75.267333984375 TO -74.569702148438]
+point__y:[39.512329101563
Thanks for the reply.
My setup has a point in the field and a shape as the query. Given
this it sounds as if I can get more precise results by changing the
distErrPct on a query parameter. I'll give this a whirl. Again thank
you.
On Thu, Jul 21, 2011 at 11:13 AM, Smiley, David W. wrote:
> If
If you are talking about indexed shapes, then there is an attribute on the
field type definition in your schema called "distErrPct". Reasonable values
are between .01 and .20, in my opinion. The default is .025, but try setting
it to .01. For points, use the "maxDetailKm" parameter, which is
Thanks David. When trying to execute queries on a complex irregular
polygon (say the shape of NJ) I'm getting results which are actually
outside of that polygon. Is there a setting which controls this
resolution?
On Wed, Jul 20, 2011 at 2:53 PM, Smiley, David W. wrote:
> The notion of a "system
The notion of a "system property" is a java concept; google it and you'll learn
more.
BTW, despite my responsiveness in helping right now; I'm pretty busy this week
so this won't necessarily last long.
~ David
On Jul 20, 2011, at 2:43 PM, Jamie Johnson wrote:
> Where do you set that?
>
> On W
Where do you set that?
On Wed, Jul 20, 2011 at 2:37 PM, Smiley, David W. wrote:
> You can set the system property SpatialContextProvider to
> com.googlecode.lucene.spatial.base.context.JtsSpatialContext
>
> ~ David
>
> On Jul 20, 2011, at 2:02 PM, Jamie Johnson wrote:
>
>> So I've pulled the lat
You can set the system property SpatialContextProvider to
com.googlecode.lucene.spatial.base.context.JtsSpatialContext
~ David
On Jul 20, 2011, at 2:02 PM, Jamie Johnson wrote:
> So I've pulled the latest and can run the example, I've tried to move
> my config over and am having a bit of an iss
So I've pulled the latest and can run the example, I've tried to move
my config over and am having a bit of an issue when executing queries,
specifically I get this:
Unable to read: POLYGON((...
looking at the code it's usign the simple spatial context, how do I
specify JtsSpatialContext?
On Wed
Thanks for the update David, I'll give that a try now.
On Wed, Jul 20, 2011 at 10:58 AM, Smiley, David W. wrote:
> Ryan just updated LSP for Lucene/Solr trunk compatibility so you should do a
> "mvn clean install" and you'll be back in business.
>
> On Jul 20, 2011, at 10:37 AM, Jamie Johnson wr
Ryan just updated LSP for Lucene/Solr trunk compatibility so you should do a
"mvn clean install" and you'll be back in business.
On Jul 20, 2011, at 10:37 AM, Jamie Johnson wrote:
> Thanks for responding so quickly, I don't mind waiting a bit. I'll
> hang out until the updates have been made.
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 ha
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 t
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?
19 matches
Mail list logo