Most of the javascript frameworks (AngularJS, etc) allow to post information back to the server. If you use gmail or yahoo mail or anything else, it's a javascript that lets you send a message.
So, if you completely trust your users, you can just have Javascript and Solr and nothing else. Though I would then make sure that Solr has all the fields as stored. Otherwise, if you ever need to reindex, you will have not be able to retrieve index-only fields. Usually that's not an issue as the Solr is NOT the primary storage (database is), but you seem to want to make Solr the primary storage, so you have additional issues to keep in mind.f Regards, Alex. Personal: http://www.outerthoughts.com/ and @arafalov Solr resources and newsletter: http://www.solr-start.com/ and @solrstart Solr popularizers community: https://www.linkedin.com/groups?gid=6713853 On 20 October 2014 22:22, LongY <zhangyulin8...@hotmail.com> wrote: > The solr users are trustworthy and it's only for internal use. The purpose of > this form is to allow user to directly input data to be further indexed by > solr. I am interested in this sentence from your reply which is "Or you can > run Javascript to post back to Solr". Please bear with me if I ask very > simple question on the web programming. From my understanding, javascript is > client-side programming language, how is it possible to post the form data > back to Solr using javascript. Thank you. > > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/javascript-form-data-save-to-XML-in-server-side-tp4165025p4165061.html > Sent from the Solr - User mailing list archive at Nabble.com.