Hi,
a final version of the highlighter extension is in the repository. It is not
more 100% compatible with the java version
as I added some more functionality - Not rewritten queries can be used along
with the SpanHighlightScorer as they
will get rewritten in place if this is allowed by setting
autoRewriteQueries=true.
On the other hand in this implementation you always have to specify the field
name that is being scored which is used
to identify relevant parts of the query.
Jiri
From: Šplíchal Jiří [mailto:splic...@tovek.cz]
Sent: Monday, December 27, 2010 4:51 PM
To: clucene-developers@lists.sourceforge.net
Subject: [CLucene-dev] Highlighter implementation
Hello,
I have extended the current highlighter implementation based on the
implementation in Java Lucene 2.4.1 in order to support
correct highlighting of Phrase, MultiPhrase and Span queries. This highlighter
is now able to highlight exact the terms that lead
to the hit. I also implemented some of its tests.
The sources are located in the highlighter branch of the GIT repository. We are
definitely going to use it as we need the exact
highlighting. And even if it is based on a newer java version I think we should
add this feature the master branch after testing is done.
This is the first but already working version. I will continue testing it so
something may still change but those will be only minor changes - bug fixes.
Any feedback is welcome.
Jiri
------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and,
should the need arise, upgrade to a full multi-node Oracle RAC database
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
CLucene-developers mailing list
CLucene-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/clucene-developers