-
Notifications
You must be signed in to change notification settings - Fork 332
/
Copy pathrest-index-service.dita
64 lines (60 loc) · 2.59 KB
/
rest-index-service.dita
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE reference PUBLIC "-//OASIS//DTD DITA Reference//EN" "reference.dtd">
<reference id="rest-index-service">
<title>Index Service API</title>
<shortdesc>The Index service REST API provides configuration options for the Index service.</shortdesc>
<refbody>
<section><title>Description</title>
<p>Couchbase Server has data, index, and query services that can be enabled.
All of services can be enabled on a Couchbase Server node or a single service can be enabled on a Couchbase Server node.
Each node is as a member of a cluster.</p>
<table>
<title>Index service endpoints</title>
<tgroup cols="4">
<colspec colname="col1" colwidth="1*"/>
<colspec colname="col2" colwidth="1.35*"/>
<colspec colname="col3" colwidth="2.49*"/>
<colspec colname="col4" colwidth="1.61*"/>
<thead>
<row>
<entry>HTTP method</entry>
<entry>URI path</entry>
<entry>Description</entry>
<entry>Admin Role</entry>
</row>
</thead>
<tbody>
<row>
<entry>GET</entry>
<entry><filepath>/pools/nodes</filepath></entry>
<entry>Retrieves information about nodes in a cluster.</entry>
<entry>Full, Cluster</entry>
</row>
<row>
<entry>POST</entry>
<entry><filepath>/pools/default</filepath></entry>
<entry>The <codeph>indexMemoryQuota</codeph> parameter is passed with an integer value
(example: indexMemoryQuota=512) to set memory quota for the Index service.</entry>
<entry>Full, Cluster</entry>
</row>
<row>
<entry>GET</entry>
<entry><filepath>/settings/indexes</filepath></entry>
<entry>Retrieves parameter settings for the Index service. Available options are
<codeph>indexerThreads</codeph>, <codeph>maxRollbackPoints</codeph>,
<codeph>memorySnapshotInterval</codeph>, and
<codeph>stableSnapshotInterval</codeph>.</entry>
<entry>Full, Cluster</entry>
</row>
<row>
<entry>POST</entry>
<entry><filepath>/settings/indexes</filepath></entry>
<entry>Sets the parameter settings for the Index service.</entry>
<entry>Full, Cluster</entry>
</row>
</tbody>
</tgroup>
</table>
</section>
</refbody>
</reference>