You need to add another parameter which defines the 'id' field. 'id' is required- it is unique for every document. Usually you can pick the filename.
Lance On Fri, Jan 14, 2011 at 3:59 AM, Jörg Agatz <joerg.ag...@googlemail.com> wrote: > ok, now in the 4 test, it works ? ok.. i dont know... it works.. but now i > have a Oher Problem, i cant sent content to the Server.. > > > > > when i will send Content to solr i get: > > <html> > <head> > <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/> > <title>Error 400 </title> > </head> > <body><h2>HTTP ERROR: 400</h2><pre>Document [null] missing required field: > id</pre> > <p>RequestURI=/solr/update/extract</p><p><i><small><a href=" > http://jetty.mortbay.org/">Powered by Jetty://</a></small></i></p><br/> > > <br/> > <br/> > <br/> > <br/> > <br/> > <br/> > <br/> > <br/> > <br/> > <br/> > <br/> > <br/> > <br/> > <br/> > <br/> > <br/> > <br/> > <br/> > <br/> > > </body> > </html> > > > I do: > curl " > http://192.168.105.66:8983/solr/update/extract?ext.idx.attr=true\&ext.def.fl=text" > -F "myfile=@test.txt" > > some ideas? > -- Lance Norskog goks...@gmail.com