public interface Hit
Hit
represents a single search result, ie. a node and resource.Modifier and Type | Method and Description |
---|---|
java.lang.String |
getExcerpt() |
java.util.Map<java.lang.String,java.lang.String> |
getExcerpts() |
long |
getIndex() |
Node |
getNode() |
java.lang.String |
getPath() |
ValueMap |
getProperties()
Returns either the properties of the
jcr:content subnode
(if present) or the properties of this node itself. |
Resource |
getResource() |
double |
getScore()
Returns the full text search score for this hit.
|
java.lang.String |
getTitle()
Returns the title for this hit.
|
long getIndex()
java.util.Map<java.lang.String,java.lang.String> getExcerpts() throws RepositoryException
RepositoryException
- if an error occurs while building the
map.java.lang.String getExcerpt() throws RepositoryException
RepositoryException
- if an error occurs while building the
excerpt.Resource getResource() throws RepositoryException
RepositoryException
- if an error occurs while reading from the
query result.Node getNode() throws RepositoryException
RepositoryException
- if an error occurs while reading from the
repository.java.lang.String getPath() throws RepositoryException
RepositoryException
- if an error occurs while reading from the
query result.ValueMap getProperties() throws RepositoryException
jcr:content
subnode
(if present) or the properties of this node itself.RepositoryException
- if an error occurs while reading from the
repository.Map
)java.lang.String getTitle() throws RepositoryException
RepositoryException
- if an error occurs while reading form the
repository.double getScore() throws RepositoryException
RepositoryException
- if an error occurs while reading form the
repository.Copyright © 2010 - 2020 Adobe. All Rights Reserved