summaryrefslogtreecommitdiff
path: root/strus/document.ana
diff options
context:
space:
mode:
Diffstat (limited to 'strus/document.ana')
-rw-r--r--strus/document.ana14
1 files changed, 7 insertions, 7 deletions
diff --git a/strus/document.ana b/strus/document.ana
index a296775..3ffefa8 100644
--- a/strus/document.ana
+++ b/strus/document.ana
@@ -1,11 +1,14 @@
-[Attribute]
- docid = orig content /posts/post/slug();
- filename = orig content /posts/post/filename();
-# title = orig content /posts/post/meta()/title();
+[Document]
+ post = /posts/post;
[Content]
"encoding=UTF-8; content=JSON;" /posts/post/meta();
+[Attribute]
+ docid = orig content /posts/post/slug();
+ filename = orig content /posts/post/filename();
+ title = orig content /posts/post/meta()/title();
+
[SearchIndex]
# word = lc:convdia(en):stem(en):lc word /posts/post/body/para();
# word = orig split /posts/post/body/para();
@@ -13,9 +16,6 @@
[ForwardIndex]
word = orig split /posts/post/body/para();
-
-[Document]
- post = /posts/post;
#[MetaData]
# release_date = date2int("d 1877-01-01", "%Y-%m-%d %H:%M:%s *") content /posts/post/meta()/date;