2021-10-13 00:23:56 +02:00
|
|
|
package it.cavallium.dbengine.lucene;
|
|
|
|
|
|
|
|
import org.apache.lucene.search.ScoreDoc;
|
|
|
|
|
2021-10-15 00:03:41 +02:00
|
|
|
public record LLScoreDoc(int doc, float score, int shardIndex) implements LLDoc {
|
2021-10-13 00:23:56 +02:00
|
|
|
|
|
|
|
public ScoreDoc toScoreDoc() {
|
|
|
|
return new ScoreDoc(doc, score, shardIndex);
|
|
|
|
}
|
|
|
|
}
|