Hi Mark,

thank you, while I've seen the query.rewrite API, I failed to see
the application.

But for the analysis process (we are actually doing something new,
along the lines of the highlighter) we really need the tokens. 
Approaching those via the FilteredTermEnum looks more direct than
first rewriting the query to a new query which isn't needed at this 
point and then analyze those Query objects. 

I don't see what is so wrong with having the getEnum()-API public?
This looks like a less expert API to me than rewrite()?!

Thank you again,
Frank

> -----Original Message-----
> From: markharw00d [mailto:[EMAIL PROTECTED] 
> Sent: Monday, December 06, 2004 8:11 PM
> To: Lucene Users List
> Subject: [Fwd: API suggestion]
> 
> 
> The documentation for the highlighter already covers how to handle 
> wildcard queries.
> 
> See the javadoc notes on query.rewrite.
> 
> 
> Cheers
> Mark
> 
> 

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

Reply via email to