Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
6.6, 7.0
-
None
Description
If I configure the TikaLanguageIdentifierUpdateProcessorFactory that includes a `langid.fl` that isn't set on the document, I get a NPE:
{{java.lang.NullPointerException
at org.apache.solr.update.processor.TikaLanguageIdentifierUpdateProcessor.getExpectedSize(TikaLanguageIdentifierUpdateProcessor.java:116)
at org.apache.solr.update.processor.TikaLanguageIdentifierUpdateProcessor.concatFields(TikaLanguageIdentifierUpdateProcessor.java:76)
at org.apache.solr.update.processor.TikaLanguageIdentifierUpdateProcessor.detectLanguage(TikaLanguageIdentifierUpdateProcessor.java:53)
at org.apache.solr.update.processor.LanguageIdentifierUpdateProcessor.process(LanguageIdentifierUpdateProcessor.java:219)}}
Attachments
Issue Links
- links to