Class LuceneResultSetRow
- java.lang.Object
-
- org.alfresco.repo.search.AbstractResultSetRow
-
- org.alfresco.repo.search.impl.lucene.LuceneResultSetRow
-
- All Implemented Interfaces:
ResultSetRow
public class LuceneResultSetRow extends AbstractResultSetRow
A row in a result set. Created on the fly.- Author:
- Andy Hind
-
-
Field Summary
-
Fields inherited from class org.alfresco.repo.search.AbstractResultSetRow
properties
-
-
Constructor Summary
Constructors Constructor Description LuceneResultSetRow(LuceneResultSet resultSet, int index)Wrap a position in a lucene Hits class with node support
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intdoc()ChildAssociationRefgetChildAssocRef()protected Map<QName,Serializable>getDirectProperties()org.apache.lucene.document.DocumentgetDocument()Support to cache the document for this rowNodeRefgetNodeRef(String selectorName)Map<String,NodeRef>getNodeRefs()QNamegetPrimaryAssocTypeQName()QNamegetQName()floatgetScore(String selectorName)Map<String,Float>getScores()-
Methods inherited from class org.alfresco.repo.search.AbstractResultSetRow
getIndex, getNodeRef, getResultSet, getScore, getValue, getValue, getValues, setProperties
-
-
-
-
Constructor Detail
-
LuceneResultSetRow
public LuceneResultSetRow(LuceneResultSet resultSet, int index)
Wrap a position in a lucene Hits class with node support- Parameters:
resultSet- LuceneResultSetindex- int
-
-
Method Detail
-
getDocument
public org.apache.lucene.document.Document getDocument()
Support to cache the document for this row- Returns:
- Document
-
getDirectProperties
protected Map<QName,Serializable> getDirectProperties()
- Overrides:
getDirectPropertiesin classAbstractResultSetRow
-
getQName
public QName getQName()
- Specified by:
getQNamein interfaceResultSetRow- Overrides:
getQNamein classAbstractResultSetRow
-
getPrimaryAssocTypeQName
public QName getPrimaryAssocTypeQName()
-
getChildAssocRef
public ChildAssociationRef getChildAssocRef()
- Specified by:
getChildAssocRefin interfaceResultSetRow- Overrides:
getChildAssocRefin classAbstractResultSetRow
-
getScore
public float getScore(String selectorName)
-
doc
public int doc()
-
-