lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Klaas" <mike.kl...@gmail.com>
Subject Re: return matched terms / fuzzy or wildcard searches
Date Sat, 24 Mar 2007 22:34:27 GMT
On 3/23/07, Chris Hostetter <hossman_lucene@fucit.org> 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

Mime
View raw message