@Override
  public boolean equals(Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }

    LuceneTestSerializer that = (LuceneTestSerializer) o;

    return props.equals(that.props);
  }
A Test LuceneSerializer that takes properties during construction (init)
geode-lucene/geode-lucene-test/src/main/java/org/apache/geode/cache/lucene/test/LuceneTestSerializer.java