Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-16994

facilitate date-related FieldValueFeature extensions (docValues=True only)

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • main (10.0), 9.4
    • contrib - LTR
    • None

    Description

      Currently having custom features such as relative "document age" or "remaining shelf life" based on a date field requires duplication of a lot of the FieldValueFeature code:

      The NumericDocValuesFieldValueFeatureScorer.readNumericDocValues() implementation already considers the float and double NumberType choices and by also considering NumberType.DATE there we could facilitate date-related extensions:

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            cpoerschke Christine Poerschke
            cpoerschke Christine Poerschke
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1h
                1h

                Slack

                  Issue deployment