blob: b3667c28168e54feb9d93dc82b82131e3766f8e7 (
plain) (
blame)
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
search blog_post {
document blog_post {
field date_gmt type string {
indexing: summary
}
field language type string {
indexing: summary
}
field author type string {
indexing: summary
}
field url type string {
indexing: summary
}
field title type string {
indexing: summary | index
}
field blog type string {
indexing: summary
}
field post_id type string {
indexing: summary
}
field tags type array<string> {
indexing: summary
}
field blogname type string {
indexing: summary
}
field content type string {
indexing: summary | index
}
field categories type array<string> {
indexing: summary
}
field date type int {
indexing: summary | attribute
}
}
fieldset default {
fields: title, content
}
rank-profile post inherits default {
first-phase {
expression:nativeRank(title, content)
}
}
}
|