Advertisement
Guest User

Metadata-Mapping

a guest
Oct 20th, 2015
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 2.03 KB | None | 0 0
  1. {
  2.   "metadatav3" : {
  3.     "mappings" : {
  4.       "track" : {
  5.         "dynamic" : "true",
  6.         "numeric_detection" : true,
  7.         "properties" : {
  8.           "album.album" : {
  9.             "type" : "string",
  10.             "norms" : {
  11.               "enabled" : false
  12.             },
  13.             "analyzer" : "music_field"
  14.           },
  15.           "album.exact" : {
  16.             "type" : "string",
  17.             "analyzer" : "exact_music_field"
  18.           },
  19.           "artist.artist" : {
  20.             "type" : "string",
  21.             "norms" : {
  22.               "enabled" : false
  23.             },
  24.             "analyzer" : "music_field"
  25.           },
  26.           "artist.exact" : {
  27.             "type" : "string",
  28.             "analyzer" : "exact_music_field"
  29.           },
  30.           "fullString" : {
  31.             "type" : "string",
  32.             "norms" : {
  33.               "enabled" : false
  34.             },
  35.             "analyzer" : "nGram_token_field"
  36.           },
  37.           "fullString.token" : {
  38.             "type" : "string",
  39.             "norms" : {
  40.               "enabled" : false
  41.             },
  42.             "analyzer" : "music_field"
  43.           },
  44.           "id" : {
  45.             "type" : "string"
  46.           },
  47.           "isHidden" : {
  48.             "type" : "boolean"
  49.           },
  50.           "lastRankedDate" : {
  51.             "type" : "long"
  52.           },
  53.           "popularity" : {
  54.             "type" : "float"
  55.           },
  56.           "tagCount" : {
  57.             "type" : "long"
  58.           },
  59.           "title.edgeNGNoSplit" : {
  60.             "type" : "string",
  61.             "norms" : {
  62.               "enabled" : false
  63.             },
  64.             "analyzer" : "edge_nGram_no_split_small_field"
  65.           },
  66.           "title.exact" : {
  67.             "type" : "string",
  68.             "analyzer" : "exact_music_field"
  69.           },
  70.           "title.title" : {
  71.             "type" : "string",
  72.             "norms" : {
  73.               "enabled" : false
  74.             },
  75.             "analyzer" : "music_field"
  76.           }
  77.         }
  78.       }
  79.     }
  80.   }
  81. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement