lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan McKinley (Resolved) (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (SOLR-2441) Requesting invalid field names should return an error
Date Fri, 09 Mar 2012 01:29:58 GMT

     [ https://issues.apache.org/jira/browse/SOLR-2441?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ryan McKinley resolved SOLR-2441.
---------------------------------

       Resolution: Won't Fix
    Fix Version/s:     (was: 4.0)

While it would be nice...  I don't think we should do this
                
> Requesting invalid field names should return an error
> -----------------------------------------------------
>
>                 Key: SOLR-2441
>                 URL: https://issues.apache.org/jira/browse/SOLR-2441
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Ryan McKinley
>            Assignee: Ryan McKinley
>         Attachments: SOLR-2441-invalid-fl-error.patch, SOLR-2441-invalid-fl-error.patch
>
>
> 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.
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


Mime
View raw message