There's an example of using curl to make a REST call to update a core on this page:
https://wiki.apache.org/solr/UpdateXmlMessages If that doesn't help, please let us know what error you're receiving. Michael Della Bitta Applications Developer o: +1 646 532 3062 appinions inc. “The Science of Influence Marketing” 18 East 41st Street New York, NY 10017 t: @appinions <https://twitter.com/Appinions> | g+: plus.google.com/appinions<https://plus.google.com/u/0/b/112002776285509593336/112002776285509593336/posts> w: appinions.com <http://www.appinions.com/> On Fri, May 23, 2014 at 10:42 AM, benjelloun <anass....@gmail.com> wrote: > Hello, > > I looked to source code of post.jar, that was very interesting. > I looked for manifoldcf apache, that was interesting too. > But i what i want to do is indexing some files using http rest, this is my > request which dont work, maybe this way is the easiest for implementation: > > put: localhost:8080/solr/update?commit=true > <add> > <doc> > <field name="title">khalid</field> > <field name="description">bouchna9 </field> > <field name="date">23/05/2014 </field> > </doc> > </add> > > I'm using dev http client for test. > Thanks, > Anass BENJELLOUN > > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/index-a-repository-of-documents-doc-without-using-post-jar-tp4137797p4137881.html > Sent from the Solr - User mailing list archive at Nabble.com. >