Comfortable | Docs
  • Comfortable Documentation
  • Concepts
    • Content Repositories
    • Content Types
    • Documents
    • Assets
    • Content Tree
    • Collections
    • Webhooks
    • Team
    • Locales
  • APIs
    • RESTful API
      • Endpoints
      • API Reference
        • Sorting
        • Filters
        • Localisation
        • Fields
        • Includes
        • Search
      • Query Examples
        • Collections
        • Single Documents
        • Single Assets
        • Sorting
        • Filters
        • Includes
    • Image Manipulation
  • SDKs
    • JavaScript
      • Query Options
      • Query All Documents
      • Query a Collection
      • Query a Single Document
      • Query an Alias
      • Query an Asset
      • Example: Filters
      • Example: Sorting
    • Nuxt.js
    • PHP
      • Query All Documents
      • Query Single Document
      • Query Collection
      • Query an Alias
      • Query an Asset
      • Fulltext Search
      • Query by Fields
      • Query by Type
      • Query by Id
      • Query by Tags
  • Guides
    • Vue Blog Example
  • Legal
    • Legal Notice
    • Privacy Policy
Powered by GitBook
On this page
  • Search query
  • Seach Features
  • Stemming
  • Stop Words
  • Exclude Words
  • Supported Languages
  1. APIs
  2. RESTful API
  3. API Reference

Search

PreviousIncludesNextQuery Examples

Last updated 6 years ago

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 .

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 .

You can control the locale for a search with the . 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)

filters
stemming
locale parameter