blob: 8fbcf3efe301e5826828ba782645f24884bd0481 (
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
26
27
|
[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 );
|