Elastic Index yog dab tsi?
Elastic Index yog dab tsi?

Video: Elastic Index yog dab tsi?

Video: Elastic Index yog dab tsi?
Video: Yog ntuj tsis pab ntshe kuv tuag lawm 8/6/2018 2024, Kaum ib hlis
Anonim

Ib qhov ntsuas yog ib lub logic namespace uas maps rau ib los yog ntau tshaj thawj shards thiab muaj peev xwm muaj pes tsawg los yog ntau replica shards. Ok. Qhov thib ob lub tswv yim hais txog replicas thiab shards, lub mechanism Elasticsearch siv los faib cov ntaub ntawv nyob ib ncig ntawm pawg. Cia peb tshawb txog thawj lub tswv yim, siv ntsuas npaj cov ntaub ntawv.

Ntxiv mus, yog dab tsi yog kev siv elastic tshawb nrhiav?

Elasticsearch yog ib qho kev nthuav dav heev qhib-qhov chaw puv-ntawv nrhiav thiab analytics engine. Nws tso cai rau koj khaws cia, nrhiav , thiab txheeb xyuas cov ntaub ntawv loj loj sai thiab nyob ze ntawm lub sijhawm. Nws feem ntau yog siv los ua lub hauv paus cav / thev naus laus zis uas ua rau cov ntawv thov uas muaj qhov nyuaj nrhiav nta thiab cov kev xav tau.

Ib yam li ntawd, Elasticsearch document yog dab tsi? A ntaub ntawv yog JSON ntaub ntawv uas yog khaws cia rau hauv Elasticsearch . Nws zoo li ib kab hauv ib lub rooj hauv cov ntaub ntawv sib raug zoo. Daim ntawv qhia rau txhua daim teb muaj ib hom teb (tsis txhob totaub nrog ntaub ntawv type) uas qhia txog hom ntaub ntawv uas tuaj yeem khaws cia hauv qhov chaw ntawd, xws li integer, string, object.

Tom qab ntawd, lo lus nug yog, vim li cas thiaj nrhiav elastic sai?

Elasticsearch yog qhov tseeb JSON cov ntaub ntawv khaws cia ua raws li Apache Lucene nrhiav cav. Muaj lwm qhov sib txawv, tau kawg: Lucene yog qhov zoo dua ntawm kev tswj cov lej loj ntawm qhov ntsuas, thiab tuaj yeem tswj qhov ntsuas qhov nyuaj. tshawb nrhiav ntau sai dua tshaj qhov sib piv SQL database tau.

.kibana index yog dab tsi?

qeb index hauv Elasticsearch tseem. Qhov no qhov ntsuas yog tsim thaum koj pib lub Kibana server. Hauv qhov no, qhov ntsuas muaj ob hom ntaub ntawv: config, uas muaj raws nraim ib daim ntawv. 0) thiab nws muaj ib daim teb, buildNum, uas muaj tus lej tsim (piv txwv li 8467) ntawm Kibana tias koj khiav.

Pom zoo: