Method: Traject::Indexer#complete
- Defined in:
- lib/traject/indexer.rb
#complete ⇒ Object
Closes the writer (which may flush/save/finalize buffered records), and calls run_after_processing_steps
629 630 631 632 633 634 635 636 |
# File 'lib/traject/indexer.rb', line 629 def complete writer.close if writer.respond_to?(:close) run_after_processing_steps # after an indexer has been completed, it is not really usable anymore, # as the writer has been closed. @completed = true end |