Advertisement
shuba_ivan

fos elastic config

Jan 20th, 2016
386
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 38.47 KB | None | 0 0
  1. fos_elastica:
  2.     clients:
  3.         default:
  4.           host: %elastica_host%
  5.           port: %elastica_port%
  6.           headers: { Authorization: Basic %elastica_auth_header% }
  7.  
  8.     indexes:
  9.         profile:
  10.             finder: ~
  11.             types:
  12.                 team:
  13.                      mappings:
  14.                          id:
  15.                            type: integer
  16.                          slug:
  17.                            type: string
  18.                          image_back:
  19.                            type: string
  20.                          platforms:
  21.                            expose: true
  22.                          rating:
  23.                            type: float
  24.                          total_expirience:
  25.                            type: float
  26.                          total_project:
  27.                            type: float
  28.                          total_hours:
  29.                            type: float
  30.                          total_earning:
  31.                            type: float
  32.                          total_reviews:
  33.                            type: float
  34.                          video_resume:
  35.                            type: string
  36.                          name:
  37.                            type: string
  38.                          description:
  39.                            type: string
  40.                          image:
  41.                            type: string
  42.                          profileSummary:
  43.                            type: string
  44.                          webSite:
  45.                            type: string
  46.                          markets:
  47.                             expose: true
  48.                          skills:
  49.                             expose: true
  50.                          rank:
  51.                             type: "nested"
  52.                             properties:
  53.                                 name:
  54.                                   type: string
  55.                          location:
  56.                            type: "nested"
  57.                            properties:
  58.                                 id: ~
  59.                                 city:
  60.                                   type: string
  61.                          country_iso_codes:
  62.                            type: string
  63.  
  64.                          elance_skill:
  65.                             type: "nested"
  66.                             properties:
  67.                                 id: ~
  68.                                 elance_skill:
  69.                                   type: string
  70.                                 tested:
  71.                                   type: string
  72.                                 tests:
  73.                                   type: string
  74.  
  75.                          teamMembers:
  76.                             type: "nested"
  77.                             properties:
  78.                                   id: ~
  79.                                   source:
  80.                                     type: string
  81.                                   role:
  82.                                     type: string
  83.                                   jobs:
  84.                                     type: string
  85.                                   name:
  86.                                     type: string
  87.                                   type:
  88.                                     type: string
  89.                                   logo_src:
  90.                                     type: string
  91.                                   profile_src:
  92.                                     type: string
  93.  
  94.                          developers:
  95.                             type: "nested"
  96.                             properties:
  97.                                 id:
  98.                                    type: integer
  99.                                 slug:
  100.                                    type: string
  101.                                 description:
  102.                                    type: string
  103.                                 profileSummary:
  104.                                    type: string
  105.                                 qualification:
  106.                                    type: string
  107.                                 name:
  108.                                    type: string
  109.                                 rating:
  110.                                    type: float
  111.                                 total_expirience:
  112.                                     type: float
  113.                                 total_project:
  114.                                     type: float
  115.                                 total_hours:
  116.                                     type: float
  117.                                 total_earning:
  118.                                     type: float
  119.                                 total_reviews:
  120.                                     type: float
  121.                                 video_resume:
  122.                                     type: string
  123.                                 level:
  124.                                     type: string
  125.                                 main_skill:
  126.                                     type: string
  127.                                 skills:
  128.                                     expose: true
  129.                                 platforms:
  130.                                     expose: true
  131.                                 image_back:
  132.                                     type: string
  133.                                 english:
  134.                                     type: string
  135.                                 rate:
  136.                                     type: integer
  137.                                 image:
  138.                                     type: string
  139.                                 tags:
  140.                                     expose: true
  141.                                 createdAt:
  142.                                     type: date
  143.                                 avalible_to:
  144.                                     type: date
  145.                                 avalible_from:
  146.                                     type: date
  147.                                 country_iso_codes:
  148.                                     type: string
  149.                                 shortInsideInformation:
  150.                                     type: string
  151.                                 teams:
  152.                                    type: "nested"
  153.                                    properties:
  154.                                        id: ~
  155.                                 specialities:
  156.                                     expose: true
  157.                                 cvUri:
  158.                                     type: string
  159.                                 content:
  160.                                     type: string
  161. #                                talent_file:
  162. #                                   type: "nested"
  163. #                                   properties:
  164. #                                      id: ~
  165. #                                      content:
  166. #                                         type: string
  167. #                                      file_path:
  168. #                                         type: string
  169. #                                      type:
  170. #                                         type: string
  171.                                 user:
  172.                                    type: "nested"
  173.                                    properties:
  174.                                        id: ~
  175.                                        username:
  176.                                           type: string
  177.                                        firstName:
  178.                                           type: string
  179.                                        lastName:
  180.                                           type: string
  181.                                        email:
  182.                                           type: string
  183.                                        skype:
  184.                                           type: string
  185.                                        telephone:
  186.                                           type: string
  187.                                        description:
  188.                                           type: string
  189.                                        createdAt:
  190.                                           type: date
  191.                                        image:
  192.                                           type: string
  193.                                        profileSummary:
  194.                                           type: string
  195.                                        webSite:
  196.                                           type: string
  197.                                        shortName:
  198.                                           type: string
  199.                                        city:
  200.                                           type: "nested"
  201.                                           properties:
  202.                                               id: ~
  203.                                               city:
  204.                                                type: string
  205.                                        country:
  206.                                           type: string
  207.                                        last_login:
  208.                                           type: date
  209.                                        full_contact_status:
  210.                                           type: string
  211.                                        full_contact_day:
  212.                                           type: date
  213.  
  214.                          rate:
  215.                            type: integer
  216.                          foundedAt:
  217.                            type: date
  218.                          updatedAt:
  219.                            type: date
  220.                          createdAt:
  221.                            type: date
  222.                          keywords:
  223.                            type: string
  224.                          about:
  225.                            type: string
  226.                          tags:
  227.                            expose: true
  228.                          profileSample:
  229.                             type: "nested"
  230.                             properties:
  231.                                  id: ~
  232.                                  skills:
  233.                                    expose: true
  234.                                  thumb:
  235.                                    type: string
  236.                                  src:
  237.                                    type: string
  238.                                  title:
  239.                                    type: string
  240.                                  description:
  241.                                    type: string
  242.                                  tags:
  243.                                    expose: true
  244.                                  is_image:
  245.                                    type: string
  246.                                  alt:
  247.                                    type: string
  248.                                  url:
  249.                                    type: string
  250.                                  attach_url:
  251.                                    type: string
  252.  
  253.                          projects:
  254.                             type: "nested"
  255.                             properties:
  256.                                  id: ~
  257.                                  title:
  258.                                      type: string
  259.                                  description:
  260.                                      type: string
  261.                                  source:
  262.                                      type: string
  263. #                                 raw:
  264. #                                    expose: true
  265.                                  dateFrom:
  266.                                      type: string
  267.                                  dateTo:
  268.                                      type: string
  269.                                  skills:
  270.                                      expose: true
  271.                                  github:
  272.                                      properties:
  273.                                          lang:
  274.                                              type: string
  275.                                          percent:
  276.                                              type: double
  277.                                  specialities:
  278.                                      type: string
  279.                                  level:
  280.                                      type: string
  281.                                  mainSkill:
  282.                                      type: string
  283.                                  category:
  284.                                      type: string
  285.                                  status:
  286.                                      type: string
  287.                                  type:
  288.                                      type: string
  289.                                  cost:
  290.                                      type: string
  291.                                  accepted_date:
  292.                                      type: date
  293.                                  visible:
  294.                                      type: string
  295.                                  clientsFeedback:
  296.                                      type: "nested"
  297.                                      properties:
  298.                                            id: ~
  299.                                            feedback_at:
  300.                                              type: date
  301.                                            search_hash:
  302.                                              type: string
  303.                                            feedback_response_for_client:
  304.                                              type: string
  305.                                            feedback_response:
  306.                                              type: string
  307.                                            clients_feedback:
  308.                                              type: string
  309.                                            rating:
  310.                                              expose: true
  311.                                  authorId:
  312.                                      type: "nested"
  313.                                      properties:
  314.                                          id: ~
  315.                                          username:
  316.                                             type: string
  317.                                          firstName:
  318.                                             type: string
  319.                                          lastName:
  320.                                             type: string
  321.  
  322.                          elance_profile:
  323.                             type: "nested"
  324.                             properties:
  325.                                   id:
  326.                                     type: integer
  327.                                   jobs_completed:
  328.                                     type: integer
  329.                                   jobs_paid:
  330.                                     type: integer
  331.                                   jobs_hours:
  332.                                     type: integer
  333.                                   review_total:
  334.                                     type: integer
  335.                                   review_recommendation:
  336.                                     type: string
  337.                                   review_percent:
  338.                                     type: integer
  339.                                   jobs_paid:
  340.                                     type: integer
  341.                                   review_rank:
  342.                                     type: float
  343.                                   earning_total:
  344.                                     type: integer
  345.                                   earning_per_client:
  346.                                     type: integer
  347.                                   name:
  348.                                     type: string
  349.                                   slug:
  350.                                     type: string
  351.                                   type:
  352.                                     expose: true
  353.                                   createdAt:
  354.                                     type: date
  355.                                   payment_terms:
  356.                                     type: string
  357.                                   url:
  358.                                     type: string
  359.                                   verifications:
  360.                                     expose: true
  361.                                   clients_total:
  362.                                     type: integer
  363.                                   clients_percent:
  364.                                     type: integer
  365.  
  366.                          users:
  367.                             type: "nested"
  368.                             properties:
  369.                                  id: ~
  370.                                  username:
  371.                                   type: string
  372.                                  firstName:
  373.                                   type: string
  374.                                  lastName:
  375.                                   type: string
  376.                                  shortName:
  377.                                   type: string
  378.                                  email:
  379.                                   type: string
  380.                                  skype:
  381.                                   type: string
  382.                                  telephone:
  383.                                   type: string
  384.                                  description:
  385.                                   type: string
  386.                                  createdAt:
  387.                                   type: date
  388.                                  image:
  389.                                   type: string
  390.                                  profileSummary:
  391.                                   type: string
  392.                                  webSite:
  393.                                   type: string
  394.                                  city:
  395.                                   type: "nested"
  396.                                   properties:
  397.                                       id: ~
  398.                                       city:
  399.                                        type: string
  400.                                  country:
  401.                                   type: string
  402.                                  last_login:
  403.                                   type: date
  404.  
  405.                      persistence:
  406.                           driver: orm
  407.                           model: Artel\ProfileBundle\Entity\Teams
  408.                           provider: ~
  409.                           listener:
  410.                             immediate: true
  411.                           finder: ~
  412.                 talent:
  413.                     mappings:
  414.                         id:
  415.                            type: integer
  416.                         slug:
  417.                            type: string
  418.                         description:
  419.                            type: string
  420.                         profileSummary:
  421.                            type: string
  422.                         qualification:
  423.                            type: string
  424.                         name:
  425.                            type: string
  426.                         rating:
  427.                            type: float
  428.                         total_expirience:
  429.                             type: float
  430.                         total_project:
  431.                             type: float
  432.                         total_hours:
  433.                             type: float
  434.                         total_earning:
  435.                             type: float
  436.                         total_reviews:
  437.                             type: float
  438.                         video_resume:
  439.                             type: string
  440.                         level:
  441.                             type: string
  442.                         main_skill:
  443.                             type: string
  444.                         skills:
  445.                             expose: true
  446.                         platforms:
  447.                             type: string
  448.                             expose: true
  449.                         image_back:
  450.                             type: string
  451.                         english:
  452.                             type: string
  453.                         rate:
  454.                             type: integer
  455.                         image:
  456.                             type: string
  457.                         tags:
  458.                             expose: true
  459.                         createdAt:
  460.                             type: date
  461.                         updatedAt:
  462.                             type: date
  463.                         avalible_to:
  464.                             type: date
  465.                         avalible_from:
  466.                             type: date
  467.                         country_iso_codes:
  468.                             type: string
  469.                         shortInsideInformation:
  470.                             type: string
  471.                         specialities:
  472.                             expose: true
  473.                         teams:
  474.                             type: "nested"
  475.                             properties:
  476.                               id: ~
  477.                         cvUri:
  478.                             type: string
  479.                         content:
  480.                             type: string
  481. #                        talent_file:
  482. #                            type: "nested"
  483. #                            properties:
  484. #                                id: ~
  485. #                                content:
  486. #                                   type: string
  487. #                                file_path:
  488. #                                   type: string
  489. #                                type:
  490. #                                   type: string
  491.                         projects:
  492.                             type: "nested"
  493.                             properties:
  494.                                  id: ~
  495.                                  title:
  496.                                      type: string
  497.                                  description:
  498.                                      type: string
  499.                                  source:
  500.                                      type: string
  501. #                                 raw:
  502. #                                    expose: true
  503.                                  dateFrom:
  504.                                      type: string
  505.                                  dateTo:
  506.                                      type: string
  507.                                  skills:
  508.                                      expose: true
  509.                                  github:
  510.                                      properties:
  511.                                          lang:
  512.                                              type: string
  513.                                          percent:
  514.                                              type: double
  515.                                  specialities:
  516.                                      type: string
  517.                                  level:
  518.                                      type: string
  519.                                  category:
  520.                                      type: string
  521.                                  status:
  522.                                      type: string
  523.                                  type:
  524.                                      type: string
  525.                                  mainSkill:
  526.                                      type: string
  527.                                  cost:
  528.                                      type: string
  529.                                  accepted_date:
  530.                                      type: date
  531.                                  visible:
  532.                                      type: string
  533.                                  clientsFeedback:
  534.                                      type: "nested"
  535.                                      properties:
  536.                                            id: ~
  537.                                            feedback_at:
  538.                                              type: date
  539.                                            search_hash:
  540.                                              type: string
  541.                                            feedback_response_for_client:
  542.                                              type: string
  543.                                            feedback_response:
  544.                                              type: string
  545.                                            clients_feedback:
  546.                                              type: string
  547.                                            rating:
  548.                                              expose: true
  549.                                  authorId:
  550.                                      type: "nested"
  551.                                      properties:
  552.                                          id: ~
  553.                                          username:
  554.                                             type: string
  555.                                          firstName:
  556.                                             type: string
  557.                                          lastName:
  558.                                             type: string
  559.  
  560.                         profileSample:
  561.                             type: "nested"
  562.                             properties:
  563.                                  id: ~
  564.                                  skills:
  565.                                    expose: true
  566.                                  thumb:
  567.                                    type: string
  568.                                  src:
  569.                                    type: string
  570.                                  title:
  571.                                    type: string
  572.                                  description:
  573.                                    type: string
  574.                                  tags:
  575.                                    expose: true
  576.                                  is_image:
  577.                                    type: string
  578.                                  alt:
  579.                                    type: string
  580.                                  url:
  581.                                    type: string
  582.                                  attach_url:
  583.                                    type: string
  584.  
  585.                         location:
  586.                             type: "nested"
  587.                             properties:
  588.                                   id: ~
  589.                                   city:
  590.                                    type: string
  591.                         elance_profile:
  592.                             type: "nested"
  593.                             properties:
  594.                                   id:
  595.                                     type: integer
  596.                                   jobs_completed:
  597.                                     type: integer
  598.                                   jobs_paid:
  599.                                     type: integer
  600.                                   jobs_hours:
  601.                                     type: integer
  602.                                   review_total:
  603.                                     type: integer
  604.                                   review_recommendation:
  605.                                     type: string
  606.                                   review_percent:
  607.                                     type: integer
  608.                                   jobs_paid:
  609.                                     type: integer
  610.                                   review_rank:
  611.                                     type: float
  612.                                   earning_total:
  613.                                     type: integer
  614.                                   earning_per_client:
  615.                                     type: integer
  616.                                   name:
  617.                                     type: string
  618.                                   slug:
  619.                                     type: string
  620.                                   type:
  621.                                     expose: true
  622.                                   created:
  623.                                     type: date
  624.                                   payment_terms:
  625.                                     type: string
  626.                                   url:
  627.                                     type: string
  628.                                   verifications:
  629.                                     expose: true
  630.                                   clients_total:
  631.                                     type: integer
  632.                                   clients_percent:
  633.                                     type: integer
  634.  
  635.  
  636.                         user:
  637.                             type: "nested"
  638.                             properties:
  639.                                  id: ~
  640.                                  username:
  641.                                     type: string
  642.                                  firstName:
  643.                                     type: string
  644.                                  lastName:
  645.                                     type: string
  646.                                  shortName:
  647.                                     type: string
  648.                                  email:
  649.                                     type: string
  650.                                  skype:
  651.                                     type: string
  652.                                  telephone:
  653.                                     type: string
  654.                                  description:
  655.                                     type: string
  656.                                  createdAt:
  657.                                     type: date
  658.                                  updatedAt:
  659.                                     type: date
  660.                                  image:
  661.                                     type: string
  662.                                  profileSummary:
  663.                                     type: string
  664.                                  webSite:
  665.                                     type: string
  666.                                  city:
  667.                                     type: "nested"
  668.                                     properties:
  669.                                         city:
  670.                                          type: string
  671.                                  country:
  672.                                     type: string
  673.                                  last_login:
  674.                                     type: date
  675.                                  code_profile_links:
  676.                                     type: "nested"
  677.                                     properties:
  678.                                           id: ~
  679.                                           social_url:
  680.                                             type: string
  681.                                           url_type:
  682.                                             type: string
  683.                                  code_profile_jobs:
  684.                                     type: "nested"
  685.                                     properties:
  686.                                           id: ~
  687.                                           name:
  688.                                             type: string
  689.                                           title:
  690.                                             type: string
  691.                                           startDate:
  692.                                             type: string
  693.                                           endDate:
  694.                                             type: string
  695.                                           isPrimary:
  696.                                             type: boolean
  697.                                           current:
  698.                                             type: boolean
  699.                                  code_contact_info:
  700.                                     type: "nested"
  701.                                     properties:
  702.                                           id: ~
  703.                                           client:
  704.                                             type: string
  705.                                           handle:
  706.                                             type: string
  707.                                  full_contact_status:
  708.                                     type: string
  709.                                  full_contact_day:
  710.                                     type: date
  711.  
  712.                     persistence:
  713.                           driver: orm
  714.                           model: Artel\ProfileBundle\Entity\Developer
  715.                           provider: ~
  716.                           listener: ~
  717.                           finder: ~
  718.  
  719.         project:
  720.             finder: ~
  721.             types:
  722.                 project:
  723.                      mappings:
  724.                           id:
  725.                              type: integer
  726.                           project_name:
  727.                               type: string
  728.                           rate:
  729.                               type: integer
  730.                           slug:
  731.                               type: string
  732.                           main_skill:
  733.                               type: string
  734.                           type:
  735.                               type: string
  736.                           title:
  737.                               type: string
  738.                           level:
  739.                               type: string
  740.                           name:
  741.                               type: string
  742.                           markets:
  743.                               expose: true
  744.                           platforms:
  745.                               expose: true
  746.                           speciality:
  747.                               expose: true
  748.                           description:
  749.                               type: string
  750.                           paymentType:
  751.                               type: string
  752.                           employment:
  753.                               type: string
  754.                           duration:
  755.                               type: string
  756.                           expected_budget:
  757.                               type: string
  758.                           devCount:
  759.                               type: string
  760.                           project_skills:
  761.                               expose: true
  762.                           closed:
  763.                               type: integer
  764.                           startDate:
  765.                               type: string
  766.                           location:
  767.                               type: string
  768.                           currentStatus:
  769.                               type: string
  770.                           current_comment:
  771.                               type: string
  772.                           linkToCrm:
  773.                               type: string
  774.                           updatedAt:
  775.                               type: date
  776.                           createdAt:
  777.                               type: date
  778.                      persistence:
  779.                           driver: orm
  780.                           model: Artel\ProfileBundle\Entity\Project
  781.                           provider: ~
  782.                           listener:
  783.                             immediate: true
  784.                           finder: ~
  785.  
  786.         directory:
  787.             finder: ~
  788.             types:
  789.                 rank:
  790.                      mappings:
  791.                           id:
  792.                              type: integer
  793.                           name:
  794.                              type: string
  795.  
  796.                      persistence:
  797.                           driver: orm
  798.                           model: Artel\ProfileBundle\Entity\Rank
  799.                           provider: ~
  800.                           listener:
  801.                             immediate: true
  802.                           finder: ~
  803.                 platform:
  804.                      mappings:
  805.                           id:
  806.                              type: integer
  807.                           platforms:
  808.                              type: string
  809.                           updatedAt:
  810.                               type: date
  811.                           createdAt:
  812.                               type: date
  813.  
  814.                      persistence:
  815.                           driver: orm
  816.                           model: Artel\ProfileBundle\Entity\CodeDirectoryPlatforms
  817.                           provider: ~
  818.                           listener:
  819.                             immediate: true
  820.                           finder: ~
  821.  
  822.                 language:
  823.                      mappings:
  824.                           id:
  825.                              type: integer
  826.                           languages:
  827.                               type: string
  828.                           updatedAt:
  829.                               type: date
  830.                           createdAt:
  831.                               type: date
  832.  
  833.                      persistence:
  834.                           driver: orm
  835.                           model: Artel\ProfileBundle\Entity\CodeDirectoryProgramLanguages
  836.                           provider: ~
  837.                           listener:
  838.                             immediate: true
  839.                           finder: ~
  840.  
  841.                 speciality:
  842.                      mappings:
  843.                           id:
  844.                              type: integer
  845.                           specialities:
  846.                               type: string
  847.                           updatedAt:
  848.                               type: date
  849.                           createdAt:
  850.                               type: date
  851.  
  852.                      persistence:
  853.                           driver: orm
  854.                           model: Artel\ProfileBundle\Entity\CodeDirectorySpecialities
  855.                           provider: ~
  856.                           listener:
  857.                             immediate: true
  858.                           finder: ~
  859.                 skill:
  860.                      mappings:
  861.                           id:
  862.                              type: integer
  863.                           skill:
  864.                               type: string
  865.                           mainSkill:
  866.                               type: boolean
  867.                           color:
  868.                              type: string
  869.                           elance_skill:
  870.                              type: string
  871.                           tested:
  872.                              type: float
  873.                           createdAt:
  874.                              type: date
  875.                           updatedAt:
  876.                              type: date
  877.                      persistence:
  878.                           driver: orm
  879.                           model: Artel\ProfileBundle\Entity\Skill
  880.                           provider: ~
  881.                           listener:
  882.                             immediate: true
  883.                           finder: ~
  884.                 domain:
  885.                      mappings:
  886.                           id:
  887.                              type: integer
  888.                           market:
  889.                               type: string
  890.                           createdAt:
  891.                              type: date
  892.                           updatedAt:
  893.                              type: date
  894.                      persistence:
  895.                           driver: orm
  896.                           model: Artel\ProfileBundle\Entity\CodeMarkets
  897.                           provider: ~
  898.                           listener:
  899.                             immediate: true
  900.                           finder: ~
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement