lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <erickerick...@gmail.com>
Subject Re: Searching by location – What do I send to Solr?
Date Fri, 04 May 2012 01:19:12 GMT
The fact that they're python and java is largely beside the point I think.
Solr just sees a URL, the fact that your Python app gets in there
first and "does stuff" with the query wouldn't affect Solr at all.

Also, I tend to like keeping Solr fairly lean so any work I can offload to
the application I usually do.

YMMV

Best
Erick

On Thu, May 3, 2012 at 6:43 PM, Spadez <james_willson@hotmail.com> wrote:
> I discounted geonames to start with but it actually looks pretty good. I may
> be stretching the limit of my question here, but say I did go with geonames,
> if I go back to my model and add a bit:
>
> Search for "London"----->Convert "London to Long/Lat"----->Send Query to
> Solr>----->Return Query>
>
> Since my main website is coded in Python, but Solr works in Java, if I was
> to create or use an existing script to allow me to convert "London" to
> Long/Lat, would it make more sense for this operation to be done in Python
> or Java?
>
> In Python it would integrate better with my website, but in Java it would
> integrate better with Solr. Also would one language be more suitable or
> faster for this kind of operation?
>
> Again, I might be pushing the boundaries of what I can ask on here, but if
> anyone can chime in with their opinion I would really appreciate it.
>
> ~ James
>
> --
> View this message in context: http://lucene.472066.n3.nabble.com/Searching-by-location-What-do-I-send-to-Solr-tp3959296p3960666.html
> Sent from the Solr - User mailing list archive at Nabble.com.

Mime
View raw message