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

Add TokenFilter to add custom term frequency (like DelimitedPayloadTokenFilter)

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.0
    • Component/s: modules/analysis
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      This is a followup of LUCENE-7854. This will add a simple TokenFilter like DelimitedPayloadTokenFilter that can be used to index a custom term frequency: "token|5" will be index token "token" with a term freq of 5. The effect is the same as adding the token 5 times by a "repeat token filter".

        Attachments

        1. LUCENE-7866.patch
          11 kB
          Uwe Schindler
        2. LUCENE-7866.patch
          11 kB
          Uwe Schindler
        3. LUCENE-7866.patch
          11 kB
          Uwe Schindler
        4. LUCENE-7866.patch
          11 kB
          Uwe Schindler

          Issue Links

            Activity

              People

              • Assignee:
                thetaphi Uwe Schindler
                Reporter:
                thetaphi Uwe Schindler
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: