Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-2236

Similarity can only be set per index, but I may want to adjust scoring behaviour at a field level

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0
    • 4.0-ALPHA
    • core/query/scoring
    • None
    • New

    Description

      Similarity can only be set per index, but I may want to adjust scoring behaviour at a field level, to faciliate this could we pass make field name available to all score methods.
      Currently it is only passed to some such as lengthNorm() but not others such as tf()

      Attachments

        1. LUCENE-2236.patch
          178 kB
          Robert Muir
        2. LUCENE-2236.patch
          100 kB
          Robert Muir
        3. LUCENE-2236.patch
          104 kB
          Doron Cohen
        4. LUCENE-2236.patch
          104 kB
          Doron Cohen
        5. LUCENE-2236.patch
          105 kB
          Robert Muir

        Activity

          People

            rcmuir Robert Muir
            ijabz Paul taylor
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: