lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Smiley (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (SOLR-3942) Cannot use geodist() function with edismax
Date Wed, 28 Nov 2012 16:26:58 GMT

     [ https://issues.apache.org/jira/browse/SOLR-3942?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

David Smiley resolved SOLR-3942.
--------------------------------

    Resolution: Cannot Reproduce
    
> Cannot use geodist() function with edismax
> ------------------------------------------
>
>                 Key: SOLR-3942
>                 URL: https://issues.apache.org/jira/browse/SOLR-3942
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 4.0
>         Environment: Windows Server 2008 R2, Windows 7
>            Reporter: Shane Andrade
>            Assignee: David Smiley
>            Priority: Critical
>
> Using the spatial example from the wiki when boosting with edismax:
> http://localhost:8983/solr/select?defType=edismax&q.alt=*:*&fq={!geofilt}&sfield=store&pt=45.15,-93.85&d=50&boost=recip(geodist(),2,200,20)&sort=score%20desc
> Produces the following error:
> <lst name="error">
> <str name="msg">
> org.apache.lucene.queryparser.classic.ParseException: Spatial field must implement MultiValueSource:store{type=geohash,properties=indexed,stored,omitTermFreqAndPositions}
> </str>
> <int name="code">400</int>
> </lst>
> When the defType is changed to dismax, the query works as expected.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message