Solr
  1. Solr
  2. SOLR-4675

improve PostingsHighlighter integration

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.3, 5.0
    • Component/s: None
    • Labels:
      None

      Description

      currently the integration started out very simple (as custom highlighter class with minimal options, mostly not query-time or per-field).

      But recently we made this a lot more flexible in lucene (e.g. added various per-field options), so i'd like to add a better/more powerful mapping to more of the existing highlighting parameters.

      I still plan to keep it a custom highlighter rather than tossed into the crazy bipolar DefaultSolrHighlighter mess, but this will make it easier to use.

      1. SOLR-4675.patch
        18 kB
        Robert Muir
      2. SOLR-4675.patch
        17 kB
        Robert Muir

        Activity

        Hide
        Uwe Schindler added a comment -

        Closed after release.

        Show
        Uwe Schindler added a comment - Closed after release.
        Hide
        Robert Muir added a comment -

        Same patch but with additional javadocs, showing all the default parameters.

        Show
        Robert Muir added a comment - Same patch but with additional javadocs, showing all the default parameters.
        Hide
        Robert Muir added a comment -

        Here's a patch.

        I tried to reuse as many existing highlighter parameters as possible, and only added ones where something didn't exist or would be super-confusing.

        Show
        Robert Muir added a comment - Here's a patch. I tried to reuse as many existing highlighter parameters as possible, and only added ones where something didn't exist or would be super-confusing.

          People

          • Assignee:
            Robert Muir
            Reporter:
            Robert Muir
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development