Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-29261

Allow configuration of repository/directory indexes to add, even after initial creation

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2021.8
    • Component/s: Core MongoDB
    • Release Notes Summary:
      It's possible to contribute MongoDB indexes to add.
    • Release Notes Description:
      Hide

      Since Nuxeo 2021.8, you can contribute indexes to be created at Nuxeo startup. Nuxeo supports these types of index: `ascending`, `descending`, and `none` to disable the index.

      Contribute the xml below to make a property indexed:

      <component name="my.component.name">
        <extension target="org.nuxeo.ecm.core.schema.TypeService" point="schema">
          <property schema="SCHEMA" name="PROPERTY" indexOrder="ascending" />
          <property schema="SCHEMA" name="PROPERTY" indexOrder="descending" />
        </extension>
      </component>
      
      Show
      Since Nuxeo 2021.8, you can contribute indexes to be created at Nuxeo startup. Nuxeo supports these types of index: `ascending`, `descending`, and `none` to disable the index. Contribute the xml below to make a property indexed: <component name= "my.component.name" > <extension target= "org.nuxeo.ecm.core.schema.TypeService" point= "schema" > <property schema= "SCHEMA" name= "PROPERTY" indexOrder= "ascending" /> <property schema= "SCHEMA" name= "PROPERTY" indexOrder= "descending" /> </extension> </component>
    • Tags:
    • Sprint:
      nxplatform #40, nxplatform #42
    • Story Points:
      1

      Description

      We should allow XML configuration of indexes to add in the repository or directories.

      It's often the case that application analysis reveals some fields that are queried often, and that need to be indexed. Having Ops teams add the indexes manually is rarely an option.

       

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  PagerDuty

                  Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.