public class LuceneResultSetRow extends AbstractResultSetRow
properties| Constructor and Description |
|---|
LuceneResultSetRow(LuceneResultSet resultSet,
int index)
Wrap a position in a lucene Hits class with node support
|
| Modifier and Type | Method and Description |
|---|---|
int |
doc() |
ChildAssociationRef |
getChildAssocRef() |
protected Map<QName,Serializable> |
getDirectProperties() |
org.apache.lucene.document.Document |
getDocument()
Support to cache the document for this row
|
NodeRef |
getNodeRef(String selectorName) |
Map<String,NodeRef> |
getNodeRefs() |
QName |
getPrimaryAssocTypeQName() |
QName |
getQName() |
float |
getScore(String selectorName) |
Map<String,Float> |
getScores() |
getIndex, getNodeRef, getResultSet, getScore, getValue, getValue, getValues, setPropertiespublic LuceneResultSetRow(LuceneResultSet resultSet, int index)
resultSet - LuceneResultSetindex - intpublic org.apache.lucene.document.Document getDocument()
protected Map<QName,Serializable> getDirectProperties()
getDirectProperties in class AbstractResultSetRowpublic QName getQName()
getQName in interface ResultSetRowgetQName in class AbstractResultSetRowpublic QName getPrimaryAssocTypeQName()
public ChildAssociationRef getChildAssocRef()
getChildAssocRef in interface ResultSetRowgetChildAssocRef in class AbstractResultSetRowpublic float getScore(String selectorName)
public int doc()
Copyright © 2005–2021 Alfresco Software. All rights reserved.