You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by Jan Prieser <j....@hotornot.de> on 2010/06/16 16:36:08 UTC

solr search?

Hello,

i'm trying to use solr in combination with couchdb and am thinking about 
implementing my own external processes to query Solr and use 
[update_notification] to index new documents.

has anyone gone this way before?

i already tried to use couchdb-lucene, but i need the distance functions 
from solr to find locations and sort the results by distance from a 
given point.
this isn't possible with couchdb-lucene alone, is it?

thanks for sharing your insights.

jan

Re: solr search?

Posted by Robert Newson <ro...@gmail.com>.
couchdb-lucene does not currently incorporate any of the geo-
extensions, but it comes up enough that it's something I wanted to
look into for 0.6.

Solr has lots of extra features over lucene but is, I think, quite
hard to set up right.

Finally, I would use the _changes feed to keep your external index
synchronized and avoid the update_notification approach.

B.

On Wed, Jun 16, 2010 at 3:36 PM, Jan Prieser <j....@hotornot.de> wrote:
> Hello,
>
> i'm trying to use solr in combination with couchdb and am thinking about
> implementing my own external processes to query Solr and use
> [update_notification] to index new documents.
>
> has anyone gone this way before?
>
> i already tried to use couchdb-lucene, but i need the distance functions
> from solr to find locations and sort the results by distance from a given
> point.
> this isn't possible with couchdb-lucene alone, is it?
>
> thanks for sharing your insights.
>
> jan
>

Re: solr search?

Posted by Jan Prieser <j....@hotornot.de>.
yes, i've found it.
since i need more than just bounding box searches (which is also 
possible with couchdb-lucene), geocouch isn't sufficient.

i'm interested in searching various fields and order the results by 
distance.
In solr this would be something like:
http://localhost:8983/solr/select/?q=field1:value1 AND 
_val_:"recip(hsin(0.78, -1.6, lat_rad, lon_rad, 3963.205), 1, 1, 0)"^100

Jan

Am 17.06.2010 00:02, schrieb Nils Breunese:
> Have you found and tried GeoCouch?
>
> http://vmx.cx/cgi-bin/blog/index.cgi/geocouch-the-future-is-now%3A2010-05-03%3Aen%2CCouchDB%2CPython%2CErlang%2Cgeo
>
> Nils.
> ________________________________________
> Van: Jan Prieser [j.prieser@hotornot.de]
> Verzonden: woensdag 16 juni 2010 16:36
> Aan: user@couchdb.apache.org
> Onderwerp: solr search?
>
> Hello,
>
> i'm trying to use solr in combination with couchdb and am thinking about
> implementing my own external processes to query Solr and use
> [update_notification] to index new documents.
>
> has anyone gone this way before?
>
> i already tried to use couchdb-lucene, but i need the distance functions
> from solr to find locations and sort the results by distance from a
> given point.
> this isn't possible with couchdb-lucene alone, is it?
>
> thanks for sharing your insights.
>
> jan
>
> De informatie vervat in deze  e-mail en meegezonden bijlagen is uitsluitend bedoeld voor gebruik door de geadresseerde en kan vertrouwelijke informatie bevatten. Openbaarmaking, vermenigvuldiging, verspreiding en/of verstrekking van deze informatie aan derden is voorbehouden aan geadresseerde. De VPRO staat niet in voor de juiste en volledige overbrenging van de inhoud van een verzonden e-mail, noch voor tijdige ontvangst daarvan.

RE: solr search?

Posted by Nils Breunese <N....@vpro.nl>.
Have you found and tried GeoCouch?

http://vmx.cx/cgi-bin/blog/index.cgi/geocouch-the-future-is-now%3A2010-05-03%3Aen%2CCouchDB%2CPython%2CErlang%2Cgeo

Nils.
________________________________________
Van: Jan Prieser [j.prieser@hotornot.de]
Verzonden: woensdag 16 juni 2010 16:36
Aan: user@couchdb.apache.org
Onderwerp: solr search?

Hello,

i'm trying to use solr in combination with couchdb and am thinking about
implementing my own external processes to query Solr and use
[update_notification] to index new documents.

has anyone gone this way before?

i already tried to use couchdb-lucene, but i need the distance functions
from solr to find locations and sort the results by distance from a
given point.
this isn't possible with couchdb-lucene alone, is it?

thanks for sharing your insights.

jan

De informatie vervat in deze  e-mail en meegezonden bijlagen is uitsluitend bedoeld voor gebruik door de geadresseerde en kan vertrouwelijke informatie bevatten. Openbaarmaking, vermenigvuldiging, verspreiding en/of verstrekking van deze informatie aan derden is voorbehouden aan geadresseerde. De VPRO staat niet in voor de juiste en volledige overbrenging van de inhoud van een verzonden e-mail, noch voor tijdige ontvangst daarvan.