You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Erick Erickson (JIRA)" <ji...@apache.org> on 2013/02/16 17:15:12 UTC
[jira] [Resolved] (SOLR-223) SolrQueryParser should do more error
checking
[ https://issues.apache.org/jira/browse/SOLR-223?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Erick Erickson resolved SOLR-223.
---------------------------------
Resolution: Fixed
Cleaning up old JIRAs, re-open if necessary. Reports error in 4.x
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators
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