Hi David
Is there a way I can do a search that will automatically filter a
resultset like this which is on an Analysed field:
Search String = mo*:
Modeling Manager Modeller Money Market Dealer Money Market Trader
The only query type which allows you to anchor a term to the beginning
of the field is span_first.
Example usage:
Unfortunately, span-type queries only accept other span queries, so you
can't use the wildcard or prefix queries. In order to achieve what you
want, you'd need to find all the terms beginning with 'mo' in a separate
facets query, and create a span_term query for each term, all wrapped up
in a span_or query.
Not ideal I know...
the alternative would be to maintain another version of the field which
is not analyzed (or uses eg just the lower case token filter)
clint