diff options
Diffstat (limited to 'strus/document.ana')
-rw-r--r-- | strus/document.ana | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/strus/document.ana b/strus/document.ana deleted file mode 100644 index 8fbcf3e..0000000 --- a/strus/document.ana +++ /dev/null @@ -1,27 +0,0 @@ -[Document] - post = /posts/post; - -[Content] - "encoding=UTF-8; content=JSON;" /posts/post/meta(); - -[Attribute] - docid = orig content /posts/post/slug(); - 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/meta()/title(); - word = lc:convdia(en):stem(en):lc regex("([A-Za-z']+)") /posts/post/body//para(); - sentence = empty punctuation("en") /posts/post/body//para(); - -[ForwardIndex] - 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; - -[Aggregator] - doclen = count( word ); - |