|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lumis.search.SearchHit lumis.search.lucene.LuceneSearchHit
public class LuceneSearchHit
Implementation for Lucene of an item of search results
Field Summary | |
---|---|
protected org.apache.lucene.document.Document |
document
|
Fields inherited from class lumis.search.SearchHit |
---|
attributes, rank, snippet, subtitle, title, url |
Constructor Summary | |
---|---|
LuceneSearchHit(org.apache.lucene.document.Document document,
float rank)
|
Method Summary | |
---|---|
SearchContent |
getSearchContent()
Returns a SearchContent object related to the hit, containing all
fields . |
Methods inherited from class lumis.search.SearchHit |
---|
getAttributes, getParentId, getRank, getSnippet, getSubtitle, getTitle, getUrl, setParentId, setRank, setSnippet, setSubtitle, setTitle, setUrl |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected org.apache.lucene.document.Document document
Constructor Detail |
---|
public LuceneSearchHit(org.apache.lucene.document.Document document, float rank)
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |