Elasticsearch Type Queries

Description

Please create automated tests to verify support for Type queries, as documented here: https://docs.alfresco.com/6.2/concepts/dev-api-by-language-alf-rest-finding-content-by-search-query.html

The following example shows how searching for a specific type works for Search 2.0. This behavior should be replicated.
{
"query": {
"query": "+TYPE:\"cm:content\"",
"language": "afts"
},
"paging": {
"maxItems": "25",
"skipCount": "10"
},
"sort": [{"type":"FIELD", "field":"cm:name", "ascending":"false"}]
}

Consideration should be given to whether it is optimal to work on Type queries at same time as Aspect queries.

Acceptance Criteria

  • Creation of automated tests for Type queries

  • Documentation for support (or lack of) Type queries

  • Creation of any tickets necessary to provide support for Type queries, if not already working

Assignee

Unassigned

Reporter

Martin Stanford

Labels

None

Release Train

None

Delivery Team

None

Priority

Unprioritized