Package org.alfresco.solr.query
Class AnyStructuredFieldPosition
java.lang.Object
org.alfresco.solr.query.AbstractStructuredFieldPosition
org.alfresco.solr.query.AnyStructuredFieldPosition
- All Implemented Interfaces:
StructuredFieldPosition
- Direct Known Subclasses:
DescendantAndSelfStructuredFieldPosition
- Author:
- andyh TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Style - Code Templates
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintmatches(int start, int end, int offset) Does this element matchMethods inherited from class org.alfresco.solr.query.AbstractStructuredFieldPosition
allowslinkingByParent, allowsLinkingBySelf, equals, getCachingTermPositions, getPosition, getTermText, hashCode, isAbsolute, isDescendant, isRelative, isTerminal, linkParent, linkSelf, matchesAll, setCachingTermPositions, setTerminal, toString
-
Constructor Details
-
AnyStructuredFieldPosition
-
AnyStructuredFieldPosition
public AnyStructuredFieldPosition()
-
-
Method Details
-
matches
Description copied from interface:StructuredFieldPositionDoes this element match- Parameters:
start- - the start postion of the paths termsend- - the end position of the paths termsoffset- - the current offset in the path- Returns:
- returns the next match position (usually offset + 1) or -1 if it does not match.
- Throws:
IOException
-
getDescription
- Specified by:
getDescriptionin classAbstractStructuredFieldPosition
-