You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Jörg Agatz <jo...@googlemail.com> on 2010/12/17 14:23:50 UTC

indexing data VIA HTTP URL

hallo, i wont to indexing data from a webpage, like a Comment ore something
else..

so i hope it exist a way to Update the Data Realtime...
like:

http://192.168.105.59:8080/solr/index2/update?commit=true -H "Content-Type:
text/xml" --data-binary '<add><doc><field
name="id">testdoc</field></doc></add>'

but this is not Possible..


exist a way to index data in this way?

King

Re: indexing data VIA HTTP URL

Posted by Qi Ouyang <al...@gmail.com>.
Why not use the tool "curl"?

2010/12/17 Jörg Agatz <jo...@googlemail.com>:
> hallo, i wont to indexing data from a webpage, like a Comment ore something
> else..
>
> so i hope it exist a way to Update the Data Realtime...
> like:
>
> http://192.168.105.59:8080/solr/index2/update?commit=true -H "Content-Type:
> text/xml" --data-binary '<add><doc><field
> name="id">testdoc</field></doc></add>'
>
> but this is not Possible..
>
>
> exist a way to index data in this way?
>
> King
>

Re: indexing data VIA HTTP URL

Posted by Stefan Matheis <ma...@googlemail.com>.
What's about http://wiki.apache.org/solr/UpdateXmlMessages ?