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

Have a way to trace fulltext search performed on repository

    XMLWordPrintable

    Details

    • Upgrade notes:
      Hide

      It is now possible to detect if repository full-text search is used by configuring log4j2 to activate the following logger:

        <Logger name="org.nuxeo.ecm.core.storage.mongodb.MongoDBRepositoryQueryBuilder" level="debug" />
      
      Show
      It is now possible to detect if repository full-text search is used by configuring log4j2 to activate the following logger: <Logger name= "org.nuxeo.ecm.core.storage.mongodb.MongoDBRepositoryQueryBuilder" level= "debug" />
    • Team:
      PLATFORM
    • Sprint:
      nxplatform #62, nxplatform #63
    • Story Points:
      3

      Description

      Using full-text search against the repository is something very expensive at the database level.
      For any large repository, all complex searches (especially full-text searches) must be done on Elasticsearch.

      We want to be able to activate traces (with a stack) in order to know if fulltext searches are used or not against the repository.

      This way we can have a confirmation if the database fulltext index can be removed and the repository fulltext disabled with

      nuxeo.vcs.fulltext.search.disabled=false
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: