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

enable thresholded field compression for certain field types

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

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.1.0
    • update
    • None

    Description

      Adds a CompressableField abstract base class from which fieldtypes may inherit. Fields of these types may specify compressed="true" in the field definition to turn on compression. The field type takes an optional compressThreshold parameter which will only turn on compression for fields whose internal representations of greater or equal to a given size.

      TextField and StrField inherit from CompressableField

      Comments? (my main issue is that it woudl be nice to be able to set compressThreshold at the field level. Since we can't without modifying fields to accept named parameters, perhaps it would be preferrable to only allow compress=true/false to be set at the fieldtype leve)

      Attachments

        Activity

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

          People

            klaasm Mike Klaas
            klaasm Mike Klaas
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment