@Override
  public void toData(DataOutput out,
      SerializationContext context) throws IOException {
    DataSerializer.writeString(query, out);
    DataSerializer.writeString(defaultField, out);
  }
@return the query string used to construct this query provider
geode-lucene/src/main/java/org/apache/geode/cache/lucene/internal/StringQueryProvider.java