Module: Hyrax::V2GraphIndexer::CollectionNestingDecorator

Defined in:
lib/hyrax/v2_graph_indexer.rb

Overview

This module is responsible for shadowing the methods of Hyrax::CollectionIndexing; we can't easily replace the inclusion of that module. However we can override it's behavior.

Instance Method Summary collapse

Instance Method Details

#after_update_nested_collection_relationship_indicesObject



58
59
60
# File 'lib/hyrax/v2_graph_indexer.rb', line 58

def after_update_nested_collection_relationship_indices
  true
end

#before_update_nested_collection_relationship_indicesObject



54
55
56
# File 'lib/hyrax/v2_graph_indexer.rb', line 54

def before_update_nested_collection_relationship_indices
  true
end

#find_children_ofObject



70
71
72
# File 'lib/hyrax/v2_graph_indexer.rb', line 70

def find_children_of(*)
  true
end

#reindex_extentObject



78
79
80
# File 'lib/hyrax/v2_graph_indexer.rb', line 78

def reindex_extent
  true
end

#reindex_extent=(val) ⇒ Object



82
83
84
# File 'lib/hyrax/v2_graph_indexer.rb', line 82

def reindex_extent=(val)
  @reindex_extent = val
end

#update_child_nested_collection_relationship_indicesObject



66
67
68
# File 'lib/hyrax/v2_graph_indexer.rb', line 66

def update_child_nested_collection_relationship_indices
  true
end

#update_nested_collection_relationship_indicesObject



62
63
64
# File 'lib/hyrax/v2_graph_indexer.rb', line 62

def update_nested_collection_relationship_indices
  true
end

#use_nested_reindexing?Boolean

Returns:



74
75
76
# File 'lib/hyrax/v2_graph_indexer.rb', line 74

def use_nested_reindexing?
  true
end