[
https://issues.apache.org/jira/browse/SOLR-5163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16621953#comment-16621953
]
David Smiley commented on SOLR-5163:
------------------------------------
Ah; thanks for explaining why you placed the code here; makes sense.
I like your test; I'm a fan of doing string comparisons for checking the
structure of a Query. It's a one-liner that is very easy to read. Yes it's
more fragile but I'll take the readability trade any day.
Looks good to me. I'll let the patch review bot take a look then commit it.
> edismax should throw exception when qf refers to nonexistent field
> ------------------------------------------------------------------
>
> Key: SOLR-5163
> URL: https://issues.apache.org/jira/browse/SOLR-5163
> Project: Solr
> Issue Type: Bug
> Components: query parsers, search
> Affects Versions: 4.10.4
> Reporter: Steven Bower
> Assignee: David Smiley
> Priority: Major
> Labels: newdev
> Attachments: SOLR-5163.patch, SOLR-5163.patch
>
>
> query:
> q=foo AND bar
> qf=field1
> qf=field2
> defType=edismax
> Where field1 exists and field2 doesn't..
> will treat the AND as a term vs and operator
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]