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

Document Transformer to Remove Fields

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 6.2
    • None
    • None

    Description

      Given that SOLR-3191 has become bogged down and inactive, evidently stuck in low level details, and since I have wished several times for some way to just get that one big field out of my results to improve transfer times without making a big brittle list of all my other fields. I'd like to propose a DocumentTransformer that accomplishes this.

      It would look something like this:

      &fl=*,[fl.rm v="title"]

      Since removing one field with a known name is probably the most common case I'd like to start by keeping this simple, and if further features like globs or lists of fields are desired, subsequent Jira tickets can be opened to add them. Not attached to specifics here, only looking to keep things simple and solve the key use case. If you don't like fl.rm as a name for a transformer, suggest a better one (for example).

      Attachments

        1. SOLR-9467.patch
          16 kB
          Gus Heck
        2. SOLR-9467.patch
          6 kB
          Gus Heck

        Activity

          People

            Unassigned Unassigned
            gus Gus Heck
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated: