@ExperimentalApi public final class CommonGramsTokenFilterDescriptor extends Object implements com.atlassian.confluence.plugins.index.api.TokenFilterDescriptor
Constructor and Description |
---|
CommonGramsTokenFilterDescriptor(Collection<String> commonWords,
boolean queryMode) |
Modifier and Type | Method and Description |
---|---|
Collection<String> |
getCommonWords() |
boolean |
isQueryMode() |
public CommonGramsTokenFilterDescriptor(Collection<String> commonWords, boolean queryMode)
commonWords
- list of common wordsqueryMode
- whether to optimize for query which means only returning single words when they are not
a member of a bigram.public Collection<String> getCommonWords()
public boolean isQueryMode()
Copyright © 2003–2020 Atlassian. All rights reserved.