Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-1887

Improve log message at DefaultSolrHighlighter when use.FastVectorHighlighter=true

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.5
    • highlighter
    • None

    Description

      I try use SOLR-1268 new feature. But I am confused.

      I set use.FastVectorHighlighter=true, but FVH is disabled.
      Because It was not set TermPosition=on and TermOffsets=on at schema.xml .

      So, I suggest adding log.warn() in the following conditions.

      • use.FastVectorHighlighter=true
      • TermPosition=off or TermOffsets=off

      Attachments

        1. SOLR-1887.patch
          1 kB
          Hayato Ito

        Activity

          People

            koji Koji Sekiguchi
            hayato Hayato Ito
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: