Re: Spatial Search and Highlighting

2011-08-01 Thread Bill Bell
I think 4.0 supports fl=geodist() On 8/1/11 3:47 PM, "Ralf Musick" wrote: >Hi David, > >So that "As a temporary workaround for older Solr versions, it's >possible to obtain distances by using geodist or geofilt as the only >scoring part of the main query" >and "Highlighting" do not fit together,

Re: Spatial Search and Highlighting

2011-08-01 Thread Ralf Musick
Hi David, So that "As a temporary workaround for older Solr versions, it's possible to obtain distances by using geodist or geofilt as the only scoring part of the main query" and "Highlighting" do not fit together, right? Ok, than I have to calculate the distance by my own. Thank you very m

Re: Spatial Search and Highlighting

2011-08-01 Thread Smiley, David W.
Ralf, Highlighting (and search relevancy -- the score) is performed on the user query which must be in the "q" parameter. In your case, I see you placed your geospatial query there and you put your user query into a filter query "fq". You have them reversed. You stated that the "returning

Re: Spatial Search and Highlighting

2011-08-01 Thread Ralf Musick
Hi David, an example is: http://localhost:8983/solr/browse?indent=on&hl=on&hl.fl=name,manu&sort=score+asc&sfield=store&json.nl=map&wt=json&rows=10&start=0&q={!func}geodist%28%29&pt=45.17614%2C-93.87341&fq=%28name%20:+%28canon%29%29^8 I have to say I need the calculated distance as a return field

Re: Spatial Search and Highlighting

2011-08-01 Thread Smiley, David W.
Can you demonstrate the bug against the example data? If so, provide the URL please. ~ David On Aug 1, 2011, at 4:00 PM, Ralf Musick wrote: > Hi, > > I combined a spatial distance search with a fulltext search as described > in > http://wiki.apache.org/solr/SpatialSearch#geodist_-_The_distan

Spatial Search and Highlighting

2011-08-01 Thread Ralf Musick
Hi, I combined a spatial distance search with a fulltext search as described in http://wiki.apache.org/solr/SpatialSearch#geodist_-_The_distance_function . I'm using solr 3.3 and that works fine. BUT, I want to use highlighting of fulltext query words but that does not work. Before solr 3.3