C# 클래스 ElasticSearch.Client.ElasticSearchClient

ElasticSearch.Client license:Apache2 author:medcl url:http://log.medcl.net
파일 보기 프로젝트 열기: cinchcast/ElasticSearch.Net 1 사용 예제들

공개 메소드들

메소드 설명
Analyze ( string indexName, string analyzer, string text, string format ) : string
Bulk ( IList bulkObjects ) : ElasticSearch.Client.Domain.OperateResult
CloseIndex ( string index ) : ElasticSearch.Client.Domain.OperateResult
Count ( string queryString ) : int
Count ( string index, string queryString ) : int
Count ( string index, string type, ElasticSearch.Client.QueryString.Conditional conditional ) : int
Count ( string index, string type, ElasticSearch.Client.QueryString.ExpressionEx expression ) : int
Count ( string index, string type, string queryString ) : int
CreateIndex ( string index ) : ElasticSearch.Client.Domain.OperateResult
CreateIndex ( string index, ElasticSearch.Client.Domain.IndexSetting indexSetting ) : ElasticSearch.Client.Domain.OperateResult
CreateTemplate ( string templateName, ElasticSearch.Client.Domain.TemplateSetting template ) : ElasticSearch.Client.Domain.OperateResult
Delete ( string indexName, string indexType, string>.List keyParentPairs ) : ElasticSearch.Client.Domain.OperateResult
Delete ( string index, string type, string indexKey ) : ElasticSearch.Client.Domain.OperateResult
Delete ( string indexName, string indexType, string objectKeys, string routing = null ) : ElasticSearch.Client.Domain.OperateResult
DeleteByQueryString ( string index, string queryString ) : ElasticSearch.Client.Domain.OperateResult
DeleteByQueryString ( string index, string type, string queryString ) : ElasticSearch.Client.Domain.OperateResult

DeleteByQuery

DeleteIndex ( string index ) : ElasticSearch.Client.Domain.OperateResult
DeleteTemplate ( string templateName ) : ElasticSearch.Client.Domain.OperateResult
ElasticSearchClient ( string clusterName ) : System.Collections.Generic
ElasticSearchClient ( string host, int port, TransportType transportType, bool isframed = false ) : System.Collections.Generic
Flush ( ) : ElasticSearch.Client.Domain.OperateResult
Get ( string index, string type, string indexKey, string routing = null ) : ElasticSearch.Client.Domain.Document
GetIndexDocStatus ( string index ) : ElasticSearch.Client.Admin.DocStatus
GetIndices ( ) : List
GetMapping ( string index ) : string
GetTemplate ( string templateName ) : TemplateSetting>.Dictionary
Index ( string index, IEnumerable indexItems ) : ElasticSearch.Client.Domain.OperateResult
Index ( string index, ElasticSearch.Client.Domain.IndexItem indexItem ) : ElasticSearch.Client.Domain.OperateResult
Index ( string index, string type, string indexKey, object>.Dictionary dictionary, string parentKey = null ) : ElasticSearch.Client.Domain.OperateResult
Index ( string index, string type, string indexKey, string jsonData, string parentKey = null ) : ElasticSearch.Client.Domain.OperateResult
ModifyIndex ( string index, ElasticSearch.Client.Domain.IndexSetting indexSetting ) : ElasticSearch.Client.Domain.OperateResult
OpenIndex ( string index ) : ElasticSearch.Client.Domain.OperateResult
Optimize ( ) : ElasticSearch.Client.Domain.OperateResult
PartialUpdate ( string index, string type, string indexKey, string jsonData, string routing = null ) : bool
PutMapping ( string index, ElasticSearch.Client.Mapping.TypeSetting typeSetting ) : ElasticSearch.Client.Domain.OperateResult
PutMapping ( string index, string type, string typeJson ) : ElasticSearch.Client.Domain.OperateResult
Refresh ( ) : ElasticSearch.Client.Domain.OperateResult
Search ( string url ) : ElasticSearch.Client.Domain.SearchResult
Search ( string index, ElasticQuery elasticQuery ) : ElasticSearch.Client.Domain.SearchResult
Search ( string index, string type, ElasticSearch.Client.QueryString.Conditional conditional, int from, int size ) : ElasticSearch.Client.Domain.SearchResult
Search ( string index, string type, ElasticQuery elasticQuery ) : ElasticSearch.Client.Domain.SearchResult
Search ( string index, string type, ElasticSearch.Client.QueryString.ExpressionEx expression, int from, int size ) : ElasticSearch.Client.Domain.SearchResult
Search ( string index, string type, IQuery query, ElasticSearch.Client.QueryDSL.SortItem sortItem, int from, int size = 5, string fields = null ) : ElasticSearch.Client.Domain.SearchResult
Search ( string index, string type, IQuery query, int from, int size = 5 ) : ElasticSearch.Client.Domain.SearchResult
Search ( string index, string queryString, int from, int size ) : ElasticSearch.Client.Domain.SearchResult

搜索index下所有type

Search ( string index, string queryString, int from, int size, string sortString ) : ElasticSearch.Client.Domain.SearchResult
Search ( string index, string type, string queryString ) : ElasticSearch.Client.Domain.SearchResult
Search ( string index, string type, string queryString, int size ) : ElasticSearch.Client.Domain.SearchResult
Search ( string index, string type, string queryString, int from, int size ) : ElasticSearch.Client.Domain.SearchResult
Search ( string index, string type, string queryString, string sortString, int from, int size ) : ElasticSearch.Client.Domain.SearchResult
Search ( string index, string type, string queryString, string sortString, string fields, int from, int size ) : ElasticSearch.Client.Domain.SearchResult
SearchIds ( string index, string type, ElasticSearch.Client.QueryString.Conditional conditional, string sortString, int from, int size ) : List
SearchIds ( string index, string type, string queryString, string sortString, int from, int size ) : List
Status ( ) : ClusterIndexStatus

비공개 메소드들

메소드 설명
DeleteByQueryString ( string queryString ) : ElasticSearch.Client.Domain.OperateResult

be careful,influence all indicies

GetOperationResult ( ElasticSearch.Client.Transport.IDL.RestResponse result ) : ElasticSearch.Client.Domain.OperateResult

메소드 상세

Analyze() 공개 메소드

public Analyze ( string indexName, string analyzer, string text, string format ) : string
indexName string
analyzer string
text string
format string
리턴 string

Bulk() 공개 메소드

public Bulk ( IList bulkObjects ) : ElasticSearch.Client.Domain.OperateResult
bulkObjects IList
리턴 ElasticSearch.Client.Domain.OperateResult

CloseIndex() 공개 메소드

public CloseIndex ( string index ) : ElasticSearch.Client.Domain.OperateResult
index string
리턴 ElasticSearch.Client.Domain.OperateResult

Count() 공개 메소드

public Count ( string queryString ) : int
queryString string
리턴 int

Count() 공개 메소드

public Count ( string index, string queryString ) : int
index string
queryString string
리턴 int

Count() 공개 메소드

public Count ( string index, string type, ElasticSearch.Client.QueryString.Conditional conditional ) : int
index string
type string
conditional ElasticSearch.Client.QueryString.Conditional
리턴 int

Count() 공개 메소드

public Count ( string index, string type, ElasticSearch.Client.QueryString.ExpressionEx expression ) : int
index string
type string
expression ElasticSearch.Client.QueryString.ExpressionEx
리턴 int

Count() 공개 메소드

public Count ( string index, string type, string queryString ) : int
index string
type string
queryString string
리턴 int

CreateIndex() 공개 메소드

public CreateIndex ( string index ) : ElasticSearch.Client.Domain.OperateResult
index string
리턴 ElasticSearch.Client.Domain.OperateResult

CreateIndex() 공개 메소드

public CreateIndex ( string index, ElasticSearch.Client.Domain.IndexSetting indexSetting ) : ElasticSearch.Client.Domain.OperateResult
index string
indexSetting ElasticSearch.Client.Domain.IndexSetting
리턴 ElasticSearch.Client.Domain.OperateResult

CreateTemplate() 공개 메소드

public CreateTemplate ( string templateName, ElasticSearch.Client.Domain.TemplateSetting template ) : ElasticSearch.Client.Domain.OperateResult
templateName string
template ElasticSearch.Client.Domain.TemplateSetting
리턴 ElasticSearch.Client.Domain.OperateResult

Delete() 공개 메소드

public Delete ( string indexName, string indexType, string>.List keyParentPairs ) : ElasticSearch.Client.Domain.OperateResult
indexName string
indexType string
keyParentPairs string>.List
리턴 ElasticSearch.Client.Domain.OperateResult

Delete() 공개 메소드

public Delete ( string index, string type, string indexKey ) : ElasticSearch.Client.Domain.OperateResult
index string
type string
indexKey string
리턴 ElasticSearch.Client.Domain.OperateResult

Delete() 공개 메소드

public Delete ( string indexName, string indexType, string objectKeys, string routing = null ) : ElasticSearch.Client.Domain.OperateResult
indexName string
indexType string
objectKeys string
routing string
리턴 ElasticSearch.Client.Domain.OperateResult

DeleteByQueryString() 공개 메소드

public DeleteByQueryString ( string index, string queryString ) : ElasticSearch.Client.Domain.OperateResult
index string
queryString string
리턴 ElasticSearch.Client.Domain.OperateResult

DeleteByQueryString() 공개 메소드

DeleteByQuery
public DeleteByQueryString ( string index, string type, string queryString ) : ElasticSearch.Client.Domain.OperateResult
index string
type string
queryString string user:kimchy
리턴 ElasticSearch.Client.Domain.OperateResult

DeleteIndex() 공개 메소드

public DeleteIndex ( string index ) : ElasticSearch.Client.Domain.OperateResult
index string
리턴 ElasticSearch.Client.Domain.OperateResult

DeleteTemplate() 공개 메소드

public DeleteTemplate ( string templateName ) : ElasticSearch.Client.Domain.OperateResult
templateName string
리턴 ElasticSearch.Client.Domain.OperateResult

ElasticSearchClient() 공개 메소드

public ElasticSearchClient ( string clusterName ) : System.Collections.Generic
clusterName string
리턴 System.Collections.Generic

ElasticSearchClient() 공개 메소드

public ElasticSearchClient ( string host, int port, TransportType transportType, bool isframed = false ) : System.Collections.Generic
host string
port int
transportType TransportType
isframed bool
리턴 System.Collections.Generic

Flush() 공개 메소드

public Flush ( ) : ElasticSearch.Client.Domain.OperateResult
리턴 ElasticSearch.Client.Domain.OperateResult

Get() 공개 메소드

public Get ( string index, string type, string indexKey, string routing = null ) : ElasticSearch.Client.Domain.Document
index string
type string
indexKey string
routing string
리턴 ElasticSearch.Client.Domain.Document

GetIndexDocStatus() 공개 메소드

public GetIndexDocStatus ( string index ) : ElasticSearch.Client.Admin.DocStatus
index string
리턴 ElasticSearch.Client.Admin.DocStatus

GetIndices() 공개 메소드

public GetIndices ( ) : List
리턴 List

GetMapping() 공개 메소드

public GetMapping ( string index ) : string
index string
리턴 string

GetTemplate() 공개 메소드

public GetTemplate ( string templateName ) : TemplateSetting>.Dictionary
templateName string
리턴 TemplateSetting>.Dictionary

Index() 공개 메소드

public Index ( string index, IEnumerable indexItems ) : ElasticSearch.Client.Domain.OperateResult
index string
indexItems IEnumerable
리턴 ElasticSearch.Client.Domain.OperateResult

Index() 공개 메소드

public Index ( string index, ElasticSearch.Client.Domain.IndexItem indexItem ) : ElasticSearch.Client.Domain.OperateResult
index string
indexItem ElasticSearch.Client.Domain.IndexItem
리턴 ElasticSearch.Client.Domain.OperateResult

Index() 공개 메소드

public Index ( string index, string type, string indexKey, object>.Dictionary dictionary, string parentKey = null ) : ElasticSearch.Client.Domain.OperateResult
index string
type string
indexKey string
dictionary object>.Dictionary
parentKey string
리턴 ElasticSearch.Client.Domain.OperateResult

Index() 공개 메소드

public Index ( string index, string type, string indexKey, string jsonData, string parentKey = null ) : ElasticSearch.Client.Domain.OperateResult
index string
type string
indexKey string
jsonData string
parentKey string
리턴 ElasticSearch.Client.Domain.OperateResult

ModifyIndex() 공개 메소드

public ModifyIndex ( string index, ElasticSearch.Client.Domain.IndexSetting indexSetting ) : ElasticSearch.Client.Domain.OperateResult
index string
indexSetting ElasticSearch.Client.Domain.IndexSetting
리턴 ElasticSearch.Client.Domain.OperateResult

OpenIndex() 공개 메소드

public OpenIndex ( string index ) : ElasticSearch.Client.Domain.OperateResult
index string
리턴 ElasticSearch.Client.Domain.OperateResult

Optimize() 공개 메소드

public Optimize ( ) : ElasticSearch.Client.Domain.OperateResult
리턴 ElasticSearch.Client.Domain.OperateResult

PartialUpdate() 공개 메소드

public PartialUpdate ( string index, string type, string indexKey, string jsonData, string routing = null ) : bool
index string
type string
indexKey string
jsonData string
routing string
리턴 bool

PutMapping() 공개 메소드

public PutMapping ( string index, ElasticSearch.Client.Mapping.TypeSetting typeSetting ) : ElasticSearch.Client.Domain.OperateResult
index string
typeSetting ElasticSearch.Client.Mapping.TypeSetting
리턴 ElasticSearch.Client.Domain.OperateResult

PutMapping() 공개 메소드

public PutMapping ( string index, string type, string typeJson ) : ElasticSearch.Client.Domain.OperateResult
index string
type string
typeJson string
리턴 ElasticSearch.Client.Domain.OperateResult

Refresh() 공개 메소드

public Refresh ( ) : ElasticSearch.Client.Domain.OperateResult
리턴 ElasticSearch.Client.Domain.OperateResult

Search() 공개 메소드

public Search ( string url ) : ElasticSearch.Client.Domain.SearchResult
url string
리턴 ElasticSearch.Client.Domain.SearchResult

Search() 공개 메소드

public Search ( string index, ElasticQuery elasticQuery ) : ElasticSearch.Client.Domain.SearchResult
index string
elasticQuery ElasticQuery
리턴 ElasticSearch.Client.Domain.SearchResult

Search() 공개 메소드

public Search ( string index, string type, ElasticSearch.Client.QueryString.Conditional conditional, int from, int size ) : ElasticSearch.Client.Domain.SearchResult
index string
type string
conditional ElasticSearch.Client.QueryString.Conditional
from int
size int
리턴 ElasticSearch.Client.Domain.SearchResult

Search() 공개 메소드

public Search ( string index, string type, ElasticQuery elasticQuery ) : ElasticSearch.Client.Domain.SearchResult
index string
type string
elasticQuery ElasticQuery
리턴 ElasticSearch.Client.Domain.SearchResult

Search() 공개 메소드

public Search ( string index, string type, ElasticSearch.Client.QueryString.ExpressionEx expression, int from, int size ) : ElasticSearch.Client.Domain.SearchResult
index string
type string
expression ElasticSearch.Client.QueryString.ExpressionEx
from int
size int
리턴 ElasticSearch.Client.Domain.SearchResult

Search() 공개 메소드

public Search ( string index, string type, IQuery query, ElasticSearch.Client.QueryDSL.SortItem sortItem, int from, int size = 5, string fields = null ) : ElasticSearch.Client.Domain.SearchResult
index string
type string
query IQuery
sortItem ElasticSearch.Client.QueryDSL.SortItem
from int
size int
fields string
리턴 ElasticSearch.Client.Domain.SearchResult

Search() 공개 메소드

public Search ( string index, string type, IQuery query, int from, int size = 5 ) : ElasticSearch.Client.Domain.SearchResult
index string
type string
query IQuery
from int
size int
리턴 ElasticSearch.Client.Domain.SearchResult

Search() 공개 메소드

搜索index下所有type
public Search ( string index, string queryString, int from, int size ) : ElasticSearch.Client.Domain.SearchResult
index string
queryString string
from int
size int
리턴 ElasticSearch.Client.Domain.SearchResult

Search() 공개 메소드

public Search ( string index, string queryString, int from, int size, string sortString ) : ElasticSearch.Client.Domain.SearchResult
index string
queryString string
from int
size int
sortString string
리턴 ElasticSearch.Client.Domain.SearchResult

Search() 공개 메소드

public Search ( string index, string type, string queryString ) : ElasticSearch.Client.Domain.SearchResult
index string
type string
queryString string
리턴 ElasticSearch.Client.Domain.SearchResult

Search() 공개 메소드

public Search ( string index, string type, string queryString, int size ) : ElasticSearch.Client.Domain.SearchResult
index string
type string
queryString string
size int
리턴 ElasticSearch.Client.Domain.SearchResult

Search() 공개 메소드

public Search ( string index, string type, string queryString, int from, int size ) : ElasticSearch.Client.Domain.SearchResult
index string
type string
queryString string
from int
size int
리턴 ElasticSearch.Client.Domain.SearchResult

Search() 공개 메소드

public Search ( string index, string type, string queryString, string sortString, int from, int size ) : ElasticSearch.Client.Domain.SearchResult
index string
type string
queryString string
sortString string
from int
size int
리턴 ElasticSearch.Client.Domain.SearchResult

Search() 공개 메소드

public Search ( string index, string type, string queryString, string sortString, string fields, int from, int size ) : ElasticSearch.Client.Domain.SearchResult
index string
type string
queryString string
sortString string
fields string
from int
size int
리턴 ElasticSearch.Client.Domain.SearchResult

SearchIds() 공개 메소드

public SearchIds ( string index, string type, ElasticSearch.Client.QueryString.Conditional conditional, string sortString, int from, int size ) : List
index string
type string
conditional ElasticSearch.Client.QueryString.Conditional
sortString string
from int
size int
리턴 List

SearchIds() 공개 메소드

public SearchIds ( string index, string type, string queryString, string sortString, int from, int size ) : List
index string
type string
queryString string
sortString string
from int
size int
리턴 List

Status() 공개 메소드

public Status ( ) : ClusterIndexStatus
리턴 ClusterIndexStatus