DocsStatsContext Data Type

Properties
name data type constraints description
texts array of DocsStatsDocument  
synonyms array of array of string  
significantTerms number required
ignore array of string  
language string  
maxAssociations number required
autoMergeSuggestions boolean required
generateDocumentNGrams boolean required

Example

{
  "texts" : [ {
    "body" : "...",
    "title" : "...",
    "id" : "..."
  }, {
    "body" : "...",
    "title" : "...",
    "id" : "..."
  } ],
  "synonyms" : [ [ "...", "..." ], [ "...", "..." ] ],
  "significantTerms" : 12345,
  "ignore" : [ "...", "..." ],
  "language" : "...",
  "maxAssociations" : 12345,
  "autoMergeSuggestions" : true,
  "generateDocumentNGrams" : true
}