Breaking changes to the `IndexWriter`, adding `Query`. Still feels awkward, still not tested.