You could use Query.extractTerms(..) and then search for possible
matches in the field term vector (requires stored TV).
2010/1/28 Vaijanath Rao :
> Hi All,
>
> What is the simplest way of getting the matched terms of the query with
> respect to the document. So for example let's say a document ha
Hi All,
What is the simplest way of getting the matched terms of the query with
respect to the document. So for example let's say a document has field X and
the contains of the field are "a b c" now when I do a search for 'b c'. The
document will be returned I want to get back the terms that this