org.infinispan.query.clustered.ISPNEagerTopDocs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of infinispan-embedded-query
Show all versions of infinispan-embedded-query
Infinispan Embedded Query All-in-One module
package org.infinispan.query.clustered;
import org.apache.lucene.search.TopDocs;
/**
* ISPNEagerTopDocs.
*
* A TopDocs with an array with keys of each result.
*
* @author Israel Lacerra
* @since 5.1
*/
public class ISPNEagerTopDocs extends TopDocs {
private static final long serialVersionUID = 3236786895259278399L;
public Object[] keys;
public ISPNEagerTopDocs(TopDocs topDocs, Object[] keys) {
super(topDocs.totalHits, topDocs.scoreDocs, topDocs.getMaxScore());
this.keys = keys;
}
}