[ 
https://issues.apache.org/jira/browse/SOLR-773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12846160#action_12846160
 ] 

Dan Bentson commented on SOLR-773:
----------------------------------

I'm trying to test spatial search out in 1.5 going by the docs on 
http://wiki.apache.org/solr/SpatialSearch

First of all I believe
<fieldType name="location" class="solr.PointType" dimension="2" 
subFieldTypes="double"/>
should be changed to
<fieldType name="location" class="solr.PointType" dimension="2" 
subFieldType="double"/>

But more importantly I'm having trouble getting this to work.
I was able to index my data using the Geohash type and can see it in my store 
field when not doing spatial queries.  However, when doing the following query:
...?q=_val_:"recip(dist(2, store, vector(34.0232,-81.0664)),1,1,0)"&fl=*,score
I get error message:
Illegal number of sources. There must be an even number of sources

I also tried ...?q={!sfilt fl=location}&pt=49.32,-79.0&dist=20 and get message 
unknown query type 'sfilt'.

Is there something I'm missing or is code just not committed to trunk yet?
Thanks

> Incorporate Local Lucene/Solr
> -----------------------------
>
>                 Key: SOLR-773
>                 URL: https://issues.apache.org/jira/browse/SOLR-773
>             Project: Solr
>          Issue Type: New Feature
>            Reporter: Grant Ingersoll
>            Assignee: Grant Ingersoll
>            Priority: Minor
>             Fix For: 1.5
>
>         Attachments: exampleSpatial.zip, lucene-spatial-2.9-dev.jar, 
> lucene.tar.gz, screenshot-1.jpg, SOLR-773-local-lucene.patch, 
> SOLR-773-local-lucene.patch, SOLR-773-local-lucene.patch, 
> SOLR-773-local-lucene.patch, SOLR-773-local-lucene.patch, 
> SOLR-773-spatial_solr.patch, SOLR-773.patch, SOLR-773.patch, 
> solrGeoQuery.tar, spatial-solr.tar.gz
>
>
> Local Lucene has been donated to the Lucene project.  It has some Solr 
> components, but we should evaluate how best to incorporate it into Solr.
> See http://lucene.markmail.org/message/orzro22sqdj3wows?q=LocalLucene

-- 
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