Loading TOC...

XDMP-BADDOCID

Message Text

Invalid classifier specification element: document id variable1 not found

Cause

A document used in the training set for a supports type classifier is not a valid document.

A supports type classifier contains a list of document elements which identify the specific training nodes, using an internal key. The internal key is only valid across queries for nodes in the database. If training and classification are done in different queries when the training documents are not in the database, XDMP-BADDOCID is thrown.

Response

Possible solutions include:

Place your training set in the database.Perform training and classification in the same query.Use a weights classifier. Weights classifiers do not have this restriction.

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.