class LuckySearch::RecordIndexer

Defined in:

lucky_search/record_indexer.cr

Constant Summary

Log = Log.for(self)

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(document_name : String, id : Int64 | UUID, search_data) #

[View source]
def self.new(document_name : String) #

[View source]

Class Method Detail

def self.document_name(klass : Class) : String #

[View source]
def self.index(klass : Class, id, search_data) #

[View source]
def self.remove(klass : Class, id, search_data) #

[View source]

Instance Method Detail

def client : Client #

[View source]
def create_index #

[View source]
def document_name : String #

[View source]
def id : Int64 | UUID #

[View source]
def index_document #

[View source]
def index_record #

[View source]
def remove_record #

[View source]
def search_data : Hash(String, SearchValue) #

the data to index


[View source]