You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Yonik Seeley (JIRA)" <ji...@apache.org> on 2010/09/25 22:03:33 UTC
[jira] Updated: (SOLR-2133) ability to parse multiple value sources
[ https://issues.apache.org/jira/browse/SOLR-2133?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yonik Seeley updated SOLR-2133:
-------------------------------
Attachment: SOLR-2133.patch
Here's a patch that seems to work fine.
A query like:
defType=func&q=10 what?
now produces an error like:
org.apache.lucene.queryParser.ParseException: Unexpected text after function: what?
And a query like:
q=dist(2,vector(1,2),vector(3,4))
is equivalent to
q=dist(2,vector(1,2),$pt)&pt=3,4
Which will make it a lot more user friendly to deal with referencing points in spatial search like
pt=lat,lon
I'll add some tests next.
> ability to parse multiple value sources
> ---------------------------------------
>
> Key: SOLR-2133
> URL: https://issues.apache.org/jira/browse/SOLR-2133
> Project: Solr
> Issue Type: New Feature
> Reporter: Yonik Seeley
> Assignee: Yonik Seeley
> Attachments: SOLR-2133.patch
>
>
> To enable things like this:
> q=dist($pt)&pt=10,20
> The function query parser needs to have the option of parsing a list of value sources rather than just one.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org