in.com/in/davidwsmiley
On Mon, Jul 6, 2020 at 5:18 AM Sunil Varma wrote:
> Hi David
> Thanks for your response. Yes, I noticed that all the data causing issue
> were at the poles. I tried the "RptWithGeometrySpatialField" field type
> definition but get a "Spatial co
Hi David
Thanks for your response. Yes, I noticed that all the data causing issue
were at the poles. I tried the "RptWithGeometrySpatialField" field type
definition but get a "Spatial context does not support S2 spatial
index"error. Setting "spatialContextFactory="G
Developer
http://www.linkedin.com/in/davidwsmiley
On Fri, Jul 3, 2020 at 7:48 AM Sunil Varma wrote:
> We are seeing OOM errors when trying to index some spatial data. I believe
> the data itself might not be valid but it shouldn't cause the Server to
> crash. We see this on both Solr 7.6 a
We are seeing OOM errors when trying to index some spatial data. I believe
the data itself might not be valid but it shouldn't cause the Server to
crash. We see this on both Solr 7.6 and Solr 8. Below is the input that is
causing the error.
{
"id": "bad_data_1",
"
n 9.0 as it's obsolete.
~ David Smiley
Apache Lucene/Solr Search Developer
http://www.linkedin.com/in/davidwsmiley
On Fri, Feb 14, 2020 at 6:47 AM vas aj wrote:
> Hi team,
>
> I am using Lucene 6.6.2, Spatial4j 0.7, lucene-spatial-extras 6.6.2. I am
> trying to create a Spat
Hi team,
I am using Lucene 6.6.2, Spatial4j 0.7, lucene-spatial-extras 6.6.2. I am
trying to create a Spatial Query string for a given longitude, latitude &
radius in miles.
The query string generated using SpatialHelper (code as attached ) for
long: -122.8515139 & lat: 45.5099231 in .
Your English is perfect.
I forwarded my response without your contact info.
I *do* follow solr-users but only certain key words like "spatial" (and
some other topics) and some words related to that domain (e.g. polygon,
etc.). I so your post would have gotten my attention.
On Wed, J
on.
https://lucene.apache.org/solr/guide/8_3/query-re-ranking.html
-- Forwarded message -
From: Marc
Date: Tue, Jan 7, 2020 at 6:14 AM
Subject: Solr spatial search - overlapRatio of polygons
To: David Smiley
Dear Mr Smiley,
I have a tricky question concerning the spatial search f
Do you know how URLs are structured? They include name=value pairs
separated by ampersands. This takes precedence over the contents of any
particular name or value. Consequently looking at your parenthesis doesn't
make sense since the open-close span ampersands and thus go to different
filter qu
Thanks,
Could you please help me in combining two geofilt fqs as the following gives
error, it treats ")" as part of the d parameter and gives error that 'd=80)'
is not a valid param:
({!geofilt}&sfield=adminLatLon&pt=33.0198431,-96.6988856&d=80)+OR+({!geofilt}&sfield=adminLatLon&pt=50.2171726,8
Thanks,
Could you please also let me know how to combine two geofilt fqs because if
i use '&' like :
admin_directory_search_geolocation?q=david&fq=({!geofilt&sfield=adminLatLon&pt=33.0198431,-96.6988856&d=80})+OR+({!geofilt&sfield=adminLatLon&pt=50.2171726,8.265894&d=80})
then it gives me error a
> But when I combine the two FQs then sorting doesn’t work.
>
>
>
> Please help.
>
>
>
>
>
> Best regards,
>
> Anushka gupta
>
>
>
>
>
>
>
> *From:* David Smiley
> *Sent:* Friday, September 13, 2019 10:29 PM
> *To:* Anushka Gupta
> *Subj
https://stackoverflow.com/questions/48348312/solr-7-how-to-do-full-text-search-w-geo-spatial-search
On Mon, Sep 30, 2019 at 10:31 AM Anushka Gupta <
anushka_gu...@external.mckinsey.com> wrote:
> Hi,
>
> I want to be able to filter on different cities and also sort the res
Well, first of all your first query with the two fq clauses has sort specified
with a space, rather than an ampersand (&). Twice. Even if that worked, Solr
would only use one I think.
It’s really unclear what you’re after. It makes no sense to me to specify two
sorts in a single query, which is
Hi,
I want to be able to filter on different cities and also sort the results
based on geoproximity. But sorting doesn’t work:
admin_directory_search_geolocation?q=david&fq=({!geofilt+sfield=adminLatLon+pt=33.0198431,-96.6988856+d=80+sort=min(geodist(33.0198431,-96.6988856))})+OR+({!geofilt+sfiel
ine the two FQs then sorting doesn’t work.
Please help.
Best regards,
Anushka gupta
From: David Smiley
Sent: Friday, September 13, 2019 10:29 PM
To: Anushka Gupta
Subject: [EXT]Re: Need urgent help with Solr spatial search using
SpatialRecursivePrefixTreeFieldType
Hello,
Please don
orward solution is to have your spatial field be redundant with
> the lat & lon separately. Your spatial field could be stored=false, and
> the separate fields would be stored but otherwise not be indexed or have
> other characteristics that add weight. The result is efficient
Hi,
I think your requirement of exporting back to CSV is fine but it's quite
normal for there to be some transformation steps on input and/or output...
and that such steps you mostly do yourself (not Solr). That said, one
straight-forward solution is to have your spatial field be redundant
Hi all,
I'm importing documents (rows in excel file) that includes latitude and
longitude fields. I want to use those two separate fields for searching with a
bounding box. Is this possible (not using deprecated LatLonType) or do I need
to combine them into one single field when indexing? The r
Hi,
Which version of Solr are you using?
And are your different shard on the same machine or different machine?
Regards,
Edwin
On Tue, 4 Sep 2018 at 18:04, tkg_cangkul wrote:
> Hi i wanna try to rendering solr data spatial from geoserver layer.
> when i try to render it from single shar
Hi i wanna try to rendering solr data spatial from geoserver layer.
when i try to render it from single shard solr collection, it works
normally.
but when i try to render it from multi shards solr collection, i've
found an error message below on my geoserver. Pls help
me":"geoLocation",
>>
>>"type":"location",
>>
>>"stored":true,
>>
>>"indexed":true
>>
>> }
>>
>> }' http://localhost:8983/solr/core/schema
>>
gt;
>"stored":true,
>
>"indexed":true
>
> }
>
> }' http://localhost:8983/solr/core/schema
>
>
>
> We are running Solr 7.1.0.
>
>
>
> Hope this helps.
>
>
>
> Regards,
>
>
>
> David
>
>
>
>
egards,
David
From: Aakanksha Gupta [mailto:aakankshagupta2...@gmail.com]
Sent: Monday, 19 February 2018 12:27 AM
To: solr-user@lucene.apache.org
Subject: Getting the error - The field '*' does not support spatial
filtering
Hi all,
I'm a newbie to Solr. I'm trying to
ommon.SolrException: The field latlong does not
support spatial filtering
Here's a snippet of my field definition in schema.xml in the conf folder of
my core:
And here are the field type definitions:
Here's the Query I
include the shapes from the first
> query above in my sort?"
>
> Unless I'm misunderstanding your intent, I think this is a simple matter of
> adding the spatial filter to the parent join query you are sorting on. So
> something like this (not tested):
>
> &sort=q
quote: "The problem is that this includes children that DON’T touch the
search area in the sum. How can I only include the shapes from the first
query above in my sort?"
Unless I'm misunderstanding your intent, I think this is a simple matter of
adding the spatial filter to the pa
Hiya,
So I have some nested documents in my index with this kind of structure:
{
"id": “parent",
"gridcell_rpt": "POLYGON((30 10, 40 40, 20 40, 10 20, 30 10))",
"density": “30"
"_childDocuments_" : [
{
"id":"child1",
"gridcell_rpt":"MULTI
Hiya,
So I have some nested documents in my index with this kind of structure:
{
"id": “parent",
"gridcell_rpt": "POLYGON((30 10, 40 40, 20 40, 10 20, 30 10))",
"density": “30"
"_childDocuments_" : [
{
"id":"child1",
"gridcell_rpt":"MULTI
. (One was
slightly more permissive about something). As for fields I was using RPT
fields, which is more appropriate for arbitrary polygons I believe... also
note you may need to add JTS to solr as described here:
https://lucene.apache.org/solr/guide/7_2/spatial-search.html#jts-and-polygons-flat
I do
ies, so if I am looking for a major
city, I’d want to boost this search result. Hope that makes sense. I’m not sure
if flattening into a single shape would work for this purpose.
Thanks :)
> On 17/01/2018, at 10:12 PM, Emir Arnautović
> wrote:
>
> Hi Leila,
> I haven’t been u
Hi Leila,
I haven’t been using spatial in a while and did not test this, but based on
error, it seems that multivalue is not supported for this field type. Can you
index a single MULTIPOLYGON? Why do you need to have multiple values? Can you
flat your geometry to a single MULTIPOLYGON or
Hi all,
I need to index multiple POLYGONS/MULTIPOLYGONS per document; I’m trying to use
multiValued RptWithGeometrySpatialField and I’m getting this error:
Exception writing document id leila_test to the index; possible analysis error:
DocValuesField "gridcell_rpt" appears more than once in thi
Hi,
I have some data in WKT string format (either POLYGON or MULTIPOLYGON) and I’d
like to index it in Solr 7.0. As there are multiple polygons in every WKT
string, I’d ideally like to index them multiValued BBoxField (couldn’t find
anywhere to confirm, but it looks like multiValued is a valid
use spatial to filter our covered cells and json faceting to
sum density over layer field. Something like:
top_layers:{
type: terms,
field: layer,
limit: 10,
sort: “total_density desc”,
facet:{
total_density: “sum(density)”
}
}
I didn’t use
HTH,
Emir
t; solr/guide/7_0/uploading-data-with-index-handlers.html#
> UploadingDatawithIndexHandlers-NestedChildDocuments>
>
> I have never used nested documents, but a bit of background on what I’m
> doing is that a spatial data layer consisting of features (points, lines,
> polygons, or an
r used nested documents, but a bit of background on what I’m doing
is that a spatial data layer consisting of features (points, lines, polygons,
or an aerial image) is split up into sections (grid cells) based on the density
of these features over the layer; smaller grid cells indicate high dens
tml#UploadingDatawithIndexHandlers-NestedChildDocuments>
I have never used nested documents, but a bit of background is that a spatial
data layer consisting of features (points, lines, polygons, or an aerial image)
is split up into sections (grid cells) based on the density of these features
ov
Hi Leila,
Maybe I need to refresh my spatial terminology, but I am having troubles
following your case. Can you explain a bit more, what is dataset that is
indexed and what are query inputs and what should be the result. The one thing
that puzzles me the most is “nested documents”.
Thanks
Hi,
I’m quite new to Solr and am interested in using spatial search for geospatial
data (Solr 7.1).
One problem is addressing feature density over a layer and using this to
determine if a layer would be a relevant result over a search extent. I’d like
to know is it feasible/possible to “split
Hi,
Firstly, if Solr returns an error referencing an exception then you can
look in Solr's logs for the stack trace, which helps debugging problems a
ton (at least for Solr devs).
I suspect that the problem here is that your schema might have a dynamic
field where *coordinates is defined to be a
hi everyone,
I am trying spatial query in solr such as intersects, within etc. I write below
query but it is wrong. I try 3 different method this query but all query return
same error.
How to run spatial query in solr? Such as intersect, iswithin etc.
Best Regards.
1-
http://localhost:8983
Hi Can,
For your first question: you should share more information with us as Rick
indicated. Do you have any errors, do you have unique ids or not etc?
For the second one: you should read here:
https://cwiki.apache.org/confluence/display/solr/Spatial+Search and ask
your questions if you have
hi Can Ezgi
> First of all, i want to use spatial index for my data include
polyghons and points. But solr indexed first 18 rows, other rows not
indexed.
Do all rows have a unique id field?
Are there errors in the logfile?
cheers -- Rick
.
Hi everyone,
First of all, i want to use spatial index for my data include polyghons and
points. But solr indexed first 18 rows, other rows not indexed. I need sample
datas include polyghons and points.
Other problem, i will write spatial query this datas. This spatial query
include
ding on exactly what
you're doing. Most people by far don't need to care, I've found.
Basically: If geo="true" on the spatial field (the default), then you work
in decimal degrees latitude,longitude. Point-distance queries (i.e.
circles) use spherical geometry. When geo=
Hi All
I've been skimming through the spatial search docs and came across this section:
https://lucene.apache.org/solr/guide/6_6/spatial-search.html#SpatialSearch-Filteringbyanarbitraryrectangle
"Sometimes the spatial search requirement calls for finding everything in a
rectan
> for d.
>>>
>>> though it sounds like havinga default d and gradual increments on its
>> value
>>> might be a work around for top K results...
>>>
>>>
>>>
>>>
>>>
>>> -
>>> Zeki ama calismiyor... Calissa yapar...
>>> --
>>> View this message in context: http://lucene.472066.n3.
>>> nabble.com/Spatial-Search-based-on-the-amount-of-docs-not-the-distance-
>>> tp4342108p4342258.html
>>> Sent from the Solr - User mailing list archive at Nabble.com.
>>>
>>
Will do. Thanks for the tip!
-Original Message-
From: David Smiley [mailto:david.w.smi...@gmail.com]
Sent: Wednesday, June 28, 2017 8:38 AM
To: solr-user@lucene.apache.org
Subject: Re: Solr 5.5 - spatial intersects query returns results outside
of search box
No prob.
BTW you may want to
ecking in my
> Solr indexing script to trap for this type of coordinate mismatch.
>
> -Original Message-
> From: David Smiley [mailto:david.w.smi...@gmail.com]
> Sent: Wednesday, June 28, 2017 8:21 AM
> To: solr-user@lucene.apache.org
> Subject: Re: Solr 5.5 - sp
: Re: Solr 5.5 - spatial intersects query returns results outside
of search box
> On Jun 27, 2017, at 3:28 AM, Leila Gonzales wrote:
>
> {
>
>"id": "5230",
>
>"location_geo":
>
["ENVELOPE(-75.0,-75.939723,39.3
> On Jun 27, 2017, at 3:28 AM, Leila Gonzales wrote:
>
> {
>
>"id": "5230",
>
>"location_geo":
> ["ENVELOPE(-75.0,-75.939723,39.3597224,38.289722)"]
>
> }
This is an unusual rectangle. Remember this is minX, maxX, maxY, minY. Thus
this rectangl
Hi all,
I’m running on Solr 5.5 and have run into an issue where the Solr spatial
search is returning results outside of the search rectangle parameters, and
I’m not quite sure what is causing this to happen. Thank you in advance for
any troubleshooting tips you can pass along.
The spatial
t; >
> > though it sounds like havinga default d and gradual increments on its
> value
> > might be a work around for top K results...
> >
> >
> >
> >
> >
> > -
> > Zeki ama calismiyor... Calissa yapar...
> > --
> > View this
gt; might be a work around for top K results...
>
>
>
>
>
> -
> Zeki ama calismiyor... Calissa yapar...
> --
> View this message in context: http://lucene.472066.n3.
> nabble.com/Spatial-Search-based-on-the-amount-of-docs-not-the-distance-
> tp4342108p4342258.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>
on its value
might be a work around for top K results...
-
Zeki ama calismiyor... Calissa yapar...
--
View this message in context:
http://lucene.472066.n3.nabble.com/Spatial-Search-based-on-the-amount-of-docs-not-the-distance-tp4342108p4342258.html
Sent from the Solr - User mailing list
return the top K you like.
[1] https://cwiki.apache.org/confluence/display/solr/Spatial+Search
-
---
Alessandro Benedetti
Search Consultant, R&D Software Engineer, Director
Sease Ltd. - www.sease.io
--
View this message in context:
http://lucene.472066.n3.nabble.com/Spa
I am trying to figure out if it is possible to have the spatial search limit
itself based on the amount of docs rather than the distance...
What I want is, sth like "closest XXX documents from point(x,y)" in
dependent from "d" value in the query... would this need a custom
llows:
> class="solr.SpatialRecursivePrefixTreeFieldType"
>
> spatialContextFactory="com.spatial4j.core.context.jts.JtsSpatialContextFactory"
> validationRule="repairBuffer0" geo="true" distErrPct="0.025"
> maxDistErr="0.09" units="degrees"
solr-version:4.7.0
field spec as follows:
And i index some MULTILINESTRING (wkt formatted shape, the road data), and
i query use "Intersects" spatial predicates like
fq=geom:"Intersects(POLYGON((-10 30, -40 40, -10 -20, 40 20, 0 0, -10 30)))
distErrPct=0".
In fact,
s for sure assuming you are
using the latest Solr release (6.5.x). You said "Solr version 6.1.0" which
doesn't have this field type though.
~ David
On Thu, Apr 27, 2017 at 8:26 AM freddy79
wrote:
> Hi,
>
> when doing a query with spatial search i get the error: can not
It does work with "solr.LatLonPointSpatialField" instead of
"solr.LatLonType".
But why not with "solr.LatLonType"?
--
View this message in context:
http://lucene.472066.n3.nabble.com/Spatial-Search-can-not-use-FieldCache-on-a-field-which-is-neither-index
Hi,
when doing a query with spatial search i get the error: can not use
FieldCache on a field which is neither indexed nor has doc values:
latitudeLongitude_0_coordinate
*SOLR Version:* 6.1.0
*schema.xml:*
*Query:*
http://localhost:8983/solr/career_educationVacancyLocation/select?q=*:*&am
<
emir.arnauto...@sematext.com> wrote:
> Hi Michael,
>
> I haven't been playing with spatial for a while, but if it fully
> supports WKT, you could use Intersects instead of Contains and
> MULTIPOINT instead of POINT. Something like:
>
> fq={!field f=regionGeometry
Hi Michael,
I haven't been playing with spatial for a while, but if it fully
supports WKT, you could use Intersects instead of Contains and
MULTIPOINT instead of POINT. Something like:
fq={!field f=regionGeometry}Intersects(MULTIPOINT((x1 y1), (x2, y2)))
In any case you can use
Hi all,
I index documents containing a spatial field (rpt) that holds a wkt
multipolygon. In order to retrieve all documents for which a certain point
is contained within a polygon I issue the following query:
q=*:*&fq={!field f=regionGeometry}Contains(POINT( ))
This works pretty good.
Should be something like:
1125258
Mumgaon
26.3833,93.4833
1125259
Mummasar
28.2167,74.2833
Then just post it to Solr with post.jar. for testing, just to make
things simple, I put the XML file in example/exampledocs/eoe.xml and
issued the following from that directory.
java -Du
Hi,
Thanks for your reply.
What format should xml file be for data import?
Will something like below be acceptable to my field definition?
1
Test
123,456
2
Test2
78,89
Thanks
AA
On 28 September 2016 at 18:38, Erick Erickson
wrote:
> First, nice job of posting enough inf
First, nice job of posting enough information to define the problem and allow
us to check something! Far too often it takes 3 back-and-forths to get enough
info to say anything.
Hmm, on the surface that looks OK. I tried using your field
definitions, data and query
and it works fine on my machine
down votefavorite
<http://stackoverflow.com/questions/39739430/solr-spatial-search-not-returning-any-results-in-response-element#>
I am using Solr version 6.2.1 and trying to return closest location for a
given latitude and longitude.
I have manage to add data into Solr and indexed it.
M
Hi list,
I am trying spatial search in SOLR 5.0 and I don't know how to implement
a solution for the problem I will try to explain.
On a SOLR server I have indexed a collection of objects that contains
spacial field :
multiValued="true" />
class="solr.SpatialRecur
Hi Leo,
You should use two spatial fields for this -- one is for an indexed
Box/Envelope, and another for an indexed LineString. The indexed box
should use either BBoxField or RptWithGeometrySpatialField, and the
LineString field should use RptWithGeometrySpatialField. If you have an
older
Hi,
I am trying spatial search in SOLR 5.0 and I don't know how to implement
a solution for the problem I will try to explain.
On a SOLR server I have indexed a collection of objects that contains
spacial field :
multiValued="true" />
class="solr.SpatialRecur
Hi tig. Most likely, you didn't repeat the first point as the last. Even
though it's redundant, nonetheless this is what WKT (and some other spatial
formats) calls for.
~ David
On Wed, Jul 20, 2016 at 10:13 PM tkg_cangkul wrote:
> hi i try to indexing spatial format to solr 5.5.0
hi i try to indexing spatial format to solr 5.5.0 but i've got this
error message.
error1
error2
anybody can help me to solve this pls?
r 5 node reloads the configuration.
>
> --Ere
>
> 30.6.2016, 3.46, David Smiley kirjoitti:
> > For polygons in 6.0 you need to set
> >
> spatialContextFactory="org.locationtech.spatial4j.context.jts.JtsSpatialContextFactory"
> > -- see
> > https://cwiki.apache
.0 you need to set
>>
>> spatialContextFactory="org.locationtech.spatial4j.context.jts.JtsSpatialContextFactory"
>> -- see
>> https://cwiki.apache.org/confluence/display/solr/Spatial+Search and the
>> example. And of course as you probably already know, put the JTS jar on
>> Solr
t;
> spatialContextFactory="org.locationtech.spatial4j.context.jts.JtsSpatialContextFactory"
> -- see
> https://cwiki.apache.org/confluence/display/solr/Spatial+Search and the
> example. And of course as you probably already know, put the JTS jar on
> Solr's classpath. What likely tripped
while making sure that no Solr 5 node reloads the configuration.
--Ere
30.6.2016, 3.46, David Smiley kirjoitti:
For polygons in 6.0 you need to set
spatialContextFactory="org.locationtech.spatial4j.context.jts.JtsSpatialContextFactory"
-- see
https://cwiki.apache.org/confluence/display/so
For polygons in 6.0 you need to set
spatialContextFactory="org.locationtech.spatial4j.context.jts.JtsSpatialContextFactory"
-- see
https://cwiki.apache.org/confluence/display/solr/Spatial+Search and the
example. And of course as you probably already know, put the JTS jar on
Solr
hi, i try to load data spatial from solr with geoserver.
when i try to show the layer preview i've got this error message.
error
anybody can help me pls?
, 2016 at 2:31 AM, tkg_cangkul wrote:
> hi, i try to load data spatial from solr with geoserver.
> when i try to show the layer preview i've got this error message.
>
> [image: error]
>
>
> anybody can help me pls?
>
Where is the doc that's "somewhere online"? One of the
issues I face constantly is knowing what _current_
information is. Lots of posts out there are perfectly
correct at the time they were written, but haven't been
updated.
Best,
Erick
On Fri, Apr 29, 2016 at 6:16 AM, GW wrote:
> I realise the
I realise the world wrap thing. but it is correct ~ they are coordinates
taken from Google maps. I'd does not really matter though. I switched the
query to use geofilt and everything is fine.
Here's the kicker.
There is a post somewhere online that says you cannot use geofilt with
multivalued loc
Hi.
This makes sense to me. The point 49.8,-97.1 is in your query box. The
box is lower-left to upper-right, so your box is actually an almost
world-wrapping one grabbing all longitudes except -93 to -92. Maybe you
mean to switch your left & right.
On Sun, Apr 24, 2016 at 8:03 PM GW wrote:
>
I was not getting the results I expected so I started testing with the solr
webclient
Maybe I don;t understand things.
simple test query
q=*:*&fq=locations:[49,-92 TO 50,-93]
I don't understand why I get a result set for longitude range -92 to -93
but should be zero results as far as I understa
spreadsheet with the zipcodes and their guestimated center.
> > Fun project!
> >
> > > Subject: Re: Spatial Search on Postal Code
> > > To: solr-user@lucene.apache.org
> > > From: emir.arnauto...@sematext.com
> > > Date: Fri, 4 Mar 2016 21:18:10 +0100
> >
s and their guestimated center.
> Fun project!
>
> > Subject: Re: Spatial Search on Postal Code
> > To: solr-user@lucene.apache.org
> > From: emir.arnauto...@sematext.com
> > Date: Fri, 4 Mar 2016 21:18:10 +0100
> >
> > Hi Manohar,
> > I don't thin
rtainly you can buy a spreadsheet with
the zipcodes and their guestimated center. Fun project!
> Subject: Re: Spatial Search on Postal Code
> To: solr-user@lucene.apache.org
> From: emir.arnauto...@sematext.com
> Date: Fri, 4 Mar 2016 21:18:10 +0100
>
> Hi Manohar,
> I don
13:09, Manohar Sripada wrote:
Here's my requirement - User enters postal code and provides the radius.
I
need to find the records with in the radius from the provided postal code.
There are few ways I thought through after going through the "Spatial
Search" Solr wiki
1. As La
da > wrote:
> >
> > Here's my requirement - User enters postal code and provides the
> radius. I
> > need to find the records with in the radius from the provided postal
> code.
> >
> > There are few ways I thought through after going through the "Spatia
ode.
>>
>> There are few ways I thought through after going through the "Spatial
>> Search" Solr wiki
>>
>> 1. As Latitude and Longitude positions are required for spatial search.
>> Get
>> Latitude Longitude position (may be using GeoCoding API) of
nters postal code and provides the radius. I
> need to find the records with in the radius from the provided postal code.
>
> There are few ways I thought through after going through the "Spatial
> Search" Solr wiki
>
> 1. As Latitude and Longitude positions are requir
find matches.
HTH,
Emir
On 04.03.2016 13:09, Manohar Sripada wrote:
Here's my requirement - User enters postal code and provides the radius. I
need to find the records with in the radius from the provided postal code.
There are few ways I thought through after going through the "Spat
Here's my requirement - User enters postal code and provides the radius. I
need to find the records with in the radius from the provided postal code.
There are few ways I thought through after going through the "Spatial
Search" Solr wiki
1. As Latitude and Longitude positions a
r case, I'd
expect a quick select of your data would show those fields. And your first
query wasn't a spatial query; there is no spatial=true parameter. You got
it right the second time.
On Tue, Feb 16, 2016 at 4:03 AM Colin Freas wrote:
>
> Looks like the only issue was that I
Looks like the only issue was that I did not have an alias for SourceRpt
field in the SQL.
With that in place, everything seems to work more or less as expected.
SourceRpt shows up where it should.
Queries like
http://localhost:8983/solr/spatial/select?q=*:*&fq={!geofilt%20sfield=
spatial query, it doesn¹t work.
Here¹s what I¹m doing. Pertinent bits from my schema:
...
CatID
...
In my db-config.xml, I¹ve got this sql:
When I run a data import through Solr¹s admin gui and
Hello Colin,
If the spatial field you use is the SpatialRecursivePrefixTreeFieldType one
(RPT for short) with geo="true" then the circle shape (i.e. point-radius
filter) implied by the geofilt Solr QParser is on a sphere. That is, it
uses the "great circle" distance computed
Greetings!
I have recently stood up an instance of Solr, indexing a catalog of about 100M
records representing points on the celestial sphere. All of the fields are
strings, floats, and non-spatial types. I’d like to convert the positional
data to an appropriate spatial point data type
1 - 100 of 626 matches
Mail list logo