lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Smiley (" <>
Subject Re: Solr spatial search within the polygon
Date Mon, 10 Mar 2014 17:36:17 GMT
You're going to have to use the Lucene-spatial module directly then.  There's to get you started.

javinsnc wrote
> David Smiley ( wrote
>> On 3/10/14, 12:56 PM, "javinsnc" &lt;

>> javiersangrador@

>> &gt; wrote:
>> This is indeed the source of the problem.
>> Why do you index with Lucene’s API and not Solr’s?  Solr not only has a
>> web-service API but it also has the SolrJ API that can embed Solr —
>> EmbeddedSolrServer.  I only recommend embedding Solr in limited
>> circumstances as it’s more flexible and usually plenty fast to
>> communicate
>> with Solr normally, or to easily customize Solr to load data from a
>> custom
>> file and so the indexing is all in-process.  You would do the latter with
>> either a custom DataImportHandler piece or a “ContentStreamLoader
>> subclass.
> Because I started indexing by lucene and for now, it's impossible to
> change it to Solr (although I know the benefits). Maybe in the future.
> So do you know how I should index the field in Lucene? I need to know the
> exact type for this field. I think Lucene index fields as String by
> default, right?
> Thanks in advance!

View this message in context:
Sent from the Solr - User mailing list archive at

View raw message