WIP: Document Search + CRDTs

In response to issue #1422