/duckcloud-server-core

File and metadata storage in S3 compliant bucket (An Electronic Content Management System made for organised ducks)

Primary LanguageJava

Duckcloud Server

File explorer

Search API

Elasticsearch Queries

Search for text content (full text search)

GET node/_search
{
  "query": {
    "multi_match": {
      "query": "KEEP COOL",
      "fields": ["cm:textContent"]
    }
  }
}

Search by properties

GET node/_search
{
  "query": {
    "bool": {
      "must": [
        {
          "match": {
            "properties.cm:name": "Install-Linux-tar.txt"
          }
        }
      ]
    }
  }
}