thanks brian and otis,
i will definitely try solrj.. but actaually now the problem is resolved by
setting content length in header i was missing it
c.setRequestProperty("Content-Length", xmlText.length()+"");
but now its not throwing any error but not indexing the document either.. do
I have to set autoCommit on in solrconfig.xml ???


thanks


On 1/15/08, Brian Whitman <[EMAIL PROTECTED]> wrote:
>
>
> On Jan 15, 2008, at 1:50 PM, Ismail Siddiqui wrote:
>
> > Hi Everyone,
> > I am new to solr. I am trying to index xml using http post as follows
>
>
> Ismail, you seem to have a few spelling mistakes in your xml string.
> "fiehld, nadme" etc. (a) try fixing them, (b) try solrj instead, I
> agree w/ otis.
>
>
>
>

Reply via email to