[annotator-dev] (no subject)

Randall Leeds tilgovi at hypothes.is
Tue Jul 2 21:22:16 UTC 2013


On Tue, Jul 2, 2013 at 2:10 PM, pascal coucou <pascalcoucou123 at hotmail.fr>wrote:

>
>    1.  I use a custom one at the ip address/port 192.168.40.128:9200<http://192.168.40.128:9200/t2>
>
> Custom store implementation? :9200 is the ElasticSearch port and the data
in your paste looks like a response from ElasticSearch.

As I said: Annotator does not use the ElasticSearch API directly, but
through an authentication and authorization server:
https://github.com/okfn/annotator-store

In particular, the returned document is expected to have an "id" key. In
the annotator-store implementation, this is identical to the "_id" key
returned from ElasticSearch. The error you are seeing is because you have
"_id", not "id".
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/annotator-dev/attachments/20130702/64db8013/attachment-0002.html>


More information about the annotator-dev mailing list