com.liferay.portal.search
Class NGramHolderBuilderImpl
java.lang.Object
com.liferay.portal.search.NGramHolderBuilderImpl
- All Implemented Interfaces:
- NGramHolderBuilder
public class NGramHolderBuilderImpl
- extends Object
- implements NGramHolderBuilder
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NGramHolderBuilderImpl
public NGramHolderBuilderImpl()
buildNGramHolder
public NGramHolder buildNGramHolder(String input)
throws SearchException
- Specified by:
buildNGramHolder
in interface NGramHolderBuilder
- Throws:
SearchException
buildNGramHolder
public NGramHolder buildNGramHolder(String input,
int nGramMaxLength)
throws SearchException
- Specified by:
buildNGramHolder
in interface NGramHolderBuilder
- Throws:
SearchException
buildNGramHolder
public NGramHolder buildNGramHolder(String input,
int nGramMinLength,
int nGramMaxLength)
throws SearchException
- Specified by:
buildNGramHolder
in interface NGramHolderBuilder
- Throws:
SearchException
getNGramMaxLength
protected int getNGramMaxLength(int length)
getNGramMinLength
protected int getNGramMinLength(int length)