Apologies if this has been asked before, but various searches didn't
turn up an answer (that I was able to understand).
What I would like to be able to do is to have a document field that is
that can be used to sort on the first non-stop word in the string. The
use case is similar to having a list of musical artist names:
The Shins
The Beatles
Everything but the Girl
Wilco
When sorted this list should be:
The Beatles
Everything but the Girl
The Shins
Wilco
If I use an non-analyzed field the sorting will be:
Everything but the Girl
The Beatles
The Shins
Wilco
If I use an analyzed field (default analyzer) then I can't sort on it.
Does that make sense? I can't find an analyzer in Elasticsearch that
would allow me to do this.