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

Allow configuration of facets that are never per-document

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.8
    • Impact type:
      Configuration Change
    • Upgrade notes:
      Hide

      NOTE: Since Nuxeo 5.9.3 this is superseded by https://jira.nuxeo.com/browse/NXP-14049

      To specify that a facet is, for search purposes, always defined on a type and never on document instances, use in default-repository-config.xml (or its template):

      <indexing>
      <neverPerDocumentFacets>
      <facet>SomeFacet</facet>
      <facet>AnotherFacet</facet>
      </neverPerDocumentFacets>
      ...
      </indexing>

      Show
      NOTE: Since Nuxeo 5.9.3 this is superseded by https://jira.nuxeo.com/browse/NXP-14049 To specify that a facet is, for search purposes, always defined on a type and never on document instances, use in default-repository-config.xml (or its template): <indexing> <neverPerDocumentFacets> <facet>SomeFacet</facet> <facet>AnotherFacet</facet> </neverPerDocumentFacets> ... </indexing>

      Description

      Per-document facets (as opposed to facets declared on the type) have an important speed impact on queries that filter on them (NXQL ecm:mixinType = 'SomeFacet'). It should be possible to specify that a given facet will never be a search criteria for a document-only facet (doc.addFacet("SomeFacet")).

      Note that the system facets "Folderish" and "HiddenInNavigation" already behave this way.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  PagerDuty

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