Module: AtlasEngine::Elasticsearch::RepositoryInterface

Extended by:
T::Helpers, T::Sig
Included in:
Repository
Defined in:
app/models/atlas_engine/elasticsearch/repository_interface.rb

Constant Summary collapse

PostAddressData =
T.type_alias { T.any(PostAddress, T::Hash[Symbol, T.untyped]) }

Instance Method Summary collapse

Instance Method Details

#active_aliasObject



29
30
31
# File 'app/models/atlas_engine/elasticsearch/repository_interface.rb', line 29

def active_alias
  base_alias_name
end

#analyze(query) ⇒ Object



76
# File 'app/models/atlas_engine/elasticsearch/repository_interface.rb', line 76

def analyze(query); end

#archived_aliasObject



24
25
26
# File 'app/models/atlas_engine/elasticsearch/repository_interface.rb', line 24

def archived_alias
  "#{base_alias_name}.archive"
end

#base_alias_nameObject



45
# File 'app/models/atlas_engine/elasticsearch/repository_interface.rb', line 45

def base_alias_name; end

#create_next_index(ensure_clean: false, raise_errors: false) ⇒ Object



53
# File 'app/models/atlas_engine/elasticsearch/repository_interface.rb', line 53

def create_next_index(ensure_clean: false, raise_errors: false); end

#find(id) ⇒ Object



73
# File 'app/models/atlas_engine/elasticsearch/repository_interface.rb', line 73

def find(id); end

#initialize(index_base_name:, index_settings:, index_mappings:, mapper_callable:) ⇒ Object



21
# File 'app/models/atlas_engine/elasticsearch/repository_interface.rb', line 21

def initialize(index_base_name:, index_settings:, index_mappings:, mapper_callable:); end

#new_aliasObject



34
35
36
# File 'app/models/atlas_engine/elasticsearch/repository_interface.rb', line 34

def new_alias
  "#{base_alias_name}.new"
end

#read_alias_nameObject



39
# File 'app/models/atlas_engine/elasticsearch/repository_interface.rb', line 39

def read_alias_name; end

#record_source(record) ⇒ Object



42
# File 'app/models/atlas_engine/elasticsearch/repository_interface.rb', line 42

def record_source(record); end

#save_records_backfill(records) ⇒ Object



67
# File 'app/models/atlas_engine/elasticsearch/repository_interface.rb', line 67

def save_records_backfill(records); end

#search(query) ⇒ Object



70
# File 'app/models/atlas_engine/elasticsearch/repository_interface.rb', line 70

def search(query); end

#switch_to_next_index(raise_errors: false) ⇒ Object



60
# File 'app/models/atlas_engine/elasticsearch/repository_interface.rb', line 60

def switch_to_next_index(raise_errors: false); end

#term_vectors(query) ⇒ Object



79
# File 'app/models/atlas_engine/elasticsearch/repository_interface.rb', line 79

def term_vectors(query); end