summaryrefslogtreecommitdiff
path: root/strus/document.ana
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2017-03-11 14:22:02 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2017-03-11 14:22:02 +0100
commit5f51bd8bca61a5ad77d5680e8be9a2d96db9de91 (patch)
treea613ceb00ec954042bcc0837c62ab80895e6e6c4 /strus/document.ana
parentc6afe44a13b76eea146266f928c0fcbfc3fb358a (diff)
downloadwww-andreasbaumann-cc-5f51bd8bca61a5ad77d5680e8be9a2d96db9de91.tar.gz
www-andreasbaumann-cc-5f51bd8bca61a5ad77d5680e8be9a2d96db9de91.tar.bz2
highlightin in title and in text (still buggy)
Diffstat (limited to 'strus/document.ana')
-rw-r--r--strus/document.ana4
1 files changed, 2 insertions, 2 deletions
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;