Guest User

Untitled

a guest
Jun 23rd, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.33 KB | None | 0 0
  1. {
  2. "ocp_20180523": {
  3. "mappings": {
  4. "produit": {
  5. "properties": {
  6. "CIP13": {
  7. "type": "string",
  8. "fields": {
  9. "raw": {
  10. "type": "string",
  11. "index": "not_analyzed"
  12. }
  13. },
  14. "copy_to": ["search_field", "search_code", "search_field_clickadoc"],
  15. "analyzer": "autocomplete"
  16. },
  17. "CIP7": {
  18. "type": "string",
  19. "fields": {
  20. "raw": {
  21. "type": "string",
  22. "index": "not_analyzed"
  23. }
  24. },
  25. "copy_to": ["search_field", "search_code", "search_field_clickadoc"],
  26. "analyzer": "autocomplete"
  27. },
  28. "EAN13": {
  29. "type": "string",
  30. "fields": {
  31. "raw": {
  32. "type": "string",
  33. "index": "not_analyzed"
  34. }
  35. },
  36. "copy_to": ["search_field", "search_code", "search_field_clickadoc"],
  37. "analyzer": "autocomplete"
  38. },
  39. "GTIN13": {
  40. "type": "string",
  41. "fields": {
  42. "raw": {
  43. "type": "string",
  44. "index": "not_analyzed"
  45. }
  46. },
  47. "copy_to": ["search_field", "search_code", "search_field_clickadoc"],
  48. "analyzer": "autocomplete"
  49. },
  50. "GTIN14": {
  51. "type": "string",
  52. "fields": {
  53. "raw": {
  54. "type": "string",
  55. "index": "not_analyzed"
  56. }
  57. },
  58. "copy_to": ["search_field", "search_code", "search_field_clickadoc"],
  59. "analyzer": "autocomplete"
  60. },
  61. "actif": {
  62. "type": "boolean"
  63. },
  64. "bannieres": {
  65. "type": "nested",
  66. "properties": {
  67. "activation": {
  68. "type": "boolean"
  69. },
  70. "dateDebut": {
  71. "type": "date",
  72. "format": "strict_date_optional_time||epoch_millis"
  73. },
  74. "dateFin": {
  75. "type": "date",
  76. "format": "strict_date_optional_time||epoch_millis"
  77. },
  78. "heureDebut": {
  79. "type": "date",
  80. "format": "strict_hour_minute"
  81. },
  82. "heureFin": {
  83. "type": "date",
  84. "format": "strict_hour_minute"
  85. },
  86. "idBanniere": {
  87. "type": "string",
  88. "index": "not_analyzed"
  89. }
  90. }
  91. },
  92. "clickadoc": {
  93. "properties": {
  94. "caracteristique": {
  95. "type": "string",
  96. "fields": {
  97. "fr": {
  98. "type": "string",
  99. "analyzer": "francais"
  100. },
  101. "raw": {
  102. "type": "string",
  103. "index": "not_analyzed"
  104. }
  105. },
  106. "copy_to": ["search_nom", "search_field", "search_field_clickadoc"],
  107. "analyzer": "autocomplete"
  108. },
  109. "categorie": {
  110. "type": "string",
  111. "fields": {
  112. "fr": {
  113. "type": "string",
  114. "analyzer": "francais"
  115. },
  116. "raw": {
  117. "type": "string",
  118. "index": "not_analyzed"
  119. }
  120. },
  121. "copy_to": ["search_field", "search_field_clickadoc"],
  122. "analyzer": "autocomplete"
  123. },
  124. "codeInterne": {
  125. "type": "string",
  126. "index": "not_analyzed"
  127. },
  128. "codeLPPR": {
  129. "type": "string",
  130. "index": "not_analyzed"
  131. },
  132. "codeReponseRef": {
  133. "type": "string"
  134. },
  135. "compodose": {
  136. "type": "string",
  137. "fields": {
  138. "fr": {
  139. "type": "string",
  140. "analyzer": "francais"
  141. },
  142. "st": {
  143. "type": "string",
  144. "analyzer": "string_sort"
  145. },
  146. "std": {
  147. "type": "string",
  148. "analyzer": "standard"
  149. }
  150. },
  151. "analyzer": "autocomplete"
  152. },
  153. "composition": {
  154. "type": "string",
  155. "fields": {
  156. "fr": {
  157. "type": "string",
  158. "analyzer": "francais"
  159. },
  160. "raw": {
  161. "type": "string",
  162. "index": "not_analyzed"
  163. }
  164. },
  165. "copy_to": ["clickadoc.compodose", "search_field_clickadoc"],
  166. "analyzer": "autocomplete"
  167. },
  168. "conditionnement": {
  169. "type": "string",
  170. "fields": {
  171. "fr": {
  172. "type": "string",
  173. "analyzer": "francais"
  174. },
  175. "raw": {
  176. "type": "string",
  177. "index": "not_analyzed"
  178. }
  179. },
  180. "copy_to": ["search_nom", "search_field", "search_field_clickadoc"],
  181. "analyzer": "autocomplete"
  182. },
  183. "conservation": {
  184. "type": "string",
  185. "fields": {
  186. "fr": {
  187. "type": "string",
  188. "analyzer": "francais"
  189. },
  190. "raw": {
  191. "type": "string",
  192. "index": "not_analyzed"
  193. }
  194. },
  195. "analyzer": "autocomplete"
  196. },
  197. "contenance": {
  198. "type": "string",
  199. "fields": {
  200. "fr": {
  201. "type": "string",
  202. "analyzer": "francais"
  203. },
  204. "raw": {
  205. "type": "string",
  206. "index": "not_analyzed"
  207. }
  208. },
  209. "analyzer": "autocomplete"
  210. },
  211. "dateMaJ": {
  212. "type": "date",
  213. "index": "no",
  214. "format": "strict_date_optional_time||epoch_millis"
  215. },
  216. "dateOctroiAMM": {
  217. "type": "date",
  218. "index": "no",
  219. "format": "strict_date_optional_time||epoch_millis"
  220. },
  221. "description": {
  222. "type": "string",
  223. "fields": {
  224. "fr": {
  225. "type": "string",
  226. "analyzer": "francais"
  227. },
  228. "raw": {
  229. "type": "string",
  230. "index": "not_analyzed"
  231. },
  232. "st": {
  233. "type": "string",
  234. "analyzer": "string_sort"
  235. }
  236. },
  237. "copy_to": ["search_field_clickadoc"],
  238. "analyzer": "autocomplete"
  239. },
  240. "descriptionLPPR": {
  241. "type": "string",
  242. "index": "not_analyzed"
  243. },
  244. "domaine": {
  245. "type": "string",
  246. "fields": {
  247. "fr": {
  248. "type": "string",
  249. "analyzer": "francais"
  250. },
  251. "raw": {
  252. "type": "string",
  253. "index": "not_analyzed"
  254. }
  255. },
  256. "analyzer": "autocomplete"
  257. },
  258. "dopant": {
  259. "type": "boolean"
  260. },
  261. "dosage": {
  262. "type": "string",
  263. "fields": {
  264. "fr": {
  265. "type": "string",
  266. "analyzer": "francais"
  267. },
  268. "raw": {
  269. "type": "string",
  270. "index": "not_analyzed"
  271. }
  272. },
  273. "copy_to": ["clickadoc.compodose", "search_field_clickadoc"],
  274. "analyzer": "autocomplete"
  275. },
  276. "doseGlobale": {
  277. "type": "string"
  278. },
  279. "doseUnite": {
  280. "type": "string"
  281. },
  282. "equivalentEtranger": {
  283. "type": "string",
  284. "index": "not_analyzed"
  285. },
  286. "formeGalenique": {
  287. "type": "string",
  288. "fields": {
  289. "fr": {
  290. "type": "string",
  291. "analyzer": "francais"
  292. },
  293. "raw": {
  294. "type": "string",
  295. "index": "not_analyzed"
  296. }
  297. },
  298. "analyzer": "autocomplete"
  299. },
  300. "group0": {
  301. "type": "string",
  302. "index": "not_analyzed"
  303. },
  304. "group2": {
  305. "type": "string",
  306. "index": "not_analyzed"
  307. },
  308. "group3": {
  309. "type": "string",
  310. "index": "not_analyzed"
  311. },
  312. "group4": {
  313. "type": "string",
  314. "index": "not_analyzed"
  315. },
  316. "group5": {
  317. "type": "string",
  318. "index": "not_analyzed"
  319. },
  320. "group6": {
  321. "type": "string",
  322. "index": "not_analyzed"
  323. },
  324. "group7": {
  325. "type": "string",
  326. "index": "not_analyzed"
  327. },
  328. "group8": {
  329. "type": "string",
  330. "index": "not_analyzed"
  331. },
  332. "groupeComparable": {
  333. "type": "string",
  334. "index": "not_analyzed"
  335. },
  336. "idPresentation": {
  337. "type": "string",
  338. "index": "not_analyzed"
  339. },
  340. "idSpecialite": {
  341. "type": "string",
  342. "index": "not_analyzed"
  343. },
  344. "indication": {
  345. "type": "string",
  346. "fields": {
  347. "fr": {
  348. "type": "string",
  349. "analyzer": "francais"
  350. },
  351. "raw": {
  352. "type": "string",
  353. "index": "not_analyzed"
  354. },
  355. "st": {
  356. "type": "string",
  357. "analyzer": "string_sort"
  358. }
  359. },
  360. "copy_to": ["search_field_clickadoc"],
  361. "analyzer": "autocomplete"
  362. },
  363. "laboratoire": {
  364. "type": "string",
  365. "fields": {
  366. "fr": {
  367. "type": "string",
  368. "analyzer": "francais"
  369. },
  370. "raw": {
  371. "type": "string",
  372. "index": "not_analyzed"
  373. }
  374. },
  375. "copy_to": ["search_field", "search_field_clickadoc"],
  376. "analyzer": "autocomplete"
  377. },
  378. "laboratoire_text": {
  379. "type": "string",
  380. "index": "no"
  381. },
  382. "libelle": {
  383. "type": "string",
  384. "fields": {
  385. "fr": {
  386. "type": "string",
  387. "analyzer": "francais"
  388. },
  389. "raw": {
  390. "type": "string",
  391. "index": "not_analyzed"
  392. }
  393. },
  394. "copy_to": ["search_nom", "search_field", "search_field_clickadoc"],
  395. "analyzer": "autocomplete"
  396. },
  397. "liste": {
  398. "type": "string",
  399. "index": "not_analyzed"
  400. },
  401. "livraison": {
  402. "type": "string"
  403. },
  404. "lppr": {
  405. "type": "float"
  406. },
  407. "nom": {
  408. "type": "string",
  409. "fields": {
  410. "fr": {
  411. "type": "string",
  412. "analyzer": "francais"
  413. },
  414. "raw": {
  415. "type": "string",
  416. "index": "not_analyzed"
  417. }
  418. },
  419. "copy_to": ["search_nom", "search_field", "search_field_clickadoc"],
  420. "analyzer": "autocomplete"
  421. },
  422. "pays": {
  423. "type": "string",
  424. "fields": {
  425. "fr": {
  426. "type": "string",
  427. "analyzer": "francais"
  428. },
  429. "raw": {
  430. "type": "string",
  431. "index": "not_analyzed"
  432. }
  433. },
  434. "copy_to": ["search_field", "search_field_clickadoc"],
  435. "analyzer": "autocomplete"
  436. },
  437. "precaution": {
  438. "type": "string",
  439. "fields": {
  440. "fr": {
  441. "type": "string",
  442. "analyzer": "francais"
  443. },
  444. "raw": {
  445. "type": "string",
  446. "index": "not_analyzed"
  447. },
  448. "st": {
  449. "type": "string",
  450. "analyzer": "string_sort"
  451. }
  452. },
  453. "analyzer": "autocomplete"
  454. },
  455. "prixDeBase": {
  456. "type": "float"
  457. },
  458. "prixPublic": {
  459. "type": "float"
  460. },
  461. "prixVenteLimite": {
  462. "type": "float"
  463. },
  464. "reference": {
  465. "type": "string",
  466. "fields": {
  467. "fr": {
  468. "type": "string",
  469. "analyzer": "francais"
  470. },
  471. "raw": {
  472. "type": "string",
  473. "index": "not_analyzed"
  474. }
  475. },
  476. "analyzer": "autocomplete"
  477. },
  478. "remboursement": {
  479. "type": "string",
  480. "fields": {
  481. "fr": {
  482. "type": "string",
  483. "analyzer": "francais"
  484. },
  485. "raw": {
  486. "type": "string",
  487. "index": "not_analyzed"
  488. }
  489. },
  490. "analyzer": "autocomplete"
  491. },
  492. "remplacement": {
  493. "type": "string"
  494. },
  495. "retraitDeMarche": {
  496. "type": "boolean"
  497. },
  498. "section": {
  499. "type": "nested",
  500. "properties": {
  501. "texte": {
  502. "type": "string",
  503. "index": "no"
  504. },
  505. "titre": {
  506. "type": "string",
  507. "index": "not_analyzed"
  508. }
  509. }
  510. },
  511. "tauxDeTVA": {
  512. "type": "float",
  513. "index": "no"
  514. },
  515. "tauxRemboursement": {
  516. "type": "integer"
  517. },
  518. "tfr": {
  519. "type": "float"
  520. },
  521. "utiliserAvec": {
  522. "type": "string",
  523. "index": "not_analyzed"
  524. },
  525. "visuel": {
  526. "type": "string",
  527. "index": "no"
  528. },
  529. "voie": {
  530. "type": "string",
  531. "fields": {
  532. "fr": {
  533. "type": "string",
  534. "analyzer": "francais"
  535. },
  536. "raw": {
  537. "type": "string",
  538. "index": "not_analyzed"
  539. }
  540. },
  541. "analyzer": "autocomplete"
  542. }
  543. }
  544. },
  545. "codeOfficialis": {
  546. "type": "string",
  547. "index": "not_analyzed"
  548. },
  549. "depotrade": {
  550. "properties": {
  551. "TVA": {
  552. "type": "float",
  553. "index": "no"
  554. },
  555. "codeGratuit": {
  556. "type": "string",
  557. "index": "not_analyzed"
  558. },
  559. "codeProduitSAPCA": {
  560. "type": "string",
  561. "index": "not_analyzed"
  562. },
  563. "conditionnement": {
  564. "type": "string",
  565. "index": "not_analyzed"
  566. },
  567. "designation": {
  568. "type": "string",
  569. "fields": {
  570. "raw": {
  571. "type": "string",
  572. "index": "not_analyzed"
  573. }
  574. },
  575. "copy_to": ["search_nom", "search_field", "search_field_clickadoc"],
  576. "analyzer": "french"
  577. },
  578. "laboratoire": {
  579. "type": "string",
  580. "index": "not_analyzed"
  581. },
  582. "prixDeBase": {
  583. "type": "float"
  584. },
  585. "typeStock": {
  586. "type": "string",
  587. "index": "not_analyzed"
  588. }
  589. }
  590. },
  591. "etablissement": {
  592. "type": "nested",
  593. "properties": {
  594. "TVA": {
  595. "type": "float",
  596. "index": "no"
  597. },
  598. "codeReponse": {
  599. "type": "string",
  600. "index": "not_analyzed"
  601. },
  602. "commandable": {
  603. "type": "boolean"
  604. },
  605. "dateReponse": {
  606. "type": "date",
  607. "index": "no",
  608. "format": "strict_date_optional_time||epoch_millis"
  609. },
  610. "etablissementCompleteur": {
  611. "type": "string",
  612. "index": "not_analyzed"
  613. },
  614. "etablissementPMS": {
  615. "type": "string",
  616. "index": "not_analyzed"
  617. },
  618. "idEtablissement": {
  619. "type": "string",
  620. "index": "not_analyzed"
  621. },
  622. "modeLivraisonPMS": {
  623. "type": "string",
  624. "index": "not_analyzed"
  625. },
  626. "prixGrossiste": {
  627. "type": "float"
  628. },
  629. "prixPharmacien": {
  630. "type": "float"
  631. },
  632. "prixPublic": {
  633. "type": "float"
  634. },
  635. "reponseEtablissement": {
  636. "type": "string",
  637. "index": "not_analyzed"
  638. },
  639. "typePrix": {
  640. "type": "string",
  641. "index": "no"
  642. }
  643. }
  644. },
  645. "id": {
  646. "type": "string",
  647. "index": "not_analyzed"
  648. },
  649. "image": {
  650. "type": "string",
  651. "index": "not_analyzed"
  652. },
  653. "imageBO": {
  654. "type": "string",
  655. "index": "not_analyzed"
  656. },
  657. "lastUpdated": {
  658. "type": "date",
  659. "format": "strict_date_optional_time||epoch_millis"
  660. },
  661. "libelleBO": {
  662. "type": "string",
  663. "index": "not_analyzed",
  664. "copy_to": ["search_nom", "search_field", "search_field_clickadoc"]
  665. },
  666. "nationale": {
  667. "properties": {
  668. "CIPRemplacant": {
  669. "type": "string",
  670. "index": "not_analyzed"
  671. },
  672. "EANSupplementaire": {
  673. "type": "nested",
  674. "properties": {
  675. "code": {
  676. "type": "string",
  677. "index": "no"
  678. },
  679. "id": {
  680. "type": "string",
  681. "index": "no"
  682. }
  683. }
  684. },
  685. "LPPR": {
  686. "type": "nested",
  687. "properties": {
  688. "code": {
  689. "type": "string",
  690. "index": "no"
  691. },
  692. "id": {
  693. "type": "string",
  694. "index": "no"
  695. },
  696. "quantite": {
  697. "type": "string",
  698. "index": "no"
  699. }
  700. }
  701. },
  702. "TVA": {
  703. "type": "float",
  704. "index": "no"
  705. },
  706. "categorie": {
  707. "type": "string",
  708. "index": "not_analyzed"
  709. },
  710. "codeInterneOCP": {
  711. "type": "string",
  712. "index": "not_analyzed",
  713. "copy_to": ["search_field", "search_code", "search_field_clickadoc"]
  714. },
  715. "codeListe": {
  716. "type": "string",
  717. "index": "not_analyzed"
  718. },
  719. "codeOfficialis": {
  720. "type": "string",
  721. "index": "not_analyzed"
  722. },
  723. "codeReponse": {
  724. "type": "string",
  725. "index": "not_analyzed"
  726. },
  727. "dateReponse": {
  728. "type": "date",
  729. "index": "no",
  730. "format": "strict_date_optional_time||epoch_millis"
  731. },
  732. "dateTFR": {
  733. "type": "string",
  734. "index": "no"
  735. },
  736. "groupe": {
  737. "type": "string",
  738. "index": "not_analyzed"
  739. },
  740. "libelle": {
  741. "type": "string",
  742. "fields": {
  743. "raw": {
  744. "type": "string",
  745. "index": "not_analyzed"
  746. }
  747. },
  748. "copy_to": ["search_nom", "search_field", "search_field_clickadoc"],
  749. "analyzer": "french"
  750. },
  751. "nombreUCD": {
  752. "type": "string"
  753. },
  754. "numbreUCD": {
  755. "type": "integer"
  756. },
  757. "prixGrossiste": {
  758. "type": "float"
  759. },
  760. "prixGrossisteTheorique": {
  761. "type": "float"
  762. },
  763. "prixLPPR": {
  764. "type": "string",
  765. "index": "no"
  766. },
  767. "prixPharmacien": {
  768. "type": "float"
  769. },
  770. "prixPublic": {
  771. "type": "float"
  772. },
  773. "prixTFR": {
  774. "type": "float"
  775. },
  776. "remboursementSecuriteSociale": {
  777. "type": "string",
  778. "index": "not_analyzed"
  779. },
  780. "typePrix": {
  781. "type": "string",
  782. "index": "no"
  783. }
  784. }
  785. },
  786. "nomProduit": {
  787. "type": "string",
  788. "analyzer": "string_sort"
  789. },
  790. "nombreUCD": {
  791. "type": "integer"
  792. },
  793. "offre": {
  794. "type": "nested",
  795. "properties": {
  796. "codeActivite": {
  797. "type": "string",
  798. "index": "not_analyzed"
  799. },
  800. "debutValidite": {
  801. "type": "date",
  802. "format": "strict_date_optional_time||epoch_millis"
  803. },
  804. "finValidite": {
  805. "type": "date",
  806. "format": "strict_date_optional_time||epoch_millis"
  807. },
  808. "idTechnique": {
  809. "type": "string",
  810. "index": "not_analyzed"
  811. },
  812. "sourceOffre": {
  813. "type": "string",
  814. "index": "not_analyzed"
  815. },
  816. "uuidOffre": {
  817. "type": "string",
  818. "index": "not_analyzed"
  819. }
  820. }
  821. },
  822. "search_code": {
  823. "type": "string",
  824. "fields": {
  825. "fr": {
  826. "type": "string",
  827. "analyzer": "francais"
  828. },
  829. "std": {
  830. "type": "string",
  831. "analyzer": "standard"
  832. }
  833. },
  834. "analyzer": "autocomplete"
  835. },
  836. "search_field": {
  837. "type": "string",
  838. "fields": {
  839. "fr": {
  840. "type": "string",
  841. "analyzer": "francais"
  842. },
  843. "std": {
  844. "type": "string",
  845. "analyzer": "standard"
  846. }
  847. },
  848. "analyzer": "autocomplete"
  849. },
  850. "search_field_clickadoc": {
  851. "type": "string",
  852. "fields": {
  853. "fr": {
  854. "type": "string",
  855. "analyzer": "francais"
  856. },
  857. "std": {
  858. "type": "string",
  859. "analyzer": "standard"
  860. }
  861. },
  862. "analyzer": "autocomplete"
  863. },
  864. "search_nom": {
  865. "type": "string",
  866. "fields": {
  867. "fr": {
  868. "type": "string",
  869. "analyzer": "francais"
  870. },
  871. "std": {
  872. "type": "string",
  873. "analyzer": "standard"
  874. }
  875. },
  876. "analyzer": "autocomplete"
  877. }
  878. }
  879. }
  880. }
  881. }
  882. }
Add Comment
Please, Sign In to add comment