1 17 package org.alfresco.repo.search.impl.lucene.query; 18 19 import java.io.IOException ; 20 21 26 public interface StructuredFieldPosition 27 { 28 29 42 public int matches(int start, int end, int offset) throws IOException ; 43 44 52 public boolean isTerminal(); 53 54 59 public boolean isAbsolute(); 60 61 66 public boolean isRelative(); 67 68 74 public String getTermText(); 75 76 83 public int getPosition(); 84 85 92 public void setCachingTermPositions(CachingTermPositions tps); 93 94 public CachingTermPositions getCachingTermPositions(); 95 96 102 103 public boolean linkSelf(); 104 105 public boolean linkParent(); 106 107 public boolean allowslinkingByParent(); 108 109 public boolean allowsLinkingBySelf(); 110 111 public boolean isDescendant(); 112 113 public boolean matchesAll(); 114 } 115 | Popular Tags |