diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2017-03-11 14:22:02 +0100 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2017-03-11 14:22:02 +0100 |
commit | 5f51bd8bca61a5ad77d5680e8be9a2d96db9de91 (patch) | |
tree | a613ceb00ec954042bcc0837c62ab80895e6e6c4 /strus/document.ana | |
parent | c6afe44a13b76eea146266f928c0fcbfc3fb358a (diff) | |
download | www-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.ana | 4 |
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; |