Hi,

since I need highlighting, I need to 'rewrite' a query.
Query.rewrite  takes an object of type IndexReader

But what for?

As I understand it, rewrite transforms a possibly complicated
query into an simplified (internal?) form which is (unfortunately)
needed by QueryScorer which is in turn need by Highlighter.

What does Query.rewrite do and why does it need access to the
index?

Many thanks for an explanation,
Helmut.

-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to