On 3/23/07, Chris Hostetter <[EMAIL PROTECTED]> wrote:

Only a simple prefix query (like: dn*) doesn't work ... and that seems to
be because of the way we optimize a PrefixQuery into a
ConstantScorePrefixQuery .. a workarround is to allways include a "?" in
your query when you want highlighting -- so instead of dn* search for dn?*

Note that you need the a recent nightly build for that to work--it
wasn't there for the last release.

-Mike

Reply via email to