Constructor | Description |
---|---|
RawTextSearcher(boolean caseSensitive,
String textToSearch) |
Constructor
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
search(List<String> textTokens) |
Implements the search
|
protected boolean |
testField(String value,
String searchedTextLowerCase) |
Returns true if searchedTextLowerCase is in value
|
public RawTextSearcher(boolean caseSensitive, String textToSearch)
caseSensitive
- is search case sensitivetextToSearch
- Text to searchprotected boolean testField(String value, String searchedTextLowerCase)
value
- string in which the search will be donesearchedTextLowerCase
- string which will be searched forCopyright © 1998-2018 Apache Software Foundation. All Rights Reserved.