class SearchIngest::Table(T)
- SearchIngest::Table(T)
- PlaceOS::Resource(T)
- Reference
- Object
Included Modules
Defined in:
search-ingest/table.crConstructors
Instance Method Summary
-
#backfill : Bool
Backfills from a table to all relevent indices
- #consistent_index?
-
#create_index
Applies a schema to an index in elasticsearch
-
#load_resources
Override
#load_resources
in favour of the batching provided by#backfill
-
#mapping_conflict?
Diff the current mapping schema (if any) against provided mapping schema
-
#on_reconnect
Callback called when changefeed is reconnected
- #process_resource(action : PlaceOS::Resource::Action, resource model : T) : PlaceOS::Resource::Result
-
#reindex : Bool
Clear, update mapping an ES index and refill with PostgreSQL records
- #schema_data : Schemas
Instance methods inherited from module SearchIngest::Table::Interface
backfill
backfill,
consistent_index?
consistent_index?,
reindex
reindex,
start
start,
stop
stop
Constructor Detail
Instance Method Detail
def on_reconnect
#
Description copied from class PlaceOS::Resource(T)
Callback called when changefeed is reconnected
def process_resource(action : PlaceOS::Resource::Action, resource model : T) : PlaceOS::Resource::Result
#