parameters: (self, database, enquire, start_offset, end_offset)
docstring: A safer version of Xapian.enquire.get_mset
  
          Simply wraps the Xapian version and catches any `Xapian.DatabaseModifiedError`,
          attempting a `database.reopen` as needed.
  
          Required arguments:
              `database` -- The database to be read
              `enquire` -- An instance of an Xapian.enquire object
              `start_offset` -- The start offset to pass to `enquire.get_mset`
              `end_offset` -- The end offset to pass to `enquire.get_mset`
docstring_summary: A safer version of Xapian.enquire.get_mset
docstring_tokens: A safer version of Xapian . enquire . get_mset
function: def _get_enquire_mset(self, database, enquire, start_offset, end_offset):
          """
          A safer version of Xapian.enquire.get_mset
  
          Simply wraps the Xapian version and catches any `Xapian.DatabaseModifiedError`,
          attempting a `database.reopen` as needed.
  
          Required arguments:
              `database` -- The database to be read
              `enquire` -- An instance of an Xapian.enquire object
              `start_offset` -- The start offset to pass to `enquire.get_mset`
              `end_offset` -- The end offset to pass to `enquire.get_mset`
          """
          try:
              return enquire.get_mset(start_offset, end_offset)
          except xapian.DatabaseModifiedError:
              database.reopen()
              return enquire.get_mset(start_offset, end_offset)
function_tokens: def _get_enquire_mset ( self , database , enquire , start_offset , end_offset ) : try : return enquire . get_mset ( start_offset , end_offset ) except xapian . DatabaseModifiedError : database . reopen ( ) return enquire . get_mset ( start_offset , end_offset )