aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2016-02-01 20:18:59 +0100
committerChristian Weiske <cweiske@cweiske.de>2016-02-01 20:18:59 +0100
commit7b4425b096fa8c18d0db9fd9b1ae96d63ee8af55 (patch)
tree2dc5d998a1fd0238592b451ff88b5c4cec064f9b /docs
downloadphinde-7b4425b096fa8c18d0db9fd9b1ae96d63ee8af55.tar.gz
phinde-7b4425b096fa8c18d0db9fd9b1ae96d63ee8af55.zip
first kinda working version
Diffstat (limited to 'docs')
-rw-r--r--docs/elasticsearch/doc-html.json41
-rw-r--r--docs/elasticsearch/doc-image.json14
2 files changed, 55 insertions, 0 deletions
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',
+}