After following the discussion on github for this commit, developers have stated that Lucene will take care of whether or not the terms to be converted into lowercase.
So i think that having the line below will have same impact as the old code-
queryStringQueryBuilder=queryStringQueryBuilder.analyzer(ANALYZER);
instead of the below old code-
queryStringQueryBuilder = valueTypeEnum == SearchCriteria.ValueTypeEnum.STRING_NOT_ANALYZED ?
queryStringQueryBuilder.lowercaseExpandedTerms(false) : //cannot find symbol
queryStringQueryBuilder.analyzer(ANALYZER);
Please suggest, if there is something else that can be done or if I am missing something.
Please help
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.