title: Turn off indexing in hibernate search
body: <p>I have hibernate search set-up and it's (re-)indexing my annotated entities up on commit just fine.</p>
  
  <p>But I have a number of integration tests which have only partially initilzed data. Since this is throwing exceptions when hibernate search tries to index this objects, I'd prefer to completely switch off the indexing (or hibernate search) for this tests.</p>
  
  <p>I already tried to not set <code>hibernate.search.default.indexBase</code> and <code>hibernate.search.default.directory_provider</code> for the tests. But this didn't help.</p>
  
  <p>How can I switch off hibernate search indexing?</p>