Lucene - Core
  1. Lucene - Core
  2. LUCENE-4827

don't hardcode PostingsHighlighter scoring parameters

    Details

    • Type: Test Test
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.3, 6.0
    • Component/s: modules/highlighter
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      Tuning these parameters can be very useful if you want to tweak how sentences are ranked (e.g. you have a strangeish corpus like wikipedia).

      1. LUCENE-4827.patch
        8 kB
        Robert Muir
      2. LUCENE-4827.patch
        3 kB
        Robert Muir

        Activity

        Hide
        Robert Muir added a comment -

        patch without tests. Would be good to add a simple test that e.g. sets b=0 to disable passage length normalization or something.

        Show
        Robert Muir added a comment - patch without tests. Would be good to add a simple test that e.g. sets b=0 to disable passage length normalization or something.
        Hide
        Michael McCandless added a comment -

        +1

        Show
        Michael McCandless added a comment - +1
        Hide
        Robert Muir added a comment -

        Here's a patch with tests. Ill run checks and commit.

        Show
        Robert Muir added a comment - Here's a patch with tests. Ill run checks and commit.
        Hide
        Commit Tag Bot added a comment -

        [branch_4x commit] Robert Muir
        http://svn.apache.org/viewvc?view=revision&revision=1456603

        LUCENE-4827: correct issue number in CHANGES.txt

        Show
        Commit Tag Bot added a comment - [branch_4x commit] Robert Muir http://svn.apache.org/viewvc?view=revision&revision=1456603 LUCENE-4827 : correct issue number in CHANGES.txt
        Hide
        Commit Tag Bot added a comment -

        [trunk commit] Robert Muir
        http://svn.apache.org/viewvc?view=revision&revision=1456602

        LUCENE-4827: correct issue number in CHANGES.txt

        Show
        Commit Tag Bot added a comment - [trunk commit] Robert Muir http://svn.apache.org/viewvc?view=revision&revision=1456602 LUCENE-4827 : correct issue number in CHANGES.txt
        Hide
        Uwe Schindler added a comment -

        Closed after release.

        Show
        Uwe Schindler added a comment - Closed after release.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development