All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.infinispan.query.clustered.ISPNEagerTopDocs Maven / Gradle / Ivy

There is a newer version: 9.1.7.Final
Show newest version
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;
   }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy