com
.
sksamuel
.
elastic4s
.
requests
indexes
package
indexes
Visibility
Public
All
Type Members
trait
CreateIndexApi
extends
AnyRef
case class
CreateIndexRequest
(
name:
String
,
_analysis:
Option
[
AnalysisDefinition
] =
None
,
analysis:
Option
[
Analysis
] =
None
,
mapping:
Option
[
MappingDefinition
] =
None
,
rawSource:
Option
[
String
] =
None
,
waitForActiveShards:
Option
[
Int
] =
None
,
aliases:
Set
[
IndexAliasRequest
] =
Set.empty
,
settings:
IndexSettings
=
new IndexSettings
,
includeTypeName:
Option
[
Boolean
] =
None
)
extends
Product
with
Serializable
case class
CreateIndexResponse
(
acknowledged:
Boolean
,
shards_acknowledged:
Boolean
)
extends
Product
with
Serializable
case class
CreateIndexTemplateRequest
(
name:
String
,
pattern:
String
,
settings:
Map
[
String
,
Any
] =
Map.empty
,
mappings:
Seq
[
MappingDefinition
] =
Nil
,
analysis:
Option
[
AnalysisDefinition
] =
None
,
order:
Option
[
Int
] =
None
,
version:
Option
[
Int
] =
None
,
create:
Option
[
Boolean
] =
None
,
aliases:
Seq
[
TemplateAlias
] =
Nil
)
extends
Product
with
Serializable
case class
CreateIndexTemplateResponse
(
acknowledged:
Boolean
)
extends
Product
with
Serializable
trait
DeleteIndexApi
extends
AnyRef
case class
DeleteIndexRequest
(
indexes:
Seq
[
String
]
)
extends
Product
with
Serializable
case class
DeleteIndexTemplateRequest
(
name:
String
)
extends
Product
with
Serializable
case class
DeleteIndexTemplateResponse
()
extends
Product
with
Serializable
case class
Docs
(
count:
Long
,
deleted:
Long
)
extends
Product
with
Serializable
trait
ExistsHandlers
extends
AnyRef
case class
Field
(
type:
String
)
extends
Product
with
Serializable
case class
Get
(
total:
Long
,
timeInMillis:
Long
,
existsTotal:
Long
,
existsTimeInMillis:
Long
,
missingTotal:
Long
,
missingTimeInMillis:
Long
,
current:
Long
)
extends
Product
with
Serializable
case class
GetIndexRequest
(
index:
String
)
extends
Product
with
Serializable
case class
GetIndexResponse
(
aliases:
Map
[
String
,
Map
[
String
,
Any
]]
,
mappings:
Mapping
,
_settings:
Map
[
String
,
Any
]
)
extends
Product
with
Serializable
case class
GetIndexTemplateRequest
(
indexes:
Indexes
)
extends
Product
with
Serializable
case class
GetIndexTemplates
(
templates:
Map
[
String
,
IndexTemplate
]
)
extends
Product
with
Serializable
case class
IndexAliasRequest
(
name:
String
,
filter:
Option
[
Query
] =
None
,
routing:
Option
[
String
] =
None
)
extends
Product
with
Serializable
trait
IndexApi
extends
AnyRef
trait
IndexHandlers
extends
AnyRef
case class
IndexMappings
(
index:
String
,
mappings:
Map
[
String
,
Any
]
)
extends
Product
with
Serializable
case class
IndexRequest
(
index:
Index
,
id:
Option
[
String
] =
None
,
createOnly:
Option
[
Boolean
] =
None
,
refresh:
Option
[
RefreshPolicy
] =
None
,
parent:
Option
[
String
] =
None
,
pipeline:
Option
[
String
] =
None
,
routing:
Option
[
String
] =
None
,
timeout:
Option
[
String
] =
None
,
version:
Option
[
Long
] =
None
,
ifSeqNo:
Option
[
Long
] =
None
,
ifPrimaryTerm:
Option
[
Long
] =
None
,
versionType:
Option
[
VersionType
] =
None
,
fields:
Seq
[
FieldValue
] =
Nil
,
source:
Option
[
String
] =
None
)
extends
BulkCompatibleRequest
with
Product
with
Serializable
case class
IndexResponse
(
id:
String
,
index:
String
,
type:
String
,
version:
Long
,
seqNo:
Long
,
primaryTerm:
Long
,
result:
String
,
forcedRefresh:
Boolean
,
shards:
Shards
)
extends
Product
with
Serializable
class
IndexSettings
extends
AnyRef
case class
IndexStatsGroup
(
primaries:
Stats
,
total:
Stats
)
extends
Product
with
Serializable
trait
IndexStatsHandlers
extends
AnyRef
case class
IndexStatsResponse
(
all:
IndexStatsGroup
,
indices:
Map
[
String
,
IndexStatsGroup
]
)
extends
Product
with
Serializable
case class
IndexTemplate
(
order:
Int
,
indexPatterns:
Seq
[
String
]
,
settings:
Map
[
String
,
Any
]
,
mappings:
Map
[
String
,
Any
]
,
aliases:
Map
[
String
,
Any
]
)
extends
Product
with
Serializable
trait
IndexTemplateApi
extends
AnyRef
case class
IndexTemplateExists
()
extends
Product
with
Serializable
case class
IndexTemplateExistsRequest
()
extends
Product
with
Serializable
trait
IndexTemplateHandlers
extends
AnyRef
case class
Indexing
(
indexTotal:
Long
,
indexTimeInMillis:
Long
,
indexCurrent:
Long
,
indexFailed:
Long
,
deleteTotal:
Long
,
deleteTimeInMillis:
Long
,
deleteCurrent:
Long
,
noopUpdateTotal:
Long
,
isThrottled:
Long
,
throttleTimeInMillis:
Long
)
extends
Product
with
Serializable
case class
Mapping
(
properties:
Map
[
String
,
Field
]
,
meta:
Map
[
String
,
String
] =
Map.empty
)
extends
Product
with
Serializable
trait
MappingHandlers
extends
AnyRef
case class
Merges
(
current:
Long
,
currentDocs:
Long
,
currentSizeInBytes:
Long
,
total:
Long
,
totalTimeInMillis:
Long
,
totalDocs:
Long
,
totalSizeInBytes:
Long
,
totalStoppedTimeInMillis:
Long
,
totalThrottledTimeInMillis:
Long
,
totalAutoThrottleInBytes:
Long
)
extends
Product
with
Serializable
case class
PutMappingResponse
(
acknowledged:
Boolean
)
extends
Product
with
Serializable
case class
QueryCache
(
memorySizeInBytes:
Long
,
totalCount:
Long
,
hitCount:
Long
,
missCount:
Long
,
cacheSize:
Long
,
cacheCount:
Long
,
evictions:
Long
)
extends
Product
with
Serializable
case class
Recovery
(
currentAsSource:
Long
,
currentAsTarget:
Long
,
throttleTimeInMillis:
Long
)
extends
Product
with
Serializable
case class
RequestCache
(
memorySizeInBytes:
Long
,
evictions:
Long
,
hitCount:
Long
,
missCount:
Long
)
extends
Product
with
Serializable
trait
RolloverHandlers
extends
AnyRef
case class
RolloverResponse
(
oldIndex:
String
,
newIndex:
String
,
rolledOver:
Boolean
,
dryRun:
Boolean
,
acknowledged:
Boolean
,
shardsAcknowledged:
Boolean
,
conditions:
Map
[
String
,
Boolean
]
)
extends
Product
with
Serializable
case class
Search
(
openContexts:
Long
,
queryTotal:
Long
,
queryTimeInMillis:
Long
,
queryCurrent:
Long
,
fetchTotal:
Long
,
fetchTimeInMillis:
Long
,
fetchCurrent:
Long
,
scrollTotal:
Long
,
scrollTimeInMillis:
Long
,
scrollCurrent:
Long
,
suggestTotal:
Long
,
suggestTimeInMillis:
Long
,
suggestCurrent:
Long
)
extends
Product
with
Serializable
case class
Segments
(
count:
Long
,
memoryInBytes:
Long
,
termsMemoryInBytes:
Long
,
storedFieldsMemoryInBytes:
Long
,
termVectorsMemoryInBytes:
Long
,
normsMemoryInBytes:
Long
,
pointsMemoryInBytes:
Long
,
docValuesMemoryInBytes:
Long
,
indexWriterMemoryInBytes:
Long
,
versionMapMemoryInBytes:
Long
,
fixedBitSetMemoryInBytes:
Long
,
maxUnsafeAutoIdTimestamp:
Long
)
extends
Product
with
Serializable
case class
Stats
(
docs:
Docs
,
store:
Store
,
get:
Get
,
search:
Search
,
merges:
Merges
,
segments:
Segments
,
requestCache:
RequestCache
,
queryCache:
QueryCache
,
recovery:
Recovery
,
translog:
TransLog
)
extends
Product
with
Serializable
case class
Store
(
sizeInBytes:
Long
)
extends
Product
with
Serializable
case class
TemplateAlias
(
name:
String
,
filter:
Option
[
Query
] =
None
,
routing:
Option
[
String
] =
None
)
extends
Product
with
Serializable
case class
TransLog
(
operations:
Long
,
sizeInBytes:
Long
,
uncommittedOperations:
Long
,
uncommittedSizeInBytes:
Long
)
extends
Product
with
Serializable
case class
AnalysisDefinition
(
analyzers:
Iterable
[
AnalyzerDefinition
]
,
normalizers:
Iterable
[
NormalizerDefinition
]
)
extends
Product
with
Serializable
Annotations
@deprecated
Deprecated
(Since version 7.0.1)
use new analysis package
Value Members
object
CreateIndexContentBuilder
object
CreateIndexTemplateBodyFn
object
IndexContentBuilder
object
PutMappingBuilderFn
object
UpdateIndexLevelSettingsBuilder
object
VersionTypeHttpString
package
admin
package
alias
Deprecated Value Members
object
AnalysisBuilderFn
Annotations
@deprecated
Deprecated
(Since version 7.0.1)
use new analysis package
Ungrouped
(Since version 7.0.1) use new analysis package