FAQ
I was wondering whats the difference between the Lucene's 2 implementation of
highlighters...
I saw the javadoc of FVH, but it only says "another implementation of Lucene
Highlighter" ...

Can someone throw some more light on this ?

--
View this message in context: http://lucene.472066.n3.nabble.com/Difference-between-regular-Highlighter-and-Fast-Vector-Highlighter-tp2763162p2763162.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org

Search Discussions

  • Koji Sekiguchi at Apr 2, 2011 at 12:44 am

    (11/04/01 21:32), shrinath.m wrote:
    I was wondering whats the difference between the Lucene's 2 implementation of
    highlighters...
    I saw the javadoc of FVH, but it only says "another implementation of Lucene
    Highlighter" ...
    Description section in the javadoc shows the features of FVH:

    https://builds.apache.org/hudson/job/Lucene-trunk/javadoc/all/org/apache/lucene/search/vectorhighlight/package-summary.html#package_description

    * fast for large docs
    * support N-gram fields
    * support phrase-unit highlighting with slops
    * need Java 1.5
    * highlight fields need to be TermVector.WITH_POSITIONS_OFFSETS
    * take into account query boost to score fragments
    * support colored highlight tags
    * pluggable FragListBuilder
    * pluggable FragmentsBuilder

    Koji
    --
    http://www.rondhuit.com/en/

    ---------------------------------------------------------------------
    To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
    For additional commands, e-mail: java-user-help@lucene.apache.org
  • Shrinath.m at Apr 2, 2011 at 2:37 am
    Got it :)

    Thanks for the link.

    [closed]
    On Sat, Apr 2, 2011 at 6:14 AM, Koji Sekiguchi [via Lucene] wrote:

    (11/04/01 21:32), shrinath.m wrote:
    I was wondering whats the difference between the Lucene's 2
    implementation of
    highlighters...
    I saw the javadoc of FVH, but it only says "another implementation of Lucene
    Highlighter" ...
    Description section in the javadoc shows the features of FVH:


    https://builds.apache.org/hudson/job/Lucene-trunk/javadoc/all/org/apache/lucene/search/vectorhighlight/package-summary.html#package_description

    * fast for large docs
    * support N-gram fields
    * support phrase-unit highlighting with slops
    * need Java 1.5
    * highlight fields need to be TermVector.WITH_POSITIONS_OFFSETS
    * take into account query boost to score fragments
    * support colored highlight tags
    * pluggable FragListBuilder
    * pluggable FragmentsBuilder

    Koji
    --
    http://www.rondhuit.com/en/

    ---------------------------------------------------------------------
    To unsubscribe, e-mail: [hidden email]<http://user/SendEmail.jtp?type=node&node=2765616&i=0&by-user=t>
    For additional commands, e-mail: [hidden email]<http://user/SendEmail.jtp?type=node&node=2765616&i=1&by-user=t>



    ------------------------------
    If you reply to this email, your message will be added to the discussion
    below:

    http://lucene.472066.n3.nabble.com/Difference-between-regular-Highlighter-and-Fast-Vector-Highlighter-tp2763162p2765616.html
    To unsubscribe from Difference between regular Highlighter and Fast Vector
    Highlighter ?, click here<http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=2763162&code=c2hyaW5hdGgubUB3ZWJ5b2cuY29tfDI3NjMxNjJ8LTIxMzY3ODQ0ODI=>.


    --
    Regards
    Shrinath.M


    --
    View this message in context: http://lucene.472066.n3.nabble.com/Difference-between-regular-Highlighter-and-Fast-Vector-Highlighter-tp2763162p2765899.html
    Sent from the Lucene - Java Users mailing list archive at Nabble.com.
  • Mark Miller at Apr 11, 2011 at 3:48 pm
    The general and short answer is:

    Highlighter: highlights more query types, has a fairly rich API, doesn't scale well to very large documents (though https://issues.apache.org/jira/browse/LUCENE-2939 is going to help a lot here) - does not require that you store term vectors, but is faster if you do.

    FVH: works with fewer query types and requires that you store term vectors - but scales better than the std Highlighter to very large documents

    - Mark Miller
    lucidimagination.com

    Lucene/Solr User Conference
    May 25-26, San Francisco
    www.lucenerevolution.org
    On Apr 1, 2011, at 8:32 AM, shrinath.m wrote:

    I was wondering whats the difference between the Lucene's 2 implementation of
    highlighters...
    I saw the javadoc of FVH, but it only says "another implementation of Lucene
    Highlighter" ...

    Can someone throw some more light on this ?

    --
    View this message in context: http://lucene.472066.n3.nabble.com/Difference-between-regular-Highlighter-and-Fast-Vector-Highlighter-tp2763162p2763162.html
    Sent from the Lucene - Java Users mailing list archive at Nabble.com.

    ---------------------------------------------------------------------
    To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
    For additional commands, e-mail: java-user-help@lucene.apache.org







    ---------------------------------------------------------------------
    To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
    For additional commands, e-mail: java-user-help@lucene.apache.org

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupjava-user @
categorieslucene
postedApr 1, '11 at 12:33p
activeApr 11, '11 at 3:48p
posts4
users3
websitelucene.apache.org

People

Translate

site design / logo © 2022 Grokbase