Guest User

Untitled

a guest
Oct 18th, 2017
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.35 KB | None | 0 0
  1. {
  2. "data_feed_items" : {
  3. "aliases" : { },
  4. "mappings" : {
  5. "data_feed_item" : {
  6. "dynamic" : "strict",
  7. "_all" : {
  8. "enabled" : false
  9. },
  10. "properties" : {
  11. "boost" : {
  12. "type" : "double"
  13. },
  14. "brand" : {
  15. "type" : "string",
  16. "fields" : {
  17. "raw" : {
  18. "type" : "string",
  19. "index" : "not_analyzed"
  20. }
  21. }
  22. },
  23. "category" : {
  24. "type" : "string",
  25. "fields" : {
  26. "raw" : {
  27. "type" : "string",
  28. "index" : "not_analyzed"
  29. }
  30. }
  31. },
  32. "color" : {
  33. "type" : "string",
  34. "fields" : {
  35. "raw" : {
  36. "type" : "string",
  37. "index" : "not_analyzed"
  38. }
  39. }
  40. },
  41. "condition" : {
  42. "type" : "string",
  43. "fields" : {
  44. "raw" : {
  45. "type" : "string",
  46. "index" : "not_analyzed"
  47. }
  48. }
  49. },
  50. "country" : {
  51. "type" : "string",
  52. "fields" : {
  53. "raw" : {
  54. "type" : "string",
  55. "index" : "not_analyzed"
  56. }
  57. }
  58. },
  59. "depth" : {
  60. "type" : "string",
  61. "fields" : {
  62. "raw" : {
  63. "type" : "string",
  64. "index" : "not_analyzed"
  65. }
  66. }
  67. },
  68. "did_you_mean" : {
  69. "type" : "string",
  70. "analyzer" : "didYouMean"
  71. },
  72. "height" : {
  73. "type" : "string",
  74. "fields" : {
  75. "raw" : {
  76. "type" : "string",
  77. "index" : "not_analyzed"
  78. }
  79. }
  80. },
  81. "manufacturer" : {
  82. "type" : "string",
  83. "fields" : {
  84. "raw" : {
  85. "type" : "string",
  86. "index" : "not_analyzed"
  87. }
  88. },
  89. "copy_to" : [ "did_you_mean" ],
  90. "analyzer" : "edgeNGramAnalyzer"
  91. },
  92. "material" : {
  93. "type" : "string",
  94. "fields" : {
  95. "raw" : {
  96. "type" : "string",
  97. "index" : "not_analyzed"
  98. }
  99. }
  100. },
  101. "memory" : {
  102. "type" : "string",
  103. "fields" : {
  104. "raw" : {
  105. "type" : "string",
  106. "index" : "not_analyzed"
  107. }
  108. }
  109. },
  110. "merchant" : {
  111. "type" : "string",
  112. "fields" : {
  113. "raw" : {
  114. "type" : "string",
  115. "index" : "not_analyzed"
  116. }
  117. },
  118. "copy_to" : [ "did_you_mean" ]
  119. },
  120. "model" : {
  121. "type" : "string",
  122. "fields" : {
  123. "raw" : {
  124. "type" : "string",
  125. "index" : "not_analyzed"
  126. }
  127. }
  128. },
  129. "model_family" : {
  130. "type" : "string",
  131. "fields" : {
  132. "raw" : {
  133. "type" : "string",
  134. "index" : "not_analyzed"
  135. }
  136. }
  137. },
  138. "offer_description" : {
  139. "type" : "string"
  140. },
  141. "offer_id" : {
  142. "type" : "string",
  143. "index" : "no"
  144. },
  145. "offer_title" : {
  146. "type" : "string",
  147. "fields" : {
  148. "autocomplete" : {
  149. "type" : "string",
  150. "analyzer" : "autocomplete_analyzer",
  151. "search_analyzer" : "standard"
  152. }
  153. },
  154. "copy_to" : [ "did_you_mean" ]
  155. },
  156. "other_feature" : {
  157. "type" : "string",
  158. "fields" : {
  159. "raw" : {
  160. "type" : "string",
  161. "index" : "not_analyzed"
  162. }
  163. }
  164. },
  165. "part_number" : {
  166. "type" : "string",
  167. "fields" : {
  168. "raw" : {
  169. "type" : "string",
  170. "index" : "not_analyzed"
  171. }
  172. }
  173. },
  174. "pner_category" : {
  175. "type" : "string",
  176. "fields" : {
  177. "raw" : {
  178. "type" : "string",
  179. "index" : "not_analyzed"
  180. }
  181. }
  182. },
  183. "power" : {
  184. "type" : "string",
  185. "fields" : {
  186. "raw" : {
  187. "type" : "string",
  188. "index" : "not_analyzed"
  189. }
  190. }
  191. },
  192. "price" : {
  193. "type" : "double"
  194. },
  195. "purpose" : {
  196. "type" : "string",
  197. "fields" : {
  198. "raw" : {
  199. "type" : "string",
  200. "index" : "not_analyzed"
  201. }
  202. }
  203. },
  204. "quantity" : {
  205. "type" : "string",
  206. "fields" : {
  207. "raw" : {
  208. "type" : "string",
  209. "index" : "not_analyzed"
  210. }
  211. }
  212. },
  213. "resolution" : {
  214. "type" : "string",
  215. "fields" : {
  216. "raw" : {
  217. "type" : "string",
  218. "index" : "not_analyzed"
  219. }
  220. }
  221. },
  222. "sex" : {
  223. "type" : "string",
  224. "fields" : {
  225. "raw" : {
  226. "type" : "string",
  227. "index" : "not_analyzed"
  228. }
  229. }
  230. },
  231. "shipping_rate" : {
  232. "type" : "double"
  233. },
  234. "size" : {
  235. "type" : "string",
  236. "fields" : {
  237. "raw" : {
  238. "type" : "string",
  239. "index" : "not_analyzed"
  240. }
  241. }
  242. },
  243. "source" : {
  244. "type" : "integer"
  245. },
  246. "speed" : {
  247. "type" : "string",
  248. "fields" : {
  249. "raw" : {
  250. "type" : "string",
  251. "index" : "not_analyzed"
  252. }
  253. }
  254. },
  255. "style" : {
  256. "type" : "string",
  257. "fields" : {
  258. "raw" : {
  259. "type" : "string",
  260. "index" : "not_analyzed"
  261. }
  262. }
  263. },
  264. "sub_category" : {
  265. "type" : "string",
  266. "fields" : {
  267. "raw" : {
  268. "type" : "string",
  269. "index" : "not_analyzed"
  270. }
  271. }
  272. },
  273. "target" : {
  274. "type" : "string",
  275. "fields" : {
  276. "raw" : {
  277. "type" : "string",
  278. "index" : "not_analyzed"
  279. }
  280. }
  281. },
  282. "title" : {
  283. "type" : "string",
  284. "fields" : {
  285. "raw" : {
  286. "type" : "string",
  287. "index" : "not_analyzed"
  288. }
  289. }
  290. },
  291. "units" : {
  292. "type" : "string",
  293. "fields" : {
  294. "raw" : {
  295. "type" : "string",
  296. "index" : "not_analyzed"
  297. }
  298. }
  299. },
  300. "voltage" : {
  301. "type" : "string",
  302. "fields" : {
  303. "raw" : {
  304. "type" : "string",
  305. "index" : "not_analyzed"
  306. }
  307. }
  308. },
  309. "volume" : {
  310. "type" : "string",
  311. "fields" : {
  312. "raw" : {
  313. "type" : "string",
  314. "index" : "not_analyzed"
  315. }
  316. }
  317. },
  318. "weight" : {
  319. "type" : "string",
  320. "fields" : {
  321. "raw" : {
  322. "type" : "string",
  323. "index" : "not_analyzed"
  324. }
  325. }
  326. },
  327. "width" : {
  328. "type" : "string",
  329. "fields" : {
  330. "raw" : {
  331. "type" : "string",
  332. "index" : "not_analyzed"
  333. }
  334. }
  335. },
  336. "year" : {
  337. "type" : "string",
  338. "fields" : {
  339. "raw" : {
  340. "type" : "string",
  341. "index" : "not_analyzed"
  342. }
  343. }
  344. }
  345. }
  346. }
  347. },
  348. "settings" : {
  349. "index" : {
  350. "refresh_interval" : "-1",
  351. "number_of_shards" : "3",
  352. "query" : {
  353. "default_field" : "offer_title"
  354. },
  355. "creation_date" : "1508243385143",
  356. "analysis" : {
  357. "filter" : {
  358. "stemming" : {
  359. "name" : "english",
  360. "type" : "stemmer"
  361. },
  362. "stopwords" : {
  363. "type" : "stop",
  364. "stopwords" : "_english_"
  365. },
  366. "synonyms" : {
  367. "type" : "synonym",
  368. "synonyms" : [ "refurbished,condition", "used,condition", "smartphone=>phone", "jujube, ju ju be" ]
  369. },
  370. "autocomplete_filter" : {
  371. "type" : "edge_ngram",
  372. "min_gram" : "1",
  373. "max_gram" : "20"
  374. }
  375. },
  376. "analyzer" : {
  377. "default" : {
  378. "filter" : [ "standard", "lowercase", "stopwords", "synonyms", "stemmer" ],
  379. "tokenizer" : "standard"
  380. },
  381. "didYouMean" : {
  382. "filter" : [ "lowercase", "stopwords" ],
  383. "tokenizer" : "standard"
  384. },
  385. "autocomplete_analyzer" : {
  386. "filter" : [ "lowercase", "autocomplete_filter" ],
  387. "type" : "custom",
  388. "tokenizer" : "standard"
  389. },
  390. "edgeNGramAnalyzer" : {
  391. "filter" : [ "lowercase" ],
  392. "tokenizer" : "edgeNGramTokenizer"
  393. }
  394. },
  395. "tokenizer" : {
  396. "edgeNGramTokenizer" : {
  397. "token_chars" : [ "letter", "digit", "punctuation" ],
  398. "min_gram" : "1",
  399. "type" : "edgeNGram",
  400. "max_gram" : "10"
  401. }
  402. }
  403. },
  404. "number_of_replicas" : "0",
  405. "uuid" : "duUrbHDLT_-kAc6lnG-k7Q",
  406. "version" : {
  407. "created" : "2030599"
  408. }
  409. }
  410. },
  411. "warmers" : { }
  412. }
  413. }
Add Comment
Please, Sign In to add comment