메뉴 건너뛰기

공사박사

CONSTRUCTION
& with PLEASURE.

즐거운 공사를 위해 공사박사가 함께 합니다.

SATISFACATION
TOGETHER

공급자&수요자 모두가 만족합니다.

OVER 10 YEARS
MASTERS

10년 이상의 장인들과 함께 합니다.

ONE MORE
VISIT & MEET

한번 더 방문해서 만나고 싶은 인연을 만들어갑니다.

?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
Extra Form
모집종류 latashia.luker@aol.com
작업종류 26,5445,24809
free real time sync software#curl way to build river (and build resume as an index)

curl -XPUT 'localhost: 9200 / _river / tbJobResume / _meta' -d '



'type': 'mongodb',

'mongodb':

\u0026 nbsp; \u0026 nbsp; 'host': '192.168.225.131'

\u0026 nbsp; \u0026 nbsp; 'port': '37017'

\u0026 nbsp; \u0026 nbsp; 'db': 'MongoModelJobResume',

\u0026 nbsp; \u0026 nbsp; 'collection': 'tbJobResume'

,

'index':

\u0026 nbsp; \u0026 nbsp; 'name': 'resume'

\u0026 nbsp; \u0026 nbsp; 'type': 'tbJobResume' '

Note: _river / tbJobResume \u0026 nbsp; \u0026 nbsp; tbJobResume \u0026 nbsp; I use the table name, the creation of each index when the best different-d behind the 'content' two single quotation marks do not lose

type is followed by mongodb mongodb database

mongodb: ip, port, db (name), collection do not have to explain

index: name to create the index name, preferably lowercase (should be required)

index: type collection The name of the data collection corresponding to the index

verification:

curl 'http: // localhost: 9200 / _river / tbJobResume / _meta'

This will build a resume bit, mongodb if there is data will be synchronized over

Special Note: If tbJobResume table field is a geographical coordinates, need to map into geo_point type, in the creation of the index before mapping, as follows:

curl -XPUT 'http: // localhost: 9200 / resume' -d '



\u0026 nbsp; \u0026 nbsp; 'mappings':

\u0026 nbsp; \u0026 nbsp; 'tbJobResume':

\u0026 nbsp; \u0026 nbsp; \u0026 nbsp; 'properties':

\u0026 nbsp; \u0026 nbsp; \u0026 nbsp; \u0026 nbsp; 'Location':

\u0026 nbsp; \u0026 nbsp; \u0026 nbsp; \u0026 nbsp; \u0026 nbsp; 'type': 'geo_point'

\u0026 nbsp; \u0026 nbsp; \u0026 nbsp; \u0026 nbsp;

\u0026 nbsp; \u0026 nbsp; \u0026 nbsp;

\u0026 nbsp; \u0026 nbsp;

\u0026 nbsp;

'

After setting up the index is created

--- The following is the construction of another index ---

curl -XPUT 'localhost: 9200 / _river / tbJobPosition / _meta' -d '



'type': 'mongodb',

'mongodb':

\u0026 nbsp; \u0026 nbsp; 'host': '192.168.225.131'

\u0026 nbsp; \u0026 nbsp; 'port': '37017'

\u0026 nbsp; \u0026 nbsp; 'db': 'MongoModelJob',

\u0026 nbsp; \u0026 nbsp; 'collection': 'tbJobPosition'

,

'index':

\u0026 nbsp; \u0026 nbsp; 'name': 'position',

\u0026 nbsp; \u0026 nbsp; 'type': 'tbJobPosition' '

curl 'http: // localhost: 9200 / _river / tbJobPosition / _meta'

---------------

#curl put the index data

curl -XPUT 'http: // localhost: 9200 / customer / tbCustomer / 1' -d '



\u0026 nbsp; \u0026 nbsp; '_ id': 1,

\u0026 nbsp; \u0026 nbsp; 'Name': 'Francis Ford Coppola 1',

\u0026 nbsp; \u0026 nbsp; 'Sex': 1

'

The method creates a customer index and puts a data into it, tbCustomer is type

curl -XPUT 'http://192.168.225.131:9200/dept/employee/32' -d '' empname ':' emp32 ''

curl -XPUT 'http://192.168.225.131:9200/dept/employee/31' -d '' empname ':' emp31 ''

The method also creates a dept index and puts a data into it, employee is type

Create a river and index the variable template as follows:

$ curl -XPUT 'localhost: 9200 / _river / $ es.river.name / _ meta' -d '



\u0026 nbsp; 'type': 'mongodb',

\u0026 nbsp; 'mongodb': \u0026 nbsp;

\u0026 nbsp; \u0026 nbsp; 'servers':

\u0026 nbsp; \u0026 nbsp; [

\u0026 nbsp; \u0026 nbsp; \u0026 nbsp; 'host': $ mongo.instance1.host, 'port': $ mongo.instance1.port,

\u0026 nbsp; \u0026 nbsp; \u0026 nbsp; 'host': $ mongo.instance2.host, 'port': $ mongo.instance2.port

\u0026 nbsp; \u0026 nbsp;],

\u0026 nbsp; \u0026 nbsp; 'options': \u0026 nbsp;

\u0026 nbsp; \u0026 nbsp; \u0026 nbsp; 'secondary_read_preference': true, \u0026 nbsp;

\u0026 nbsp; \u0026 nbsp; \u0026 nbsp; 'drop_collection': $ mongo.drop.collection, \u0026 nbsp;

\u0026 nbsp; \u0026 nbsp; \u0026 nbsp; 'exclude_fields': $ mongo.exclude.fields,

\u0026 nbsp; \u0026 nbsp; \u0026 nbsp; 'include_fields': $ mongo.include.fields,

\u0026 nbsp; \u0026 nbsp; \u0026 nbsp; 'include_collection': $ mongo.include.collection,

\u0026 nbsp; \u0026 nbsp; \u0026 nbsp; 'import_all_collections': $ mongo.import.all.collections,

\u0026 nbsp; \u0026 nbsp; \u0026 nbsp; 'initial_timestamp':

\u0026 nbsp; \u0026 nbsp; \u0026 nbsp; \u0026 nbsp; \u0026 quot; script_type \u0026 quot;: $ mongo.initial.timestamp.script.type

\u0026 nbsp; \u0026 nbsp; \u0026 nbsp; \u0026 nbsp; 'script': $ mongo.initial.timestamp.script

\u0026 nbsp; \u0026 nbsp; \u0026 nbsp;,

\u0026 nbsp; \u0026 nbsp; \u0026 nbsp; 'skip_initial_import': $ mongo.skip.initial.import,

\u0026 nbsp; \u0026 nbsp; \u0026 nbsp; 'store_statistics': $ mongo.store.statistics,

\u0026 nbsp; \u0026 nbsp;,

\u0026 nbsp; \u0026 nbsp; 'credentials':

\u0026 nbsp; \u0026 nbsp; [

\u0026 quot; $ \u0026 quot; \u0026 quot;

\u0026 nbsp; \u0026 nbsp; \u0026 nbsp; 'db': 'admin', 'user': $ mongo.db.user, 'password': $ mongo.db.password

\u0026 nbsp; \u0026 nbsp;],

\u0026 nbsp; \u0026 nbsp; 'db': $ mongo.db.name, \u0026 nbsp;

\u0026 nbsp; \u0026 nbsp; 'collection': $ mongo.collection.name, \u0026 nbsp;

\u0026 nbsp; \u0026 nbsp; 'gridfs': $ mongo.is.gridfs.collection,

\u0026 nbsp; \u0026 nbsp; 'filter': $ mongo.filter

\u0026 nbsp;, \u0026 nbsp;

\u0026 nbsp; 'index': \u0026 nbsp;

\u0026 nbsp; \u0026 nbsp; 'name': $ es.index.name, \u0026 nbsp;

\u0026 nbsp; \u0026 nbsp; 'throttle_size': $ es.throttle.size,

real time file synchronization windows 7 \u0026 nbsp; \u0026 nbsp; 'bulk_size': $ es.bulk.size,

\u0026 nbsp; \u0026 nbsp; 'type': $ es.type.name

\u0026 nbsp; \u0026 nbsp; 'bulk':

\u0026 nbsp; \u0026 nbsp; \u0026 nbsp; 'actions': $ es.bulk.actions

\u0026 nbsp; \u0026 nbsp; \u0026 nbsp; 'size': $ es.bulk.size,

\u0026 nbsp; \u0026 nbsp; \u0026 nbsp; 'concurrent_requests': $ es.bulk.concurrent.requests,

\u0026 nbsp; \u0026 nbsp; \u0026 nbsp; 'flush_interval': $ es.bulk.flush.interval

\u0026 nbsp; \u0026 nbsp;

\u0026 nbsp;

'

--template end--

--url--

This plugin git address: https: //github.com/laigood/elasticsearch-river-mongodb

  1. No Image 09Oct
    by LonnaTkn51221587

    FBackup Automatic Backup Software Download V5 4 799 Chinese Version

  2. 09Oct
    by MaryjoTimperley009

    Computer Hard Disk Bad Inside All The Information Lost How To Do

  3. 09Oct
    by JoyceFitzRoy55492834

    Wang Haipeng

  4. 09Oct
    by LatashiaLuker55

    Elasticsearch And Mongodb Distributed Cluster Environment Data Synchronization

  5. No Image 09Oct
    by JDTStephaine0060830

    Copyright Printing

  6. 04Oct
    by TanishaPapst8475

    Nike Colts 12 Andrew Luck Royal Blue Team Color Mens Stitched NFL Limited Jersey Discount 20% Off

  7. 30Sep
    by CedricYarborough246

    China Nfl Jerseys From Viamao

  8. 27Sep
    by GlennaHaris3602814

    68 Cyril Richardson Jersey W0J

  9. 26Sep
    by KarineGresham77293

    What Is The Function Of Glucosamine In A Dog Diet Regime

  10. 23Sep
    by TaylorWimberly145794

    Critiques Listing Of The Greatest Essay Crafting Expert Services

  11. 18Sep
    by Tam75R9135090758132

    How To Copy A Computer Driver To Another Computer

  12. No Image 18Sep
    by BerylChomley124964

    U Disk Partition Table Repair Tool Recommended

  13. 18Sep
    by ConcepcionBirnie5

    Kingston U Disk Production Tools Download Green Free Version

  14. 18Sep
    by BruceSticht7029535

    Laptop Win7 System Reloading Steps

  15. 18Sep
    by AngelikaBxb761952

    How To Use The Computer Backup Backup File On The U Disk

  16. 26Aug
    by ErrolI672918559

    Mulhouse City Attractions And Travel Guide

  17. 22Aug
    by HoustonAmf4238670

    Celtics 9 Rajon Rondo Stitched Green White Number NBA Jersey Littleworth

  18. No Image 14Aug
    by MarisolSilvestri

    Cheap Nba Wholesale Jerseys F7

  19. No Image 06Aug
    by CharleneMatthew59

    Wholesale Morris Claiborne Jerseys X9

  20. 04Aug
    by MazieAdo5495226

    Car Hires In Majorca

Board Pagination Prev 1 2 Next
/ 2
GUIDE

START-UP with 공사박사

  • 사이트 제목 바꾸기

    대금 보호 서비스

    대금 보호 서비스를 이용하세요.
    혹시 수금이 안될까? 공사박사는 서울보증보험과 함께 대금 보호 서비스를 제공합니다.(자세히보기)

  • 메뉴 구조 구성하기

    장인들과의 만남

    10년 이상 장인들이 책임 시공합니다.
    공사 박사는 현장 경험 10년 이상인 장인분들 함께 만들어 가는 곳입니다.

  • 레이아웃 디자인 바꾸기

    평가 시스템 운영

    수요자 공급자 양방향 평가를 합니다.
    양방향 평가를 위해 수요자 공급자 모두의 가치를 끌어올립니다.

  • 초기화면 바꾸기

    무료 등록

    광고비가 없습니다.
    무료로 등록만 해 두시면 수요자와 공급자를 공사박사만의 특화된 시스템으로 매칭해 드립니다.

  • 기능과 디자인 추가하기

    일일 작업 리포트 제공

    진행 사항을 한눈에 확인 하실 수 있습니다.
    공사 박사가 제공하는 일일 작업 리포트로 공사 진행 사항부터 예상 완료 시점까지 체크할 수 있습니다.

  • 레이아웃 꾸미기

    자동 이력 관리

    자동 이력 관리 시스템으로 믿을 수가 있습니다. 공급자는 자신의 커리어를 관리할 수 있으며, 수요자는 공급자 선택에 신뢰가 생깁니다.

위로