On Mon, Aug 17, 2009 at 11:03 PM, Erik Hatcher<erik.hatc...@gmail.com> wrote:
> That fixes it with analysis.jsp, but not with FieldAnalysisRequestHandler I
> don't think.  Using that field definition below, and this request -
>
> http://localhost:8983/solr/analysis/field?analysis.fieldtype=html_text&analysis.fieldvalue=%3Chtml%3E%3Cbody%3Ewhatever%3C/body%3E%3C/html%3E
>
> I still see <str name="text"><html><body>whatever</body></html></str> come
> out of WhitespaceTokenizer.
>
> Does the consumer of an Analyzer from a FieldType have to do anything
> special to utilize CharFilter's?  Or it should all "just work"?

Normal users of the Analyzer should see it just work - but
FieldAnalysisRequestHandler doesn't use the Analyzer... it pulls it
apart and uses the parts separately.  It would be up to that code to
apply any char filters, and apparently it doesn't.

-Yonik
http://www.lucidimagination.com

Reply via email to