SpatialSearch: documented example is not working
------------------------------------------------

                 Key: SOLR-1751
                 URL: https://issues.apache.org/jira/browse/SOLR-1751
             Project: Solr
          Issue Type: Bug
    Affects Versions: 1.5
         Environment: Windows
            Reporter: Brainski
             Fix For: 1.5


I downloaded the nightly build from 03. February 2010 and tried the example as 
documented under:
http://wiki.apache.org/solr/SpatialSearch

I imported all documents under exampledocs in the index.

Then I tried the following search request:

http://localhost:8983/solr/select/?q=_val_:"recip(dist(2, store, 
point(34.0232,-81.0664)),1,1,0)"&fl=*,score

----------------------

This leads to the following error:

HTTP ERROR: 400

org.apache.lucene.queryParser.ParseException: Cannot parse 
'_val_:"recip(dist(2, store, point(34.0232,-81.0664)),1,1,0)"': Unknown 
function point in FunctionQuery('recip(dist(2, store, 
point(34.0232,-81.0664)),1,1,0)', pos=27)

RequestURI=/solr/select/

----------------------------------


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to