Re: Solr Geodist

2011-08-31 Thread solrnovice
ok, thank you Erick, i will check this forum as well. thanks SN -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-Geodist-tp3287005p3300236.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Solr Geodist

2011-08-31 Thread Erick Erickson
This is the one I've used, http://wiki.apache.org/solr/SpatialSearch Best Erick On Tue, Aug 30, 2011 at 9:09 PM, solrnovice wrote: > hi Erik, today i had the distance working. Since the solr version under > LucidImagination is not returning geodist(),  I downloaded Solr 4.0 from the > nightly bu

Re: Solr Geodist

2011-08-31 Thread Erick Erickson
No, this form is part of the Apache Solr project. Lucid does maintain a searchable index of this list though... Best Erick On Tue, Aug 30, 2011 at 10:40 PM, solrnovice wrote: > hi Lance, thanks for the link, i went to their site, lucidimagination forum, > when i searched on geodist, i see my own

Re: Solr Geodist

2011-08-30 Thread solrnovice
hi Lance, thanks for the link, i went to their site, lucidimagination forum, when i searched on geodist, i see my own posts. Is this forum part of lucidimagination? Just curious. thanks SN -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-Geodist-tp3287005p3297262.html Se

Re: Solr Geodist

2011-08-30 Thread Lance Norskog
Lucid also has an online forum for questions about the LucidWorksEnterprise product: http://www.lucidimagination.com/forum/lwe The Lucidi Imagination engineers all read the forum and endeavor to quickly answer questions like this. On Tue, Aug 30, 2011 at 6:09 PM, solrnovice wrote: > hi Erik, t

Re: Solr Geodist

2011-08-30 Thread solrnovice
hi Erik, today i had the distance working. Since the solr version under LucidImagination is not returning geodist(), I downloaded Solr 4.0 from the nightly build. On lucid we had the full schema defined. So i copied that schema to the "example" directory of solr-4 and removed all references to Luc

Re: Solr Geodist

2011-08-30 Thread Erick Erickson
That should be fine. I'm not actually sure what version of Trunk I have, I update it sporadically and build from scratch. But the "last successful build" artifacts will certainly have the pseudo-field return of function in it, so you should be fine. Best Erick On Tue, Aug 30, 2011 at 2:33 PM, sol

Re: Solr Geodist

2011-08-30 Thread solrnovice
I think i found the link to the nightly build, i am going to try this flavor of solr and run the query and check what happens. The link i am using is https://builds.apache.org/job/Solr-trunk/lastSuccessfulBuild/artifact/artifacts/ thanks SN -- View this message in context: http://lucene.472066.

Re: Solr Geodist

2011-08-30 Thread solrnovice
Eric, can you please let me know the solr build, that you are using. I went to this below site, but i want to use the same build, you are using, so i can make sure the queries work. http://wiki.apache.org/solr/FrontPage#solr_development thanks SN -- View this message in context: http://lucene

Re: Solr Geodist

2011-08-30 Thread solrnovice
Eric, thank you for the quick update, so in the below query you sent to me, i can also add any conditions right? i mean city:Boston and state:MA...etc , can i also use "dismax" query syntax? The confusion from the beginning seems to be the version of solr i was trying and the one you are trying.

Re: Solr Geodist

2011-08-30 Thread Erick Erickson
&q=*:*&sfield=store&pt=45.15,-93.85&fl=name,store,geodist() Actually, you don't even have to specify the d=, I misunderstood. Best Erick On Tue, Aug 30, 2011 at 9:56 AM, solrnovice wrote: > hi Eric, thank you for the tip, i will try that option. Where can i find a > document that shows details

Re: Solr Geodist

2011-08-30 Thread solrnovice
hi Eric, thank you for the tip, i will try that option. Where can i find a document that shows details of geodist arguments, when i google, i did not find one. so this is what my query is like. I want the distance to be returned. i dont now exactly what all to pass to geodist, as i couldnt find a

Re: Solr Geodist

2011-08-30 Thread Erick Erickson
Why couldn't you just give an outrageous distance (10) or something? You have to have some kind of point you're asking for the distance *from*, don't you? Best Erick On Mon, Aug 29, 2011 at 5:09 PM, solrnovice wrote: > Eric, thanks for the update,  I thought solr 4.0 should have the pseudo

Re: Solr Geodist

2011-08-29 Thread solrnovice
Eric, thanks for the update, I thought solr 4.0 should have the pseudo columns and i am using the right version. So did you ever worked on a query to return distance, where there is no long, lat are used in the where clause. I mean not in a radial search, but a city search, but displayed the dista

Re: Solr Geodist

2011-08-29 Thread Erik Hatcher
Based on the date, this was a LucidWorks Enterprise distribution that predated the addition of pseudo-fields to Solr for returning function values like that. We have another release of LWE coming out, oh I dunno exactly, in a month or so? It'll have the latest greatest Solr "4.0" (which is con

Re: Solr Geodist

2011-08-29 Thread solrnovice
hi Eric, thank you for the response. We use this product , which comes with solr, http://www.lucidimagination.com/. They have a UI on top of solr, its easy to add fields or edit their properties using their UI. The queries I write are using the solr which comes with lucid imagination , it says it

Re: Solr Geodist

2011-08-29 Thread Erick Erickson
When you say you are using "LucidImagination", what is that? The Dev version of LucidWorks? A certified distro (which I don't think there are any for trunk)? I'm using a recent (last week) trunk version that I built manually, but I think this has been for a while Anyway, pasting in your field

Re: Solr Geodist

2011-08-26 Thread solrnovice
Eric, thanks for the quick response. I left out the "d" value, yes, when you perform a spatial query, we should have a distance of d>0, sorry about that. What is the setting of your "store" value, i mean in the schema, was it marked at LatLong. For some reason i dont see the geodist() being retur

Re: Solr Geodist

2011-08-26 Thread Erick Erickson
When I try this form the stock solr example (using "store" rather than "coordinate" for the field, your first example gives me an error of "d must be > 0" or some such. When I add a "d" value to the query, both your first and second queries work just fine and the second returns a "geodist" value in