You'll want to configure an analyzer for the "title" field that generates edge ngrams from the back of tokens. Typically, you would
reverse the token
generate the edge ngram
reverse the resulting edge ngram.
For example, given the text "Colombo district", the Standard tokenizer will produce tokens Colombo and district. In the token filters, we would want to
lowercase to support case insensitive search: colombo and district
reverse tokens in preparation for back edge ngram: obmoloc and tcirtsid
edgengram to create ngram. for purposes here, min and max gram set to 3: obmoloc, obm, tci and tcirtsid
reverse tokens again: colombo, mbo, ict and district
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.