i came across that one, only the java doc says that it is expensive so I was hoping for a less expensive solution...
Wouter > searcher.explain definitely seems to do the trick, going through the > sub-queries. > > paul > > > Le 23-mars-09 à 13:12, Wouter Heijke a écrit : > >> I want to know for each term in a query if it matched the result or >> not. >> What is the best way to implement this? >> Highlighter seems to be able to do the trick only that I don't need to >> 'highlight' any text. After knowing if terms in the query matched I >> want >> do do something else based on this. > > --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org