SolrQueryParser should do more error checking
---------------------------------------------

                 Key: SOLR-223
                 URL: https://issues.apache.org/jira/browse/SOLR-223
             Project: Solr
          Issue Type: Improvement
          Components: search
            Reporter: Hoss Man


as recently mentioned on the mailing list, when using SolrQueryParser a simple 
term query will fail if the field name used is not a valid field according to 
the schema (because it consults the IndexSchema to get the Analyzer) -- but a 
wildcard, fuzzy, or prefix query will not trigger such an error (because no 
analysis is done)

we should make SolrQueryParser more aware of these types of errors.

we should probably also make it more aware of when fields aren't indexed, 
attempting to query on them should be an error as well. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to