Skip to main content

Search Documents

POST 

/documents/search

Search Datasphere Documents

Request

Body

required

    tags string[]

    Document tags.

    document_id uuid

    Unique ID of a Document.

    query_string stringrequired

    Search term.

    distance integer

    Possible values: <= 78.3836717690617

    Specifies how closely related the query is to the document. Low distance means high relevance and similarity. High distance means low relevance and similarity.

    count integer

    Specifies number of returned Chunks.

    language string

    Default value: en

    Language of the Document.

    pos_to_expand string[]

    Default value: NOUN,VERB,ADJ,ADV

    Part of Speech considered for expansion or analysis.

    max_synonyms integer

    Default value: 10

    Maximum number of synonyms to consider.

Responses

The request has succeeded.

Schema

  • Array [

  • text stringrequired

    A search result.

    document_id uuidrequired

    Unique ID of a Document.

  • ]

Loading...