Language
Article For
3.0

Commands: How to start or stop indexing and get indexing status?

Following endpoints have been created to enable user to toggle reducing:
- StartReducing
- StopReducing

StartReducing

Starts reducing, if it was previously stopped.

Syntax

curl \
	http://{serverName}/databases/{databaseName}/admin/startReducing \
	-X POST \
    -d ""
Payload
Empty

Response

Status code Description
204 No Content

Example

curl -X POST "http://localhost:8080/databases/NorthWind/admin/StartReducing" -d ""
< HTTP/1.1 204 No Content

StopReducing

Stops reducing, if it was running.

Syntax

curl \
	http://{serverName}/databases/{databaseName}/admin/StopReducing \
	-X POST 
    -d ""

Response

Status code Description
204 No Content

Example

curl -X POST "http://localhost:8080/databases/NorthWind/admin/StopReducing" -d ""
< HTTP/1.1 204 No Content