Hey @borosr, full text search indexes with couchbase are searchable while they’re building. If you’d rather wait for the index to complete building before running search requests, you’d be able to extract the indexed doc count and the source doc count from the index to estimate the stage of index build.
On the UI you should be able to see “Indexing Progress” that is calculated using the above stats.
Here’s the end point to fetch the indexed “count”…
curl -XGET http://<username>:<password>@<ip>:8094/api/index/<indexname>/count
The source doc count is available as “docCount” in the group of stats available at this end point …
curl -XGET http://<username>:<password>@<ip>:8094/api/stats/sourceStats/<indexname>