# Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. # A basic search definition - called music, should be saved to music.sd search music { # It contains one document type only - called music as well document music { field title type string { indexing: summary | index # How this field should be indexed rank-type: about # Type of ranking settings to apply } field artist type string { indexing: summary | attribute | index rank-type:about } field year type int { indexing: summary | attribute } # Increase rank score of popular documents regardless of query field popularity type int { indexing: summary | attribute } field url type uri { indexing: summary | index } field cover type raw {} } }