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

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0
    • Fix Version/s: 4.0-ALPHA
    • Component/s: core/query/scoring
    • Labels:
      None
    • Lucene Fields:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: