blob: 8674f7f55751c816e2c9b97c9959f906daf9ef05 (
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 Vespa.ai. 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
}
}
}
|