I am trying to use Elastic Search in a Twitter Typeahead. I have built my index and searches are working but they only return matches for the complete word.
Eg: searching for ON
Will not return ???ON??
Will return THIS IS ON
What is the simplest way to do this? I want it to work like the search box on Wikipedia.
I have been looking a Completion Suggesters, am I on the right track?
Does that look OK?
Now I have another problem.
I have some product codes in the format WH CP100 and I want my typeahead to match these if the user types WH CP100 or WHCP100.
So, I have spaces in my product code and I want the user to be able to type the product code with or without the spaces.
Is that possible?
Mick
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.