I have a class whose field "title" needs to be pre-tokenized by an underscore instead of space. For example: "title": "Foo_of_Bar_FooBar" into ["Foo", "of", "Bar", "FooBar"]
I used the following to create a full-text index. CREATE INDEX CLASS.title_lucene ON CLASS(title) FULLTEXT ENGINE LUCENE METADATA { "analyzer": "org.apache.lucene.analysis.pattern.PatternReplaceCharFilter", "analyzer_pattern": "_", "analyzer_replacement": " ", "index": "org.apache.lucene.analysis.standard.StandardAnalyzer" } I tried using "pattern" and "replacement" instead of "analyzer_pattern" and "analyzer_replacement". None of them worked. *How do I pass the arguments to the constructor of the class specified?* The aforementioned class is located here <https://github.com/apache/lucene-solr/blob/master/lucene/analysis/common/src/java/org/apache/lucene/analysis/pattern/PatternReplaceCharFilter.java#L55> . -- --- You received this message because you are subscribed to the Google Groups "OrientDB" group. To unsubscribe from this group and stop receiving emails from it, send an email to orient-database+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/orient-database/765b2c4d-6d1a-4644-9e29-987abc47c297%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.