[
https://issues.apache.org/jira/browse/SOLR-3377?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13257094#comment-13257094
]
Jan Høydahl commented on SOLR-3377:
-----------------------------------
The query is parsed into:
{{+(id:name:test^10.0 | text:name:test^0.5 | cat:name:test^1.4 |
manu:name:test^1.1 | name:name:test^1.2 | features:name:test |
sku:nametest^1.5)}}
suggesting that eDismax falls back to literal matching because the field name
(name is not found. Perhaps introduced by SOLR-3026?
A temporary workaround seems to be to insert a space before all field names:
q={{( name:test )}}
> eDismax: A fielded query wrapped by parens is not recognized
> ------------------------------------------------------------
>
> Key: SOLR-3377
> URL: https://issues.apache.org/jira/browse/SOLR-3377
> Project: Solr
> Issue Type: Bug
> Components: query parsers
> Affects Versions: 3.6
> Reporter: Jan Høydahl
> Fix For: 4.0
>
>
> As reported by "bernd" on the user list, a query like this
> {{q=(name:test)}}
> will yield 0 hits in 3.6 while it worked in 3.5. It works without the parens.
--
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: [email protected]
For additional commands, e-mail: [email protected]