diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2017-03-07 19:54:07 +0100 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2017-03-07 19:54:07 +0100 |
commit | 4980ff2d6c0e9e349c92f042ca1e07c643125491 (patch) | |
tree | 486c540839250d12cd6cc5d0460f20d061b8e592 /strus/document.ana | |
parent | 6ebbeffc3473c7ab393d11df558170dd0b96b067 (diff) | |
download | www-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.ana | 9 |
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; |