public interface BaseSearchResult
Modifier and Type | Method and Description |
---|---|
String |
getField(String fieldName)
Returns the contents of the field as a string.
|
Set<String> |
getFieldValues(String fieldName)
Return set of string values of a field of a given document, if the field has single value then return
singleton set of that value, if there is no such field then return empty set.
|
com.atlassian.bonnie.Handle |
getHandle()
Retrieves the handle that can then be used by the AnyTypeDao to retrieve the database object referenced by this
search result.
|
boolean |
isFieldRequested(String fieldName)
Deprecated.
since 5.9.
|
com.atlassian.bonnie.Handle getHandle()
Because the database and index are not updated at the same time, it is possible for a deleted entity to still be represented in the search index. Do not assume that this handle will always refer to a live object.
AnyTypeDao.findByHandle(com.atlassian.bonnie.Handle)
String getField(String fieldName)
fieldName
- Set<String> getFieldValues(String fieldName)
fieldName
- @Deprecated boolean isFieldRequested(String fieldName)
fieldName
- Copyright © 2003–2020 Atlassian. All rights reserved.