[SOLR-6246] Core fails to reload when AnalyzingInfixSuggester is used as a Suggester - ASF JIRA
The idea being that when AnalyzingInfixLookupFactory initially constructs the FSDirectory, it could explicitly configure something like the SingleInstanceLockFactory - that should allow 2 instances of AnalyzingInfixSuggester (in the same JVM) open it at the same time – but then, to prevent corruption risk if both Suggester instances try to write to that Directory, we need to subclass them and customize them to know when the "reload" is taking place, so the old one blocks itself from doing anymore writes.
so suggestions would still be available while waiting for the new core to start, but not updates to the dictionary.
Read full article from [SOLR-6246] Core fails to reload when AnalyzingInfixSuggester is used as a Suggester - ASF JIRA
No comments:
Post a Comment