Hi Guilherme,

That's a neat idea for a feature.  It'd be nice if there was a proper Solr
"Qparser" for these fields because that would then make a nice extension
point to further dereference the shape reference from the index itself.
There is a JIRA issue for that.  At least writing such a Qparser should be
pretty easy for your own needs.  In my spatial app, the polygons aren't in
the index so I wouldn't use it but we do have an ongoing problem of
constantly re-sending large polygons that repeatedly need to get re-parsed.

~ David Smiley

On 2/15/13 1:22 PM, "Pires, Guilherme" <guilherme.pi...@cgi.com> wrote:

>Hello,
>
>Thanks for the suggestion.
>
>I actually solved the issue using POST and xmhttp.send(query). However I
>think the most important question is do I really need to query an object
>to obtain its wkt polygon and then send that polygon again to enquiry
>solr geographically? Wouldn't be perfect if I could ...
>Geo:intersects(anonject.polygon) ?
>
>Thanks
>Guilherme
>________________________________________
>De: Erick Erickson [erickerick...@gmail.com]
>Enviado: sexta-feira, 15 de Fevereiro de 2013 13:20
>Para: solr-user@lucene.apache.org
>Assunto: Re: solr 4.1 spatial with JTS - spatial query withitin a WKT
>polygon contained within another query ...
>
>I've seen references to upping the packet limit that your servlet
>container
>allows, but
>I don't have the details offhand. It's possible that you're never even
>getting to Solr,
>looking at the solr log and seeing if anything gets there when you issue
>that request
>should help.
>
>Best
>Erick
>
>
>On Thu, Feb 14, 2013 at 6:12 AM, Pires, Guilherme
><guilherme.pi...@cgi.com>wrote:
>
>> Hello Everyone,
>>
>> I've been integrating Solr 4.1 into a Web GIS solution and it's working
>> great.
>> I have implemented JTS within Solr 4.1 and indexed thousands of WKT
>> polygons provided by XML document genereated by a GE's GIS Core system.
>> Everything seems to working out great.
>>
>> Now I have a feature where I want to query solr with
>>  geo:intersects((POLYGON(...  with a polygon too big to send via xmlhttp
>> object. I'm getting a http 505 error.
>>
>> 1.      Is there any other way of sending this huge string back to solr?
>> (I've tried GET and POST)
>> 2.      This polygon was the result of a previous query so, is there a
>>  way of query inside a query? Something like ,...
>> fq=geo:intersects(<another query.spatialfield_with_the_wkt_polygon) ?
>> Thanks
>> Guilherme
>>
>>
>>
>>

Reply via email to