public class NGramAnalyzer extends SearchAnalyzer
This Analyzer type can be used to implement substring matching. Note that it slices the input based on bytes and not characters by default (streamType). The “binary” mode supports single-byte characters only; multi-byte UTF-8 characters raise an Invalid UTF-8 sequence query error.
Constructor and Description |
---|
NGramAnalyzer() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
NGramAnalyzerProperties |
getProperties() |
int |
hashCode() |
void |
setProperties(NGramAnalyzerProperties properties) |
getFeatures, getName, getType, setFeatures, setName, setType
public NGramAnalyzerProperties getProperties()
public void setProperties(NGramAnalyzerProperties properties)
public boolean equals(Object o)
equals
in class SearchAnalyzer
public int hashCode()
hashCode
in class SearchAnalyzer
Copyright © 2016–2022 ArangoDB GmbH. All rights reserved.