Thanks for the explanation! I was mistaken in my understanding of the
sort order of TermEnum.
-Dave
-Original Message-
From: Uwe Schindler [mailto:u...@thetaphi.de]
Sent: Friday, April 17, 2009 5:08 PM
To: java-dev@lucene.apache.org
Subject: RE: PrefixQuery.rewrite
Hi Dave,
The code
Hi Dave,
The code is correct, here my comments:
> This
> code, as I understand it, is designed to expand a prefix wildcard and
> rewrite the query as a long boolean series of ANDs.
>
> To improve performance the code has a Break statement designed to kick
> out of the TermEnum starts enumerating