public final class IndexResult extends Object
Modifier and Type | Method and Description |
---|---|
FileObject |
getFile() |
Indexable |
getIndexable()
Gets
Indexable for this result. |
String |
getRelativePath() |
URL |
getRoot() |
URL |
getUrl() |
String |
getValue(String key) |
String[] |
getValues(String key) |
public URL getUrl()
public FileObject getFile()
public String getRelativePath()
public URL getRoot()
public Indexable getIndexable()
Indexable
for this result. The indexable returned is giong
to represent the file that was used for creating IndexDocument
and indexed.
Please note that this file may no longer exist on the disk in which case
the returned Indexable
is going to have limited capabilities.
For example you want's be able to retrieve its mimetype.
Indexable
representing the file that was used for
creating the index data represented by this IndexResult
.