Class AnyStructuredFieldPosition

java.lang.Object
org.alfresco.solr.query.AbstractStructuredFieldPosition
org.alfresco.solr.query.AnyStructuredFieldPosition
All Implemented Interfaces:
StructuredFieldPosition
Direct Known Subclasses:
DescendantAndSelfStructuredFieldPosition

public class AnyStructuredFieldPosition extends AbstractStructuredFieldPosition
Author:
andyh TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Style - Code Templates
  • Constructor Details

    • AnyStructuredFieldPosition

      public AnyStructuredFieldPosition(String termText)
    • AnyStructuredFieldPosition

      public AnyStructuredFieldPosition()
  • Method Details

    • matches

      public int matches(int start, int end, int offset) throws IOException
      Description copied from interface: StructuredFieldPosition
      Does this element match
      Parameters:
      start - - the start postion of the paths terms
      end - - the end position of the paths terms
      offset - - 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

      public String getDescription()
      Specified by:
      getDescription in class AbstractStructuredFieldPosition