To get full access to the Kademi Hub existing customers can login here, or new customers can register here.
This is the goto object for text search and analytics using elasticsearch
Properties
Name | Returns | Notes | Example |
---|---|---|---|
appIndexers | Map | ||
recentQueries | List | Returns a List of the 50 most recent queries for the current tenant, across the whole account, but for this server | |
currentRequestQueries | List | Returns a list of the most recent 50 ES queries for the current HTTP request | |
elasticSearchManager | ElasticSearchManager |
Methods
Name | Returns | Notes | Example |
---|---|---|---|
numItems ( i, organisation, b ) | long | ||
numItems ( localName, organisation ) | Long | Get the number of items for the entire index | |
search ( json, indexes ) | KSearchResponse | Execute a json query in the current organisation, against the specified local index names | |
findDoc ( docId, ai ) | JSONObject | ||
search ( indexers, branch, bb ) | KSearchResponse | ||
search ( indexers, org, b, qb, fields, size, type, sortBuilders ) | KSearchResponse | ||
search ( organisation, branch, currentUser, config ) | SearchResults | ||
search ( name, organisation, q, limit ) | KSearchResponse | ||
newOmniSearchRequest ( phrase ) | OmniSearchRequest | ||
omniSearch ( searchPhrase, pageSize, pageNum ) | OmniResult | Do omnisearch | |
omniSearch ( searchRequest, pageSize, pageNum ) | OmniResult | ||
omniSearchAggs ( searchRequest ) | KSearchResponse |