Content Delivery

Count content matching a Lucene query

Changed on

Performs an index count using the specified Lucene query and returns the total number of matching contentlets as a plain text string.

get/api/content/indexcount/{query}

Request

Path parameters

querystring required

Lucene query string to count matching content

Query parameters

typestring

Response format type (optional)

callbackstring

JSONP callback function name (optional)

Response

Count of matching contentlets returned successfully

Changes

    • warning

      deleted the path request parameter callback

    • warning

      deleted the path request parameter type

    • info

      api operation id indexCount_1 removed and replaced with indexCountContent

    • info

      added the new optional query request parameter callback

    • info

      added the new optional query request parameter type

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the success response with the status