You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Hoss Man (JIRA)" <ji...@apache.org> on 2012/06/08 01:31:23 UTC
[jira] [Updated] (SOLR-3522) "literal" function can not be parsed
in 4x/trunk
[ https://issues.apache.org/jira/browse/SOLR-3522?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hoss Man updated SOLR-3522:
---------------------------
Description:
attempting to use the "literal" function in the fl param causes a parse error...
Example queries with functions that works fine...
{noformat}
http://localhost:8983/solr/collection1/select?q=*:*&fl=foo:sum%284,5%29
http://localhost:8983/solr/collection1/select?fl=score&q={!func}strdist%28%22foo%22,%22fo%22,edit%29
{noformat}
Examples using literal function that fails...
{noformat}
http://localhost:8983/solr/collection1/select?q=*:*&fl=foo:literal%28%22foo%22%29
http://localhost:8983/solr/collection1/select?fl=score&q={!func}strdist%28%22foo%22,literal%28%22fo%22%29,edit%29
{noformat}
was:
For reasons i don't understand yet attempting to use the "literal" function in the fl param causes a parse error.
Example query with function that works fine...
http://localhost:8983/solr/collection1/select?q=*:*&fl=foo:sum%284,5%29
Example using literal function that fails...
http://localhost:8983/solr/collection1/select?q=*:*&fl=foo:literal%28%22foo%22%29
Summary: "literal" function can not be parsed in 4x/trunk (was: "literal" function can not be used in fl)
revised summary and description .. seems to be a general problem parsing the "literal" function, not specific to "fl"
> "literal" function can not be parsed in 4x/trunk
> ------------------------------------------------
>
> Key: SOLR-3522
> URL: https://issues.apache.org/jira/browse/SOLR-3522
> Project: Solr
> Issue Type: Bug
> Reporter: Hoss Man
> Fix For: 4.0
>
>
> attempting to use the "literal" function in the fl param causes a parse error...
> Example queries with functions that works fine...
> {noformat}
> http://localhost:8983/solr/collection1/select?q=*:*&fl=foo:sum%284,5%29
> http://localhost:8983/solr/collection1/select?fl=score&q={!func}strdist%28%22foo%22,%22fo%22,edit%29
> {noformat}
> Examples using literal function that fails...
> {noformat}
> http://localhost:8983/solr/collection1/select?q=*:*&fl=foo:literal%28%22foo%22%29
> http://localhost:8983/solr/collection1/select?fl=score&q={!func}strdist%28%22foo%22,literal%28%22fo%22%29,edit%29
> {noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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