summaryrefslogtreecommitdiffstats
path: root/tenant-cd/src/main/java/ai/vespa/hosted/cd/Search.java
blob: a7538075f3620050472ec8185438785e7d6188be (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package ai.vespa.hosted.cd;

import java.util.SortedMap;

/**
 * The immutable result of sending a {@link Query} to a Vespa {@link Endpoint}.
 *
 * @author jonmv
 */
public class Search {

    // hits
    // coverage
    // searched
    // full?
    // results?
    // resultsFull?

    /** Returns the documents that were returned as the result, with an iteration order of decreasing relevance. */
    SortedMap<DocumentId, Document> documents() {
        return null;
    }

}