there are a couple of solutions to this problem, not sure which one fits you best.
If you index this field a second time (using a multi field for example) using a whitespace tokenizer, that token would be stored as is, and could also be searched like that.
Maybe (I haven't played around with) the word delimiter filter can help you as well.
Another solution would be to use a pattern_replace char filter and replace the dash with a special character, but that would also require some processing on the search side, so that sounds like too much work to me.
Have you thought about extracting that token into it's own field so simplify searching/filtering for it?
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.