blob: 5d4fef0384d9b902f1f1672c19c67992f0c58de7 (
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
|
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.prelude.query;
/**
* Interface for Items that are indexed
*
* @author Lars Christian Jensen
*/
public interface IndexedItem extends HasIndexItem {
/** Sets the name of the index to search */
void setIndexName(String index);
/**
* Return the searchable term contents of this item.
*
* @return a string representation of what is presumably stored in an index
* which will match this item
*/
String getIndexedString();
}
|