OpenBitSet was removed from Lucene 5.0 as noted in LUCENE-6010, but the class is still used in the documentation:
Example 5.21. Defining and implementing a Filter
Please migrate the example in the documentation to the current Lucene API.