Lowercase query string in autocomplete untokenized name query
This commit is contained in:
parent
a1cd3cef34
commit
60b8d453a5
1 changed files with 1 additions and 0 deletions
|
@ -353,6 +353,7 @@ public class AutocompleteController extends FreeMarkerHttpServlet implements Sea
|
|||
|
||||
private Query makeUntokenizedNameQuery(String querystr) {
|
||||
|
||||
querystr = querystr.toLowerCase();
|
||||
String termName = Entity2LuceneDoc.term.NAMEUNANALYZED;
|
||||
BooleanQuery query = new BooleanQuery();
|
||||
log.debug("Adding wildcard query on unanalyzed name");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue