Re: anybody using solr with Cassandra?

2010-08-30 Thread nickdos

Yes, we are Cassandra. There is nothing much to say really, it just works.
Note we are SOLR generating indexes using Java & SolrJ (embedded mode) and
reading data out of Cassandra with Java. Index generation is fast.
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/anybody-using-solr-with-Cassandra-tp1383646p1391589.html
Sent from the Solr - User mailing list archive at Nabble.com.


3.1-dev spatial search problem

2010-06-09 Thread nickdos

I'm running the 3.x branch and I'm trying to implement spatial searching. 

I am able to sort results by distance from a given lat/long using a query
like:

http://localhost:8080/solr/select/?q=_val_:"recip(dist(2, lat_long,
vector(-66.5,75.1)),1,1,0)"&fl=*,score

which gives me the expected results sorted by distance (location field type
called lat_long). 

However I cannot perform a spatial filter on the results.

When I try either:

http://localhost:8080/solr/select/?q={!sfilt fl=location}&pt=-65.5,75.2&d=20

http://localhost:8080/solr/select/?q={!sfilt fl=lat_long}&pt=-65.5,75.2&d=20

I get the following error:

SEVERE: org.apache.solr.common.SolrException: Unknown query type 'sfilt'

I have tried various forms of this query to no avail. Any suggestions?
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/3-1-dev-spatial-search-problem-tp884741p884741.html
Sent from the Solr - User mailing list archive at Nabble.com.