Method: Estraier::Database#optimize
- Defined in:
- lib/estraier/estraier-doc.rb
#optimize(options) ⇒ Object
Optimize the database. ‘options’ specifies options: ‘Database::OPTNOPURGE’ to omit purging dispensable region of deleted documents, ‘Database::OPTNODBOPT’ to omit optimization of the database files. The two can be specified at the same time by bitwise or. The return value is true if success, else it is false.
478 479 480 |
# File 'lib/estraier/estraier-doc.rb', line 478 def optimize() # native code ... end |