Say, if the name is Brian Adams, it matches for Brian or Adams. I want to match it partially also . It should match for Bri . or Ada
Can anyone suggest change in the query to achieve the same?
Probably edge ngrams for your specific example. And depending on your coverage vs accuracy tolerance you could use the snowball analyser. Then throw in a frequency cutover to your match query to speed up processing.
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.