blob: a2967755e0d22c13a4da42f439686c4be99b8bbd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
[Attribute]
docid = orig content /posts/post/slug();
filename = orig content /posts/post/filename();
# title = orig content /posts/post/meta()/title();
[Content]
"encoding=UTF-8; content=JSON;" /posts/post/meta();
[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();
[ForwardIndex]
word = orig split /posts/post/body/para();
[Document]
post = /posts/post;
#[MetaData]
# release_date = date2int("d 1877-01-01", "%Y-%m-%d %H:%M:%s *") content /posts/post/meta()/date;
[Aggregator]
doclen = count( word );
|