In the above example if there are documents with terms :  
"test","tester","testing","tests" 
 and we are querying for "test" and "max_expansions" : 2, should it return
only first 2 matching docs?

I see that it is returning all the matching docs. Could you please explain?




--
View this message in context: 
http://elasticsearch-users.115913.n3.nabble.com/How-exactly-works-max-expansions-in-match-phrase-prefix-query-tp4030146p4057104.html
Sent from the ElasticSearch Users mailing list archive at Nabble.com.

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/1401950949168-4057104.post%40n3.nabble.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to