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

Allow MongoDB to not do fulltext indexing

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 6.0
    • Fix Version/s: 6.0-HF02, 7.1
    • Component/s: Core MongoDB
    • Tags:
    • Impact type:
      Configuration Change
    • Upgrade notes:
      Hide

      Fulltext indexing can be disabled by adding in the MongoDB repository configuration:

      <repository name="default" label="MongoDB Repository">
      <server>...</server>
      <fulltext disabled="true"/>
      </repository>

      Show
      Fulltext indexing can be disabled by adding in the MongoDB repository configuration: <repository name="default" label="MongoDB Repository"> <server>...</server> <fulltext disabled="true"/> </repository>
    • Sprint:
      Sprint RepoTeam 7.1-2

      Description

      Fulltext indexing is not reliable on MongoDB (there is a 1024 bytes limitation on its indexes, including text indexes).

      To avoid failures on values that are too long, it's possible since MongoDB 2.6 to use the failIndexKeyTooLong parameter and set it to false. See Compatibility Changes in MongoDB 2.6 for more.

      However this is not an ideal solution, and a way to completely disabled fulltext indexing is needed.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: