I have never tried, but I wonder if you can use a shingle filter with an empty token separator. If not, you can always output bigrams yourself. Of course, this would only work for adjacent terms, so a field with "London Restaurant Chinese" will not match the term "LondonChinese".
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/analysis-shingle-tokenfilter.html If you know the potential terms that might be conjoined ahead of time, you can use synonyms. Cheers, Ivan On Fri, Apr 25, 2014 at 1:34 PM, samuel dean <[email protected]> wrote: > Hi there > > This is the is the issue that we're currently looking to resolve. > > Currently we have no issue performing the following. > > "*cross trainer*" returning results for "*cross trainer*" and " > *crosstrain*er" > > however, we're looking to get results from searching "*crosstrainer*" to > give us "*cross trainer*" > > Another example > > Searching "*London Restaurant*" gives us both "*London Restaurant*" and > "*LondonRestaurant*" but it wont work vice versa > > so searching "*LondonRestaurant*" will not return "*London Restaurant*" > > We're seen others have the same issue but would like to know if it's > possible to get a fix for this. > > It't the last outstanding issue we have at the moment. > > Thanks for all the help > > Sam! > > -- > You received this message because you are subscribed to the Google Groups > "elasticsearch" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elasticsearch/2c8af5f4-f5f1-47c6-acb7-343f7949c2f6%40googlegroups.com<https://groups.google.com/d/msgid/elasticsearch/2c8af5f4-f5f1-47c6-acb7-343f7949c2f6%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQAg2EaPQbMB4_YzHOmuOpf8%2BQVZOKwD_-mHc_7obHG_Jw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
