Re: Spatial Search problems

2011-08-25 Thread Smiley, David W.
Um, You might try googling LocalSolr or LocalLucene -- dead projects but you insist on using an old Solr/Lucene. Of course if all you need is a bounding box filter than a pair of lat & lon range queries is sufficient. ~ David Smiley On Aug 25, 2011, at 4:01 AM, Javier Heras wrote: > Thanx Dav

Re: Spatial Search problems

2011-08-25 Thread Javier Heras
Thanx David, Just one more question. Am I able to do spatial search with solr1.4? And with lucene 2.9? What's your recomendation? Javier -- View this message in context: http://lucene.472066.n3.nabble.com/Spatial-Search-problems-tp3277945p3283285.html Sent from the Solr - User mailing list arch

Re: Spatial Search problems

2011-08-24 Thread Smiley, David W.
Well that's your problem :-P You need to be using the same version of Lucene for reading & writing. Create your index with Lucene 3.3. FYI I tried indexing the point you said you had trouble with, and with a 300km radius, and it found it. On Aug 24, 2011, at 4:39 AM, Javier Heras wrote: > An

Re: Spatial Search problems

2011-08-24 Thread Javier Heras
And one more thing... should I create the index with the same version of solr that I use to open index for reading??? I create my index with lucene 2.9, and my solr version where Im trying spatial search is 3.3 Thank you very much David -- View this message in context: http://lucene.472066.n3.na

Re: Spatial Search problems

2011-08-24 Thread Javier Heras
Hi David, the thing is that all indexed points are in spain, so distances should always be lower than 1300 Kms. And yes, I'm using solr tutorial scheme.xml, for which tutorial indexes work fine. When I change to my index, it only works when distances are over 4510Kms. The query I run is: http://l

Re: Spatial Search problems

2011-08-23 Thread Smiley, David W.
Could you reproduce a very simple example of this? For example if there is a particular indexed point in your data that should be returned from your query (a query smaller than d=4k10), then reproduce that bug in the Solr example app by supplying a dummy document with this point and running your