Search

Perform a Full-Text search query by using the search parameter. You can apply a search query for all documents, collections, or combine it with filters.

Search query

GET https://api.cmft.io/v1/<repoName>/<endpoint>?search=<searchTerm>

Path Parameters

Name
Type
Description

repoName

string

The API identifier of the repository

endpoint

string

The endpoint you'd like to request

search

string

Provide the search term

Headers

Name
Type
Description

Authorization

string

Provide an API Key

Seach Features

Stemming

The search supports stemming.

You can control the locale for a search with the locale parameter. The default locale for the search is the same as a repositories default locale.

Stop Words

The search supports language-specific stop words (e.g. in English, the, an, a, and, etc.)

Exclude Words

Exclude words from the search by prefixing them with - (e.g. Flowers -Sunflowers)

Supported Languages

Stemming and Stop Words are supported for the following languages:

  • danish (da)

  • dutch (nl)

  • english (en)

  • finnish (fi)

  • french (fr)

  • german (de)

  • hungarian (hu)

  • italian (it)

  • norwegian (nb)

  • portugese (pt)

  • romanian (ro)

  • russian (ru)

  • spanish (es)

  • swedish (sv)

  • turkish (tr)

  • arabic (ara)

  • dari (prs)

  • iranian persian (pes)

  • urdu (urd)

  • simplified chinese or hans (zhs)

  • traditional chinese or hant (zht)

Last updated