Query String with WhiteSpace

If I have a name "abcdef" in my index and I do a search for "abcdef" I get
the result however if I do the search "abc%20def" i don't get the result.
Is there a way to join those and sort of ignore the whitespace. I don't
want to totally ignore it but I would like abcdef to show up when I do that
search with the space and other relavant results.

Is there an easy way to do this?

Thanks,

Shaun Farrell

options:

  1. You could preprocess the query yourself.
  2. You could index it via ngram filter
  3. You could somehow use the word delimiter filter - not sure about
    your exact requirement
  4. etc

Peter.

On 18 Jan., 00:36, Shaun Farrell farrel...@gmail.com wrote:

If I have a name "abcdef" in my index and I do a search for "abcdef" I get
the result however if I do the search "abc%20def" i don't get the result.
Is there a way to join those and sort of ignore the whitespace. I don't
want to totally ignore it but I would like abcdef to show up when I do that
search with the space and other relavant results.

Is there an easy way to do this?

Thanks,

Shaun Farrell