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

: But the response isn't highlighted using fuzzy or wildcard searches...

Hmmm... this seems like a bug in the highlighting, using the sample schema
this highlights properly...

http://localhost:8983/solr/select/?q=id%3AVA902B&version=2.2&start=0&rows=10&indent=on&fl=id&hl=true&hl.fl=id

...but this does not...

http://localhost:8983/solr/select/?q=id%3AV*&version=2.2&start=0&rows=10&indent=on&fl=id&hl=true&hl.fl=id

perhaps the Solr highlighting code isn't calling rewrite() before using
the Highlighter?

It is, in trunk/:

NamedList sumData = HighlightingUtils.doHighlighting(
       results.docList, query.rewrite(req.getSearcher().getReader()),
req, new String[]{defaultFiel
d});

Definitely a bug somewhere.  Does anyone more familiar with lucene see
why the above wouldn't be sufficient?

-Mike

Reply via email to