Came here searching for the same thing :)
So far, this is the best self-hosted solution I found (but would be grateful for other suggestions before I start installing): https://github.com/danielquinn/paperless Includes OCR , indexing and search out of box.
There is also MayanEDMS, but it is a full fledged DMS, bit of a overkill for home use.