From 5f51bd8bca61a5ad77d5680e8be9a2d96db9de91 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sat, 11 Mar 2017 14:22:02 +0100 Subject: highlightin in title and in text (still buggy) --- strus/document.ana | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'strus/document.ana') diff --git a/strus/document.ana b/strus/document.ana index c63a175..c6b0dd1 100644 --- a/strus/document.ana +++ b/strus/document.ana @@ -11,12 +11,12 @@ 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(); [ForwardIndex] - text = orig split /posts/post/body//para(); title = orig split /posts/post/meta()/title(); + text = orig split /posts/post/body//para(); #[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