How to understand the max_expansions parameter in matchPhrasePrefixQuery?

HI there,

I want to use matchPhrasePrefixQuery to search some person names in my
indices.
Because there exist some possessive cases and tokenization error.
Say if I want to query documents contains "Bill Gates", some documents
would contains "Bill Gates's company" or "Bill Gatesis the founder of
Microsoft".
I think matchPhrasePrefixQuery could resolve this problem.
Therefore, I want to know how to set the parameters of matchPhraseQuery?
What does max_expansion means?
Thanks very much.

--
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 elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.