[
https://issues.apache.org/jira/browse/SOLR-4619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15097446#comment-15097446
]
Robert Muir commented on SOLR-4619:
-----------------------------------
Also, majority of TokenFilters (which basically also serve as consumers too),
are doing step 3 before step 2 today. Most of them are just assigning to final
variables in their constructor.
So something is off: we gotta go one of two ways. Either fix the documentation
to swap step 3 before step 2, and fix this TokenStream to somehow provide
attributes before reset(), or we make a massive change to tons of tokenizers
(making them more complex and less efficient).
But I think we have to do something, at least we should fix the docs to be
clear, they need to reflect reality.
> Improve PreAnalyzedField query analysis
> ---------------------------------------
>
> Key: SOLR-4619
> URL: https://issues.apache.org/jira/browse/SOLR-4619
> Project: Solr
> Issue Type: Bug
> Components: Schema and Analysis
> Affects Versions: 4.0, 4.1, 4.2, 4.2.1, Trunk
> Reporter: Andrzej Bialecki
> Assignee: Andrzej Bialecki
> Fix For: Trunk
>
> Attachments: SOLR-4619.patch, SOLR-4619.patch
>
>
> PreAnalyzed field extends plain FieldType and mistakenly uses the
> DefaultAnalyzer as query analyzer, and doesn't allow for customization via
> <analyzer> schema elements.
> Instead it should extend TextField and support all query analysis supported
> by that type.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]