You might examine what the Apache CouchDB people have done. It's a document oriented DB that is able to use JSON structured documents combined with Lucene indexing of the documents with a RESTful HTTP interface.
It's a stretch, and written in Erlang.. but perhaps there is some inspiration to be had for 'solr as the data store'. - Neal Richter