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

Choose a default configset for Solr 7

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.0
    • Component/s: None
    • Security Level: Public (Default Security Level. Issues are Public)
    • Labels:
      None

      Description

      Currently, the data_driven_schema_configs is the default configset when collections are created using the bin/solr script and no configset is specified.
      However, that may not be the best choice. We need to decide which is the best choice, out of the box, considering many users might create collections without knowing about the concept of a configset going forward.

      (See also SOLR-10272)

      Proposed changes:

      1. Remove data_driven_schema_configs and basic_configs
      2. Introduce a combined configset, _default based on the above two configsets.
      3. Build a "toggleable" data driven functionality into _default

      Usage:

      1. Create a collection (using _default configset)
      2. Data driven / schemaless functionality is enabled by default; so just start indexing your documents.
      3. If don't want data driven / schemaless, disable this behaviour:
        curl http://host:8983/solr/coll1/config -d '{"set-user-property": {"update.autoCreateFields":"false"}}'
        
      4. Create schema fields using schema API, and index documents

        Attachments

        1. SOLR-10574.patch
          10 kB
          Ishan Chattopadhyaya
        2. SOLR-10574.patch
          6 kB
          Ishan Chattopadhyaya
        3. SOLR-10574.patch
          6 kB
          Ishan Chattopadhyaya
        4. SOLR-10574.patch
          236 kB
          Ishan Chattopadhyaya
        5. SOLR-10574-refguide.patch
          17 kB
          Ishan Chattopadhyaya

          Issue Links

            Activity

              People

              • Assignee:
                ichattopadhyaya Ishan Chattopadhyaya
                Reporter:
                ichattopadhyaya Ishan Chattopadhyaya
              • Votes:
                0 Vote for this issue
                Watchers:
                12 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: