summaryrefslogtreecommitdiff
path: root/strus/document.ana
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2017-03-07 19:54:07 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2017-03-07 19:54:07 +0100
commit4980ff2d6c0e9e349c92f042ca1e07c643125491 (patch)
tree486c540839250d12cd6cc5d0460f20d061b8e592 /strus/document.ana
parent6ebbeffc3473c7ab393d11df558170dd0b96b067 (diff)
downloadwww-andreasbaumann-cc-4980ff2d6c0e9e349c92f042ca1e07c643125491.tar.gz
www-andreasbaumann-cc-4980ff2d6c0e9e349c92f042ca1e07c643125491.tar.bz2
small fixes on OSX
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;