I am extracting surf feature descriptor for query image as well as train image. Then when I am using Flann matcher its always returning best match. suppose i want to match a word image in a document image. There may be many number of occurrence of query image, i want to all of matches using surf. Can anyone suggest me how to solve the problem.