public class LuceneSearchHit extends SearchHit
Modifier and Type | Field and Description |
---|---|
protected org.apache.lucene.document.Document |
document |
Constructor and Description |
---|
LuceneSearchHit(org.apache.lucene.document.Document document,
float rank) |
Modifier and Type | Method and Description |
---|---|
SearchContent |
getSearchContent()
Returns a
SearchContent object related to the hit, containing all
fields . |
getAttributes, getParentId, getRank, getSnippet, getSubtitle, getTitle, getUrl, setParentId, setRank, setSnippet, setSubtitle, setTitle, setUrl
public LuceneSearchHit(org.apache.lucene.document.Document document, float rank)
public SearchContent getSearchContent() throws UnsupportedOperationException
SearchHit
SearchContent
object related to the hit, containing all
fields
.
Implementations that do not support this opperation will throw an
UnsupportedOperationException
.
getSearchContent
in class SearchHit
SearchContent
object related to the hit.UnsupportedOperationException
Lumisportal 7.1.1.140331 - Copyright © 2006–2014 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.