CYKLO-927 Bump version and fix Operator.AND - its location changed and is now inside QueryParser.
CYKLO-927 Use IndexSearcher instead of Searcher.
CYKLO-927 Retrieve optional according to changes in interface.
CYKLO-927 Wrap code with if checking is optional has value. Fix calls to maxDoc(). It optional is absent then uniqueIds remains as empty collection.
CYKLO-927 Organize imports
CYKLO-927 Rewrite method which deletes documents which contain certain terms. Main change is that IndexReader can no longer delete documents - IndexWriter must be used.
CYKLO-927 Remove unused instance variables. Done automatically so it should not cause any errors.
CYKLO-927 Rewrite method to get duplicate ids. In Lucene 4 the approach to iterate over terms is the following: Firstly you start from iterating Fields. Iteration is across fields in all documents. For each field you can get Terms object and then TermsEnum for iteration over terms. To get Fields  you have at least two options. If you know that IndexReader is AtomicReader then you can cast down to AtomicReader and use its methods AtomicReader#fields. If you don't know that then you can use static methods of MultiFields class to get fields. There are sugar methods in both classes to get terms right away and other info. Look at AtomicReader and MultiFields.
CYKLO-927 Rewrite getIndexedResourceIds. This is example of iteration over each Term in some field (in this case field name is SearchConstants.FIELD_ID).
CYKLO-927 Fix openIndexReader method.
CYKLO-927 Fix getLastCommitUserData method.
CYKLO-927 Rewrite IndexWriter creation using same configuration as before.
CYKLO-927 Completely rewrite PerFieldAnalyzer. Lucene 4 PerFieldAnalyzerWrapper is now final so it cannot be extended. Now PerFieldAnalyzer acts like a builder of analyzer as opposed to analyzer itself.
CYKLO-927 Create PerFieldAnalyzer using factory method.
CYKLO-927 Start rewriting NewlineSeparatedTokenizer. Remove everything and base it on other class - CharTokenizer.
CYKLO-927 Implement NewlineSeparatedTokenizer
CYKLO-927 Move method inside inner class.
CYKLO-927 Change constructor.
CYKLO-927 Implement analyzer.