blob: 6f873e28f8a52d7d4bc2f506867f86c7acd2152a (
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 2016 Yahoo Inc. 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 is indexed
*
* @author Lars Christian Jensen
*/
public interface IndexedItem extends HasIndexItem {
/** Sets the name of the index to search */
public 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
*/
public String getIndexedString();
}
|