Re: Spatial filter in solr 4.0 - Intersects operation with parameters

2013-01-02 Thread David Smiley (@MITRE.org)
Mladen, FYI I just committed this to 4.x: https://issues.apache.org/jira/browse/SOLR-4230 ~ David mladen micevic wrote Hi, I went through example for spatial search in Solr 4.0 (http://wiki.apache.org/solr/SolrAdaptersForLuceneSpatial4) Both indexing and searching work fine. Example

Re: Spatial filter in solr 4.0 - Intersects operation with parameters

2012-12-26 Thread mladen micevic
Thank you David for your quick response. I was thinking yesterday about my problem. Caller should not be aware of internals of my Solr configuration (filed name, operation). Caller can describe search area with center point and radius and I need to translate input parameters into Solr query. Now,

Re: Spatial filter in solr 4.0 - Intersects operation with parameters

2012-12-26 Thread David Smiley (@MITRE.org)
It's unusual to have Solr be the first point of entry into a service. Usually it's fronted with a web application that has the business logic that knows how to map the request to the search back-end. Given your further questions, almost anything could work without much trouble: * A standard

Spatial filter in solr 4.0 - Intersects operation with parameters

2012-12-25 Thread mladen micevic
Hi, I went through example for spatial search in Solr 4.0 (http://wiki.apache.org/solr/SolrAdaptersForLuceneSpatial4) Both indexing and searching work fine. Example is: fq=geo:Intersects(-74.093 41.042 -69.347 44.558) My problem is how to send values to Intersects operation as parameters. If

Re: Spatial filter in solr 4.0 - Intersects operation with parameters

2012-12-25 Thread David Smiley (@MITRE.org)
Hi Mladen, Despite some similarities at first glance, the Solr 4 spatial fields are not implemented with Solr query parsers, unlike Solr 3 spatial. Everything in quotes is handled by the field type. What you're looking for is for the Solr 3 geospatial functions to be adapted to support the Solr