Requesting no valid fields should return an error rather then returning empty
docs
----------------------------------------------------------------------------------
Key: SOLR-2441
URL: https://issues.apache.org/jira/browse/SOLR-2441
Project: Solr
Issue Type: Improvement
Reporter: Ryan McKinley
Fix For: 4.0
If you send a request for *fl=foofoofoo* and that field does not exist, solr
just returns empty documents:
{code}
<result name="response" numFound="17" start="0">
<doc></doc>
<doc></doc>
<doc></doc>
</result>
{code}
This seems like an error, not something we should support. (I think requesting
an invalid field name should also be an error, but that is another issue)
The distributed tests check if this is supported -- I don't think they should
--
This message is automatically generated by JIRA.
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]