Solr does not natively store/index/search arbitrary JSON documents. It accepts JSON in a specific format for document input.
wunder On May 29, 2012, at 3:21 PM, rjain15 wrote: > Hi Gora, > > I am working on a Mobile App, which is updating/accessing/searching data and > I have created a simple prototype using Solr and the Update JSON / Get JSON > functions of Solr. > > I came across some discussion on MongoDB and how it natively stores JSON > data, and hence as I was looking at scalability of data storage/indexing, I > was pausing to understand if I am on the right track of just using Solr or > should I combine Solr with MongoDB as I am reading this blog post... > > http://blog.knuthaugen.no/2010/04/cooking-with-mongodb-and-solr.html > http://blog.knuthaugen.no/2010/04/cooking-with-mongodb-and-solr.html > > Maybe this is an incorrect question, as you say -- MongoDB might be an > entirely different beast. > > Apologies for a novice question. My point was, for Mobile / Consumer Web > Apps -- what are the architectural considerations. I don't want it to be a > overkill, hence if solr can natively store/index/search json documents, then > that is the solution I can build on top of. > > > Thanks > Rajesh >