CompoundWordTokenFilter

com.sksamuel.elastic4s.requests.analyzers.CompoundWordTokenFilter
case class CompoundWordTokenFilter(name: String, `type`: CompoundWordTokenFilterType, wordList: Iterable[String], wordListPath: Option[String], hyphenationPatternsPath: Option[String], minWordSize: Option[Int], minSubwordSize: Option[Int], maxSubwordSize: Option[Int], onlyLongestMatch: Option[Boolean]) extends TokenFilterDefinition

Attributes

Deprecated
true
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait TokenFilter
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def build(source: XContentBuilder): Unit

Attributes

Definition Classes
def hyphenationPatternsPath(hyphenationPatternsPath: String): CompoundWordTokenFilter
def maxSubwordSize(maxSubwordSize: Int): CompoundWordTokenFilter
def minSubwordSize(minSubwordSize: Int): CompoundWordTokenFilter
def minWordSize(minWordSize: Int): CompoundWordTokenFilter
def onlyLongestMatch(onlyLongestMatch: Boolean): CompoundWordTokenFilter
def wordList(wordList: Iterable[String]): CompoundWordTokenFilter
def wordList(word: String, rest: String*): CompoundWordTokenFilter
def wordListPath(wordListPath: String): CompoundWordTokenFilter

Inherited methods

def json: XContentBuilder

Attributes

Inherited from:
AnalyzerFilterDefinition
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Concrete fields

val filterType: String