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

Internal fields of a compound type should not be returned to user by default

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Schema and Analysis, search
    • None

    Description

      A search on records with a compound type ("location" in my use case) with 'fl=*' returns the internal fields (location_0_d,location_1_d) along with 'location'.

      These internal fields are implementation details and should not be returned with the wildcard field set. These fields should be visible if the fl= parameter specifically asks for them. This syntax would make sense: "fl=*,location_0_d,location_1_d". Meaning, "return all the fields described in the schema, and also return the internal fields".

      Attachments

        Activity

          People

            Unassigned Unassigned
            lancenorskog Lance Norskog
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: