[
https://issues.apache.org/jira/browse/SOLR-309?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13000475#comment-13000475
]
Hoss Man commented on SOLR-309:
-------------------------------
This came up in IRC today, after a lot of back and forth there was a proposal
to change FieldType.setAnalyzer (and setQueryAnalyzer) so that by default
fieldtypes throw an exception if use try to set ana analyzer on them
this should fail quickly if people mistakenly put an analyzer on a FieldType
(in schema.xml) that doesn't support it.
only TextField will allow setting an analyzer (since TextField is currently the
only class that uses it)
> A solr.StrField that has analyzers configured should emit warning to log
> ------------------------------------------------------------------------
>
> Key: SOLR-309
> URL: https://issues.apache.org/jira/browse/SOLR-309
> Project: Solr
> Issue Type: Improvement
> Components: search
> Reporter: Thomas Peuss
> Priority: Minor
>
> A solr.StrField that has analyzers configured in schema.xml should emit a
> warning/error to the log. As I understand StrFields never get tokenized.
--
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]