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

Add TokenFilter to add custom term frequency (like DelimitedPayloadTokenFilter)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 7.0
    • modules/analysis
    • None
    • 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

              uschindler Uwe Schindler
              uschindler Uwe Schindler
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: