blob: 9331c0caf54878d73aee0fa5c25df5e10710c995 (
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
|
# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
search sock {
document sock inherits product {
field size type int {
indexing: index | summary | attribute
}
field color type string {
indexing: summary
index: prefix
}
field brand type string {
indexing: summary
}
}
rank-profile other {
second-phase {
expression: fieldMatch(color).fieldCompleteness + fieldMatch(brand).proximity
}
}
}
|