Update documentation
The server code documentation is old and bad in some places. Specifically, we should rework the outdated "using the rest API section" and mostly point to the client code documentation. There are also some search documentation updates needed.