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

MongoDB doesn't like a null "language" field

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.9.5-SNAPSHOT
    • Fix Version/s: 5.9.5
    • Component/s: Core MongoDB
    • Tags:
    • Sprint:
      Sprint RepoTeam 5.9.5-1

      Description

      The language field is used by default in MongoDB to specify how fulltext indexing of a document is to be interpreted. But MongoDB doesn't like to get null values for it:

      WriteResult({
      	"nMatched" : 0,
      	"nUpserted" : 0,
      	"nModified" : 0,
      	"writeError" : {
      		"code" : 17261,
      		"errmsg" : "found language override field in document with non-string type"
      	}
      })
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: