summaryrefslogtreecommitdiff
path: root/strus/document.ana
diff options
context:
space:
mode:
Diffstat (limited to 'strus/document.ana')
-rw-r--r--strus/document.ana9
1 files changed, 5 insertions, 4 deletions
diff --git a/strus/document.ana b/strus/document.ana
index 4a5fa16..c63a175 100644
--- a/strus/document.ana
+++ b/strus/document.ana
@@ -6,16 +6,17 @@
[Attribute]
docid = orig content /posts/post/slug();
- filename = orig content /posts/post/filename();
title = orig content /posts/post/meta()/title();
+ categories = orig content /posts/post/meta()/categories();
+ thumbnail = orig content /posts/post/meta()/thumbnail();
[SearchIndex]
- word = lc:convdia(en):stem(en):lc regex("([A-Za-z']+)") /posts/post/body//para();
- word = lc:convdia(en):stem(en):lc regex("([A-Za-z']+)") /posts/post/meta()/title();
+ word = lc:convdia(en):stem(en):lc regex("([A-Za-z']+)") /posts/post/body//para();
+ word = lc:convdia(en):stem(en):lc regex("([A-Za-z']+)") /posts/post/meta()/title();
[ForwardIndex]
text = orig split /posts/post/body//para();
- title = orig split /posts/post/meta()/title();
+ title = orig split /posts/post/meta()/title();
#[MetaData]
# release_date = date2int("d 1877-01-01", "%Y-%m-%d %H:%M:%s *") content /posts/post/meta()/date;