On 29 May 2012 22:27, rjain15 <rjai...@gmail.com> wrote:
> Hi
>
> I am building web app/mobile app, where users can update information
> frequently and there is a search function to quick search the information
> using different types of searches.
>
> Most of the data is going to be posted in JSON Format and stored in JSON
> format
>
> I have a few questions on the architecture choices, I am relatively new to
> Solr and MongoDB.
>
> 1. Should I use MongoDB to store the JSON documents, or does Solr natively
> store the documents in the data directory

Sorry, but you do not provide nearly enough information
for people to be able to make sensible suggestions. What
is your use case? MongoDB is largely a different beast from
Solr. What do you think merits its use, and where does it
fit in your scheme of things? In many cases, one could have
both MongoDB, and Solr. In other cases, one or the other
might better fit the bill.

> 2. Does Solr require a specific schema for the JSON document.

You can POST a JSON document to Solr, and get
JSON output back. Not sure if this meets your needs,
but please take a look at:
http://wiki.apache.org/solr/UpdateJSON
http://wiki.apache.org/solr/SolJSON

Regards,
Gora

Reply via email to