@ExperimentalApi public class IndexDocumentConfiguration extends Object
<key entity-key="com.atlassian.jira.thing">
<extract path="foo.bar" type="string">
<!--
"path" tells you what part of the json to extract.
"type" could be "number", "string", "text", "date" and tells you how to analyse it
-->
</<extract>
</key>
<key prefix="com.atlassian.jira.rank">
<extract...><extract/>
</key>
Modifier and Type | Class and Description |
---|---|
static class |
IndexDocumentConfiguration.ConfigurationElement |
static class |
IndexDocumentConfiguration.ExtractConfiguration |
static class |
IndexDocumentConfiguration.KeyConfiguration |
static class |
IndexDocumentConfiguration.Type |
Constructor and Description |
---|
IndexDocumentConfiguration(String entityKey,
List<IndexDocumentConfiguration.KeyConfiguration> keyConfigurations) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Iterable<IndexDocumentConfiguration.ConfigurationElement> |
getConfigurationElements() |
String |
getEntityKey() |
List<IndexDocumentConfiguration.KeyConfiguration> |
getKeyConfigurations()
List of key that are defined to be scanned in this configuration
|
int |
hashCode() |
String |
toString() |
public IndexDocumentConfiguration(String entityKey, List<IndexDocumentConfiguration.KeyConfiguration> keyConfigurations)
public List<IndexDocumentConfiguration.KeyConfiguration> getKeyConfigurations()
public String getEntityKey()
public Iterable<IndexDocumentConfiguration.ConfigurationElement> getConfigurationElements()
Copyright © 2002-2017 Atlassian. All Rights Reserved.