Hibernate-search Custom Analyzer, StopFilterFactory

Yes, this means your file uses the wrong charset:

Caused by: java.nio.charset.MalformedInputException: Input length = 1

From what I can see in org.apache.lucene.analysis.util.AbstractAnalysisFactory#getLines, Lucene expects UTF-8.

1 Like