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

Declare a field as "large", don't keep value in the document cache

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

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 6.5, 7.0
    • None
    • None

    Description

      (part of umbrella issue SOLR-10117)
      This adds a field to be declared as "large" in the schema. In the SolrIndexSearcher.doc(...) handling, these fields are lazily fetched from Lucene. Unlike LazyDocument.LazyField, it's not cached after first-use unless the value is "small" < 512KB by default. "large" can only be used when its stored="true" and multiValued="false" and the field is otherwise compatible (basically not a numeric field) – you'll get a helpful exception if it's unsupported. BinaryField is not yet supported at this time; it could be in the future.

      Attachments

        Issue Links

        Activity

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

          People

            dsmiley David Smiley
            dsmiley David Smiley
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment