I wish to use Neo4j’s new built-in full-text search capability to search documents that will contain a mix of Norwegian and English (sometimes either, sometimes both). I understand the indexer is stock Lucene 5.5.0, and with that I can choose to use it with a provided Norwegian analyzer or English analyzer, not both simultaneously.
I would like to experiment with building a hybrid Norwegian/English analyzer. And ideally I’d like to use this fit-for-purpose convenience class for building a custom Lucene analyzer: https://lucene.apache.org/core/5_5_0/analyzers-common/org/apache/lucene/analysis/custom/CustomAnalyzer.html
Would this class be compatible with the method Stefan Armbruster described here? How to add custom Lucene analyzer?