# Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. search music { document music inherits common { field artist type string { bolding: on indexing: index|summary } field disp_song type string { indexing: summary } field song type string { indexing: index } field isbn type string { bolding: on indexing: index|summary } field year type int { indexing: attribute|index|summary } field eitheror type bool { indexing: attribute|summary } annotation recordlabel {} annotation person { field name type string { } } annotation artist inherits person { field instrument type int { } } annotation place { field lat type long { } field lon type long { } } annotation event { field description type string { } field person type annotationreference { } field date type annotationreference { } field place type annotationreference { } } } field sw1 type float { indexing { input weight_src * 6 + input w1_src + input w2_src | summary; } } field didinteger type array { indexing: input did | split " " | for_each { to_int } | attribute } rank-profile default { first-phase { expression: nativeRank } } rank-profile rp1 inherits default { #static-rank: weight1 } rank-profile rp2 inherits default { #static-rank: weight2 } }