Messages and Codes Reference Guide (PDF)

MarkLogic 10 Product Documentation
Messages and Codes Reference Guide
— Chapter 32

« Previous chapter
Next chapter »

THSR Messages

THSR-DUPSYN

Message Text

entry: variable1 hasduplicate synonym: variable2

Cause

You tried to create a thesaurus entry with duplicate synonyms for the same term.

Response

Before creating a thesaurus entry, make sure each synonym for that term is unique.

THSR-EMPTYTERM

Message Text

Empty term node not allowed: variable1

Cause

You tried to add a thesaurus entry with an empty term element.

Response

Given the term element a value and try again.

THSR-HASSYN

Message Text

Term already has synonym: variable1 has variable2

Cause

You tried to add a synonym that already exists for that term.

Response

Each synonym for a term must be unique. Do not try to add duplicate synonyms for the same term.

THSR-INVENTNODE

Message Text

Invalid variable1 node in entry: variable2

THSR-INVENTRYELEM

Message Text

Invalid element in entry: variable1

Cause

You tried to create a thesaurus entry with an invalid element in the entry element.

Response

Check that your entry element contains only valid elements such as term and synonym.

THSR-INVPOSNODE

Message Text

Invalid node in part-of-speech: variable1

THSR-INVQUALNODE

Message Text

Invalid node in qualifiers: variable1

THSR-INVSNNODE

Message Text

Invalid node in scope-notes: variable1

THSR-INVSYNELEM

Message Text

Invalid element in synonym: variable1

Cause

You tried to create a thesaurus entry with an invalid element in the synonym element.

Response

Check that your entry's synonym element contains only valid elements, such as term and part-of-speech.

THSR-INVSYNNODE

Message Text

Invalid variable1 node in synonym: variable2

THSR-INVTERMNODE

Message Text

Invalid node in term: variable1

Cause

You tried to create a thesaurus entry with an invalid node in the term element.

Response

The term element in a thesaurus entry must not contain other nodes.

THSR-MULTTERMS

Message Text

Multiple terms for a single entry not allowed

THSR-NODENIN

Message Text

variable1 node not in thesaurus namespace

THSR-NONENTRY

Message Text

Non entry element one level deep: variable1

THSR-NOSYN

Message Text

No synonyms for an entry not allowed

Cause

You tried to create a thesaurus entry with a term but no synonyms.

Response

When you create a thesaurus entry you must include at least 1 synonym.

THSR-NOTASTRING

Message Text

variable1 isnot a string: variable2

THSR-NOTERM

Message Text

No term for an entry not allowed

Cause

You tried to create a thesaurus entry with no entry/term element.

Response

Check that your entry has a term element child of the entry element.

THSR-NOTHSR

Message Text

Thesaurus not found: variable1

THSR-TOPNT

Message Text

Top level node is not a thesaurus node: variable1

« Previous chapter
Next chapter »
Powered by MarkLogic Server | Terms of Use | Privacy Policy