Re: Matching query terms

2009-03-23 Thread Michael McCandless
You mean, for each doc in the topN you want to be able to find out which terms caused it to match? This is frequently requested feature (I think there was another thread just recently). But unfortunately there's not really a good/simple way today (I think?). Someone should at least start a wiki

Re: Matching query terms

2009-03-23 Thread Wouter Heijke
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 e

Re: Matching query terms

2009-03-23 Thread Paul Libbrecht
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 tri

Matching query terms

2009-03-23 Thread Wouter Heijke
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. Woute