Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: search
    • Labels:
      None

      Description

      A collection of rough enhancements to the default highlighter. Mostly to be used as ideas for future development.

      RegexFragmenter -> Define a regular expression to indicate "points of interest" inthe target text (eg., beginning/end of sentences). Fragmenter will attempt to start/end fragments at these locations

      1. regexfrag.patch
        11 kB
        Mike Klaas
      2. RegexFragmenter.java
        5 kB
        Mike Klaas

        Issue Links

          Activity

          Hide
          Mike Klaas added a comment -

          Fleshes out the RegexFragmenter integration with solr (which was already partially-committed).

          Adds parameters:

          • hl.regex.pattern
          • hl.regex.maxAnalyzedChars

          Also adds tests, improved javadocs, and better example in solrconfig.xml.

          I'll probably commit this in a few days.

          Show
          Mike Klaas added a comment - Fleshes out the RegexFragmenter integration with solr (which was already partially-committed). Adds parameters: hl.regex.pattern hl.regex.maxAnalyzedChars Also adds tests, improved javadocs, and better example in solrconfig.xml. I'll probably commit this in a few days.
          Hide
          Mike Klaas added a comment -

          committed in r557872

          Show
          Mike Klaas added a comment - committed in r557872

            People

            • Assignee:
              Mike Klaas
              Reporter:
              Mike Klaas
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development