Class AbstractSearchResult.AlternateFieldNames
- java.lang.Object
-
- com.atlassian.confluence.search.v2.AbstractSearchResult.AlternateFieldNames
-
- Enclosing class:
- AbstractSearchResult
protected abstract static class AbstractSearchResult.AlternateFieldNames extends Object
Handles alternate names for fields, typically when a field has been split or moved into another field. Needed for backward compatibility reason, so that existing client code can refer to the new field name using the old name, and vice versa (new code against existing index).
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AlternateFieldNames()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Set<String>
expand(Collection<String> fields)
protected abstract boolean
fieldExists(String name)
String
resolve(String fieldName)
-