public class SearchDefinition extends Object
Modifier and Type | Field and Description |
---|---|
private String |
defaultPosition |
private Map<String,Index> |
indices
A map of all indices in this search definition, indexed by name
|
private Map<String,Index> |
lowerCase |
private String |
name |
Constructor and Description |
---|
SearchDefinition(String name) |
Modifier and Type | Method and Description |
---|---|
void |
addAlias(String alias,
String indexName) |
void |
addCommand(String indexName,
String commandString) |
void |
addIndex(Index index) |
void |
fillMatchGroups() |
String |
getDefaultPosition() |
Index |
getIndex(String name) |
Index |
getIndexByLowerCase(String name) |
String |
getName() |
Index |
getOrCreateIndex(String name) |
Map<String,Index> |
indices()
Returns the indices of this as a map
|
private String name
private Map<String,Index> indices
private String defaultPosition
public SearchDefinition(String name)
Copyright © 2018. All rights reserved.