From 4980ff2d6c0e9e349c92f042ca1e07c643125491 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Tue, 7 Mar 2017 19:54:07 +0100 Subject: small fixes on OSX --- strus/document.ana | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'strus/document.ana') 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; -- cgit v1.2.3-54-g00ecf