Re: Out of memory errors with Spatial indexing

2020-07-06 Thread David Smiley
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

Re: Out of memory errors with Spatial indexing

2020-07-06 Thread Sunil Varma
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

Re: Out of memory errors with Spatial indexing

2020-07-03 Thread David Smiley
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

Out of memory errors with Spatial indexing

2020-07-03 Thread Sunil Varma
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", "

Re: Syntax error while parsing Spatial Query as string

2020-02-14 Thread David Smiley
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

Syntax error while parsing Spatial Query as string

2020-02-14 Thread vas aj
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 .

Re: Solr spatial search - overlapRatio of polygons

2020-01-08 Thread David Smiley
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

Fwd: Solr spatial search - overlapRatio of polygons

2020-01-08 Thread David Smiley
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

Re: Re: Need urgent help with Solr spatial search using SpatialRecursivePrefixTreeFieldType

2019-10-01 Thread David Smiley
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

Re: Re: Need urgent help with Solr spatial search using SpatialRecursivePrefixTreeFieldType

2019-10-01 Thread anushka gupta
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

Re: SOlr Spatial Search - Filter and sort on multiple cities

2019-10-01 Thread anushka gupta
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

Re: Re: Need urgent help with Solr spatial search using SpatialRecursivePrefixTreeFieldType

2019-09-30 Thread David Smiley
> 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

Re: Re: Need urgent help with Solr spatial search using SpatialRecursivePrefixTreeFieldType

2019-09-30 Thread Tim Casey
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

Re: SOlr Spatial Search - Filter and sort on multiple cities

2019-09-30 Thread Erick Erickson
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

SOlr Spatial Search - Filter and sort on multiple cities

2019-09-30 Thread anushka gupta
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

RE: Re: Need urgent help with Solr spatial search using SpatialRecursivePrefixTreeFieldType

2019-09-30 Thread Anushka Gupta
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&#x

Re: Spatial Search using two separate fields for lat and long

2019-04-13 Thread Alexandre Rafalovitch
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

Re: Spatial Search using two separate fields for lat and long

2019-04-13 Thread David Smiley
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

Spatial Search using two separate fields for lat and long

2019-04-03 Thread Tim Hedlund
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

Re: error render solr data spatial from geoserver

2018-09-11 Thread Zheng Lin Edwin Yeo
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

error render solr data spatial from geoserver

2018-09-04 Thread tkg_cangkul
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

Re: Getting the error - The field '*********' does not support spatial filtering

2018-02-19 Thread Erick Erickson
me":"geoLocation", >> >>"type":"location", >> >>"stored":true, >> >>"indexed":true >> >> } >> >> }' http://localhost:8983/solr/core/schema >>

Re: Getting the error - The field '*********' does not support spatial filtering

2018-02-19 Thread Aakanksha Gupta
gt; >"stored":true, > >"indexed":true > > } > > }' http://localhost:8983/solr/core/schema > > > > We are running Solr 7.1.0. > > > > Hope this helps. > > > > Regards, > > > > David > > > >

RE: Getting the error - The field '*********' does not support spatial filtering

2018-02-18 Thread Howe, 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

Getting the error - The field '*********' does not support spatial filtering

2018-02-18 Thread Aakanksha Gupta
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&#x

Re: Sorting results for spatial search

2018-02-01 Thread Leila Deljkovic
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

Re: Sorting results for spatial search

2018-02-01 Thread David Smiley
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

Sorting results for spatial search

2018-01-31 Thread Leila Deljkovic
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

Sort for spatial search

2018-01-30 Thread Leila Deljkovic
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

Re: Spatial search - indexing WKT data

2018-01-17 Thread Gus Heck
. (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

Re: Solr 7 spatial search and WKT

2018-01-17 Thread Leila Deljkovic
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

Re: Solr 7 spatial search and WKT

2018-01-17 Thread Emir Arnautović
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

Solr 7 spatial search and WKT

2018-01-16 Thread Leila Deljkovic
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

Spatial search - indexing WKT data

2018-01-14 Thread Leila Deljkovic
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

Re: Spatial search (and nested docs)

2018-01-11 Thread Emir Arnautović
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

Re: Spatial search, nested docs, feature density

2018-01-10 Thread Mikhail Khludnev
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

Spatial search, nested docs, feature density

2018-01-10 Thread Leila Deljkovic
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

Re: Spatial search (and nested docs)

2018-01-10 Thread Leila Deljkovic
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

Re: Spatial search

2018-01-10 Thread Emir Arnautović
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

Spatial search

2018-01-09 Thread Leila Deljkovic
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

Re: Solr Spatial Query Problem Hk.

2017-10-04 Thread David Smiley
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

Solr Spatial Query Problem Hk.

2017-09-27 Thread Can Ezgi Aydemir
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

Re: Solr Spatial Index and Data

2017-09-17 Thread Furkan KAMACI
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

Re: Solr Spatial Index and Data

2017-09-14 Thread Rick Leir
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 .

Solr Spatial Index and Data

2017-09-14 Thread Can Ezgi Aydemir
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

Re: Spatial search with arbitrary rectangle?

2017-08-29 Thread David Smiley
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=

Spatial search with arbitrary rectangle?

2017-08-23 Thread Paweł Kordek
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

Re: Spatial Search based on the amount of docs, not the distance

2017-06-28 Thread David Smiley
> 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. >>> >>

RE: Solr 5.5 - spatial intersects query returns results outside of search box

2017-06-28 Thread Leila Gonzales
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

Re: Solr 5.5 - spatial intersects query returns results outside of search box

2017-06-28 Thread David Smiley
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

2017-06-28 Thread Leila Gonzales
: 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

Re: Solr 5.5 - spatial intersects query returns results outside of search box

2017-06-28 Thread David Smiley
> 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

Solr 5.5 - spatial intersects query returns results outside of search box

2017-06-27 Thread Leila Gonzales
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

Re: Spatial Search based on the amount of docs, not the distance

2017-06-22 Thread Tim Casey
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

Re: Spatial Search based on the amount of docs, not the distance

2017-06-21 Thread Erick Erickson
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. >

Re: Spatial Search based on the amount of docs, not the distance

2017-06-21 Thread deniz
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

Re: Spatial Search based on the amount of docs, not the distance

2017-06-21 Thread alessandro.benedetti
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

Spatial Search based on the amount of docs, not the distance

2017-06-21 Thread deniz
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

Re: why MULTILINESTRING can contains polygon in solr spatial search

2017-06-02 Thread David Smiley
llows: > class="solr.SpatialRecursivePrefixTreeFieldType" > > spatialContextFactory="com.spatial4j.core.context.jts.JtsSpatialContextFactory" > validationRule="repairBuffer0" geo="true" distErrPct="0.025" > maxDistErr="0.09" units="degrees"

why MULTILINESTRING can contains polygon in solr spatial search

2017-06-02 Thread kjdong
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,

Re: Spatial Search: can not use FieldCache on a field which is neither indexed nor has doc values: latitudeLongitude_0_coordinate

2017-04-30 Thread David Smiley
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

Re: Spatial Search: can not use FieldCache on a field which is neither indexed nor has doc values: latitudeLongitude_0_coordinate

2017-04-27 Thread freddy79
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

Spatial Search: can not use FieldCache on a field which is neither indexed nor has doc values: latitudeLongitude_0_coordinate

2017-04-27 Thread freddy79
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

Re: Boolean expression for spatial query

2017-03-02 Thread David Smiley
< 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

Re: Boolean expression for spatial query

2017-02-27 Thread Emir Arnautovic
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

Boolean expression for spatial query

2017-02-25 Thread Michael Dürr
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.

Re: Solr spatial search not returning any results in response element

2016-09-28 Thread Erick Erickson
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

Re: Solr spatial search not returning any results in response element

2016-09-28 Thread Zoomash Team
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

Re: Solr spatial search not returning any results in response element

2016-09-28 Thread Erick Erickson
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

Solr spatial search not returning any results in response element

2016-09-28 Thread Zoomash Team
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

request SOLR - spatial field with Intersect and Contains functions

2016-09-21 Thread Leo BRUVRY-LAGADEC
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

Re: request SOLR - spatial field with Intersect and Contains functions

2016-09-19 Thread David Smiley
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

request SOLR - spatial field with Intersect and Contains functions

2016-09-19 Thread Leo BRUVRY-LAGADEC
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

Re: error indexing spatial

2016-07-25 Thread David Smiley
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

error indexing spatial

2016-07-20 Thread tkg_cangkul
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?

Re: error rendering solr spatial in geoserver

2016-07-01 Thread David Smiley
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

Re: error rendering solr spatial in geoserver

2016-06-30 Thread Youzha
.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

Re: error rendering solr spatial in geoserver

2016-06-30 Thread Youzha
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

Re: error rendering solr spatial in geoserver

2016-06-30 Thread Ere Maijala
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

Re: error rendering solr spatial in geoserver

2016-06-29 Thread David Smiley
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&#

Re: error rendering solr spatial in geoserver

2016-06-29 Thread tkg_cangkul
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?

Re: error rendering solr spatial in geoserver

2016-06-29 Thread Erick Erickson
, 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? >

Re: issues doing a spatial query

2016-04-29 Thread Erick Erickson
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

Re: issues doing a spatial query

2016-04-29 Thread GW
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

Re: issues doing a spatial query

2016-04-28 Thread David Smiley
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: >

issues doing a spatial query

2016-04-24 Thread GW
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

Re: Spatial Search on Postal Code

2016-03-07 Thread Manohar Sripada
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 > >

Re: Spatial Search on Postal Code

2016-03-05 Thread david.w.smi...@gmail.com
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

RE: Spatial Search on Postal Code

2016-03-05 Thread steve shepard
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&#x

Re: Spatial Search on Postal Code

2016-03-04 Thread Emir Arnautovic
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

Re: Spatial Search on Postal Code

2016-03-04 Thread Manohar Sripada
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

Re: Spatial Search on Postal Code

2016-03-04 Thread Manohar Sripada
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

Re: Spatial Search on Postal Code

2016-03-04 Thread Erik Hatcher
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

Re: Spatial Search on Postal Code

2016-03-04 Thread Emir Arnautovic
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

Spatial Search on Postal Code

2016-03-04 Thread Manohar Sripada
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

Re: Using Solr's spatial functionality for astronomical catalog

2016-02-16 Thread david.w.smi...@gmail.com
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

Re: Using Solr's spatial functionality for astronomical catalog

2016-02-16 Thread Colin Freas
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=

Re: Using Solr's spatial functionality for astronomical catalog

2016-02-16 Thread Colin Freas
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

Re: Using Solr's spatial functionality for astronomical catalog

2016-01-20 Thread david.w.smi...@gmail.com
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

Using Solr's spatial functionality for astronomical catalog

2016-01-19 Thread Colin Freas
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   2   3   4   5   6   7   >