lumis.search.lucene
Class LuceneSearchHit
java.lang.Object
lumis.search.SearchHit
lumis.search.lucene.LuceneSearchHit
public class LuceneSearchHit
- extends SearchHit
Implementation for Lucene of an item of search results
- Since:
- 4.0.0
Field Summary |
protected org.apache.lucene.document.Document |
document
|
Constructor Summary |
LuceneSearchHit(org.apache.lucene.document.Document document,
float rank)
|
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 |
document
protected org.apache.lucene.document.Document document
LuceneSearchHit
public LuceneSearchHit(org.apache.lucene.document.Document document,
float rank)
getSearchContent
public SearchContent getSearchContent()
throws UnsupportedOperationException
- Description copied from class:
SearchHit
- Returns a
SearchContent
object related to the hit, containing all
fields
.
Implementations that do not support this opperation will throw an
UnsupportedOperationException
.
- Overrides:
getSearchContent
in class SearchHit
- Returns:
SearchContent
object related to the hit.
- Throws:
UnsupportedOperationException
Lumisportal 6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.