summaryrefslogtreecommitdiff
path: root/strus/document.ana
diff options
context:
space:
mode:
Diffstat (limited to 'strus/document.ana')
-rw-r--r--strus/document.ana4
1 files changed, 3 insertions, 1 deletions
diff --git a/strus/document.ana b/strus/document.ana
index 3ffefa8..e4fc8db 100644
--- a/strus/document.ana
+++ b/strus/document.ana
@@ -12,10 +12,12 @@
[SearchIndex]
# word = lc:convdia(en):stem(en):lc word /posts/post/body/para();
# word = orig split /posts/post/body/para();
- word = lc regex("([A-Za-z']+)") /posts/post/body/para();
+ 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]
word = orig split /posts/post/body/para();
+ word = 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;