Crete index object when needed
delete_by_id is also pseudo public. Force index build

FIXME: refactor IndexInstance to either receive index as dependency or
lazy build it on each public method.
Merge pull request #7 from AlexParamonov/fix/undefined_method_documents_for_nil_class

Create index object when needed