If you query looks like this - q=(myField:aaa myField:bbb myField:ccc) you would get the desired results for any tokenized field (e.g. text) called myField.
Cheers Avlesh On Tue, Oct 20, 2009 at 6:28 AM, angry127 <angry...@gmail.com> wrote: > > Hi, > > Is it possible to get the matching terms from your query for each document > returned without using highlighting. > > For example if you have the query "aaa bbb ccc" and one of the documents > has > the term "aaa" and another document has the term "bbb" and "ccc". > > To have Solr return: > > Document 1: "aaa" > Document 2: "bbb ccc" > > I was told this is possible using Term Vectors. I have not been able to > find > a way to do this using Term Vectors. The only reason I am against using > highlighting is for performance reasons. > > Thanks. > -- > View this message in context: > http://www.nabble.com/Retrieve-Matching-Term-tp25967886p25967886.html > Sent from the Solr - User mailing list archive at Nabble.com. > >