From 7b4425b096fa8c18d0db9fd9b1ae96d63ee8af55 Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Mon, 1 Feb 2016 20:18:59 +0100 Subject: first kinda working version --- docs/elasticsearch/doc-html.json | 41 +++++++++++++++++++++++++++++++++++++++ docs/elasticsearch/doc-image.json | 14 +++++++++++++ 2 files changed, 55 insertions(+) create mode 100644 docs/elasticsearch/doc-html.json create mode 100644 docs/elasticsearch/doc-image.json (limited to 'docs') diff --git a/docs/elasticsearch/doc-html.json b/docs/elasticsearch/doc-html.json new file mode 100644 index 0000000..43d4206 --- /dev/null +++ b/docs/elasticsearch/doc-html.json @@ -0,0 +1,41 @@ +{ + 'type': 'html', + 'subtype': 'rsvp', + 'mimetype': 'application/xhtml+xml', + 'url': 'http://example.org/foo.htm', + 'domain': 'example.org', + 'source': [ + 'http://example.org/linkfarm.htm' + ], + 'sourcetitle': [ + 'Click here', + 'Something about bar', + ], + 'language': 'en', + 'author': { + 'name': 'Alice Example', + 'url': 'http://example.org/alice.htm', + }, + 'title': 'Sample HTML page', + 'h1': [ + 'Headline 1', + 'Another headline 1' + ], + 'h2': [ + 'Subheadline' + ], + 'h3': [ + 'Subsub', + 'Another Subsub' + ], + 'h4': [], + 'h5': [], + 'h6': [], + 'text': [ + 'HTML converted to plain text', + 'Another paragraph in the text' + ], + 'tags': ['example', 'test', 'documentation'], + 'crdate': '2016-01-30T12:23:42+01:00', + 'modate': '2016-01-30T12:23:42+01:00', +} diff --git a/docs/elasticsearch/doc-image.json b/docs/elasticsearch/doc-image.json new file mode 100644 index 0000000..59e2231 --- /dev/null +++ b/docs/elasticsearch/doc-image.json @@ -0,0 +1,14 @@ +{ + 'type': 'image', + 'mimetype': 'image/png', + 'url': 'http://example.org/image.png', + 'domain': 'example.org', + 'source': 'http://example.org/foo.htm', + 'sourcetitle': 'Alt text from linking HTML page', + 'text': [ + 'EXIF-description text' + ], + 'tags': [], + 'crdate': '2016-01-30T12:23:42+01:00', + 'modate': '2016-01-30T12:23:42+01:00', +} -- cgit v1.2.3