@Override
  public void toData(DataOutput out,
      SerializationContext context) throws IOException {
    context.getSerializer().writeObject(key, out);
    out.writeFloat(score);
  }
Holds one entry matching search query and its metadata

@param <K> the type of the key
geode-lucene/src/main/java/org/apache/geode/cache/lucene/internal/distributed/EntryScore.java