test_class.file: oak-search/src/test/java/org/apache/jackrabbit/oak/plugins/index/search/spi/query/FulltextIndexTest.java
test_class.identifier: FulltextIndexTest
test_case.body: @Test
      public void testParseFacetField() {
          String field = FulltextIndex.parseFacetField("rep:facet(text)");
          assertNotNull(field);
          assertEquals("text", field);
          field = FulltextIndex.parseFacetField("rep:facet(jcr:title)");
          assertNotNull(field);
          assertEquals("jcr:title", field);
          field = FulltextIndex.parseFacetField("rep:facet(jcr:primaryType)");
          assertNotNull(field);
          assertEquals("jcr:primaryType", field);
  
      }
test_case.class_method_signature: FulltextIndexTest.testParseFacetField()
test_case.full_signature: @Test public void testParseFacetField()
test_case.identifier: testParseFacetField
test_case.invocations: parseFacetField assertNotNull assertEquals parseFacetField assertNotNull assertEquals parseFacetField assertNotNull assertEquals
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testParseFacetField()
focal_class.declarator: LOG = LoggerFactory.getLogger(FulltextIndex.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger LOG = LoggerFactory.getLogger(FulltextIndex.class);
focal_class.type: Logger
focal_class.var_name: LOG
focal_class.declarator: ATTR_PLAN_RESULT = "oak.fulltext.planResult"
focal_class.modifier: public static final
focal_class.original_string: public static final String ATTR_PLAN_RESULT = "oak.fulltext.planResult";
focal_class.type: String
focal_class.var_name: ATTR_PLAN_RESULT
focal_class.declarator: QUERY_OPERATORS = {':' , '/', '!', '&', '|', '='}
focal_class.modifier: private static final
focal_class.original_string: private static final char[] QUERY_OPERATORS = {':' , '/', '!', '&', '|', '='};
focal_class.type: char[]
focal_class.var_name: QUERY_OPERATORS
focal_class.file: oak-search/src/main/java/org/apache/jackrabbit/oak/plugins/index/search/spi/query/FulltextIndex.java
focal_class.identifier: FulltextIndex
focal_class.interfaces: implements AdvancedQueryIndex, QueryIndex, NativeQueryIndex,
          AdvanceFulltextQueryIndex
focal_class.class_method_signature: FulltextIndex.acquireIndexNode(String indexPath)
focal_class.full_signature: protected abstract IndexNode acquireIndexNode(String indexPath)
focal_class.identifier: acquireIndexNode
focal_class.modifiers: protected abstract
focal_class.parameters: (String indexPath)
focal_class.return: IndexNode
focal_class.signature: IndexNode acquireIndexNode(String indexPath)
focal_class.class_method_signature: FulltextIndex.getType()
focal_class.full_signature: protected abstract String getType()
focal_class.identifier: getType
focal_class.modifiers: protected abstract
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getType()
focal_class.class_method_signature: FulltextIndex.getSizeEstimator(IndexPlan plan)
focal_class.full_signature: protected abstract SizeEstimator getSizeEstimator(IndexPlan plan)
focal_class.identifier: getSizeEstimator
focal_class.modifiers: protected abstract
focal_class.parameters: (IndexPlan plan)
focal_class.return: SizeEstimator
focal_class.signature: SizeEstimator getSizeEstimator(IndexPlan plan)
focal_class.class_method_signature: FulltextIndex.getIndexDefinitionPredicate()
focal_class.full_signature: protected abstract Predicate<NodeState> getIndexDefinitionPredicate()
focal_class.identifier: getIndexDefinitionPredicate
focal_class.modifiers: protected abstract
focal_class.parameters: ()
focal_class.return: Predicate<NodeState>
focal_class.signature: Predicate<NodeState> getIndexDefinitionPredicate()
focal_class.class_method_signature: FulltextIndex.getFulltextRequestString(IndexPlan plan, IndexNode indexNode)
focal_class.full_signature: protected abstract String getFulltextRequestString(IndexPlan plan, IndexNode indexNode)
focal_class.identifier: getFulltextRequestString
focal_class.modifiers: protected abstract
focal_class.parameters: (IndexPlan plan, IndexNode indexNode)
focal_class.return: String
focal_class.signature: String getFulltextRequestString(IndexPlan plan, IndexNode indexNode)
focal_class.class_method_signature: FulltextIndex.filterReplacedIndexes()
focal_class.full_signature: protected abstract boolean filterReplacedIndexes()
focal_class.identifier: filterReplacedIndexes
focal_class.modifiers: protected abstract
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean filterReplacedIndexes()
focal_class.class_method_signature: FulltextIndex.getPlanner(IndexNode indexNode, String path, Filter filter, List<OrderEntry> sortOrder)
focal_class.full_signature: protected FulltextIndexPlanner getPlanner(IndexNode indexNode, String path, Filter filter, List<OrderEntry> sortOrder)
focal_class.identifier: getPlanner
focal_class.modifiers: protected
focal_class.parameters: (IndexNode indexNode, String path, Filter filter, List<OrderEntry> sortOrder)
focal_class.return: FulltextIndexPlanner
focal_class.signature: FulltextIndexPlanner getPlanner(IndexNode indexNode, String path, Filter filter, List<OrderEntry> sortOrder)
focal_class.class_method_signature: FulltextIndex.getPlans(Filter filter, List<OrderEntry> sortOrder, NodeState rootState)
focal_class.full_signature: @Override public List<IndexPlan> getPlans(Filter filter, List<OrderEntry> sortOrder, NodeState rootState)
focal_class.identifier: getPlans
focal_class.modifiers: @Override public
focal_class.parameters: (Filter filter, List<OrderEntry> sortOrder, NodeState rootState)
focal_class.return: List<IndexPlan>
focal_class.signature: List<IndexPlan> getPlans(Filter filter, List<OrderEntry> sortOrder, NodeState rootState)
focal_class.class_method_signature: FulltextIndex.getCost(Filter filter, NodeState root)
focal_class.full_signature: @Override public double getCost(Filter filter, NodeState root)
focal_class.identifier: getCost
focal_class.modifiers: @Override public
focal_class.parameters: (Filter filter, NodeState root)
focal_class.return: double
focal_class.signature: double getCost(Filter filter, NodeState root)
focal_class.class_method_signature: FulltextIndex.getPlan(Filter filter, NodeState root)
focal_class.full_signature: @Override public String getPlan(Filter filter, NodeState root)
focal_class.identifier: getPlan
focal_class.modifiers: @Override public
focal_class.parameters: (Filter filter, NodeState root)
focal_class.return: String
focal_class.signature: String getPlan(Filter filter, NodeState root)
focal_class.class_method_signature: FulltextIndex.getPlanDescription(IndexPlan plan, NodeState root)
focal_class.full_signature: @Override public String getPlanDescription(IndexPlan plan, NodeState root)
focal_class.identifier: getPlanDescription
focal_class.modifiers: @Override public
focal_class.parameters: (IndexPlan plan, NodeState root)
focal_class.return: String
focal_class.signature: String getPlanDescription(IndexPlan plan, NodeState root)
focal_class.class_method_signature: FulltextIndex.addSyncIndexPlan(IndexPlan plan, StringBuilder sb)
focal_class.full_signature: protected static void addSyncIndexPlan(IndexPlan plan, StringBuilder sb)
focal_class.identifier: addSyncIndexPlan
focal_class.modifiers: protected static
focal_class.parameters: (IndexPlan plan, StringBuilder sb)
focal_class.return: void
focal_class.signature: void addSyncIndexPlan(IndexPlan plan, StringBuilder sb)
focal_class.class_method_signature: FulltextIndex.query(final Filter filter, final NodeState root)
focal_class.full_signature: @Override public Cursor query(final Filter filter, final NodeState root)
focal_class.identifier: query
focal_class.modifiers: @Override public
focal_class.parameters: (final Filter filter, final NodeState root)
focal_class.return: Cursor
focal_class.signature: Cursor query(final Filter filter, final NodeState root)
focal_class.class_method_signature: FulltextIndex.shouldInclude(String docPath, IndexPlan plan)
focal_class.full_signature: protected static boolean shouldInclude(String docPath, IndexPlan plan)
focal_class.identifier: shouldInclude
focal_class.modifiers: protected static
focal_class.parameters: (String docPath, IndexPlan plan)
focal_class.return: boolean
focal_class.signature: boolean shouldInclude(String docPath, IndexPlan plan)
focal_class.class_method_signature: FulltextIndex.getNodeAggregator()
focal_class.full_signature: @Override public NodeAggregator getNodeAggregator()
focal_class.identifier: getNodeAggregator
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: NodeAggregator
focal_class.signature: NodeAggregator getNodeAggregator()
focal_class.class_method_signature: FulltextIndex.isNodePath(String fulltextTermPath)
focal_class.full_signature: public static boolean isNodePath(String fulltextTermPath)
focal_class.identifier: isNodePath
focal_class.modifiers: public static
focal_class.parameters: (String fulltextTermPath)
focal_class.return: boolean
focal_class.signature: boolean isNodePath(String fulltextTermPath)
focal_class.class_method_signature: FulltextIndex.acquireIndexNode(IndexPlan plan)
focal_class.full_signature: protected IndexNode acquireIndexNode(IndexPlan plan)
focal_class.identifier: acquireIndexNode
focal_class.modifiers: protected
focal_class.parameters: (IndexPlan plan)
focal_class.return: IndexNode
focal_class.signature: IndexNode acquireIndexNode(IndexPlan plan)
focal_class.class_method_signature: FulltextIndex.getIndexName(IndexPlan plan)
focal_class.full_signature: protected static String getIndexName(IndexPlan plan)
focal_class.identifier: getIndexName
focal_class.modifiers: protected static
focal_class.parameters: (IndexPlan plan)
focal_class.return: String
focal_class.signature: String getIndexName(IndexPlan plan)
focal_class.class_method_signature: FulltextIndex.determinePropertyType(PropertyDefinition defn, PropertyRestriction pr)
focal_class.full_signature: public static int determinePropertyType(PropertyDefinition defn, PropertyRestriction pr)
focal_class.identifier: determinePropertyType
focal_class.modifiers: public static
focal_class.parameters: (PropertyDefinition defn, PropertyRestriction pr)
focal_class.return: int
focal_class.signature: int determinePropertyType(PropertyDefinition defn, PropertyRestriction pr)
focal_class.class_method_signature: FulltextIndex.getPropertyType(PropertyDefinition defn, String name, int defaultVal)
focal_class.full_signature: protected static int getPropertyType(PropertyDefinition defn, String name, int defaultVal)
focal_class.identifier: getPropertyType
focal_class.modifiers: protected static
focal_class.parameters: (PropertyDefinition defn, String name, int defaultVal)
focal_class.return: int
focal_class.signature: int getPropertyType(PropertyDefinition defn, String name, int defaultVal)
focal_class.class_method_signature: FulltextIndex.getPlanResult(IndexPlan plan)
focal_class.full_signature: protected static PlanResult getPlanResult(IndexPlan plan)
focal_class.identifier: getPlanResult
focal_class.modifiers: protected static
focal_class.parameters: (IndexPlan plan)
focal_class.return: PlanResult
focal_class.signature: PlanResult getPlanResult(IndexPlan plan)
focal_class.class_method_signature: FulltextIndex.rewriteQueryText(String textsearch)
focal_class.full_signature: protected static String rewriteQueryText(String textsearch)
focal_class.identifier: rewriteQueryText
focal_class.modifiers: protected static
focal_class.parameters: (String textsearch)
focal_class.return: String
focal_class.signature: String rewriteQueryText(String textsearch)
focal_class.class_method_signature: FulltextIndex.getPathRestriction(IndexPlan plan)
focal_class.full_signature: public static String getPathRestriction(IndexPlan plan)
focal_class.identifier: getPathRestriction
focal_class.modifiers: public static
focal_class.parameters: (IndexPlan plan)
focal_class.return: String
focal_class.signature: String getPathRestriction(IndexPlan plan)
focal_class.class_method_signature: FulltextIndex.parseFacetField(String columnName)
focal_class.full_signature: public static String parseFacetField(String columnName)
focal_class.identifier: parseFacetField
focal_class.modifiers: public static
focal_class.parameters: (String columnName)
focal_class.return: String
focal_class.signature: String parseFacetField(String columnName)
focal_method.body: public static String parseFacetField(String columnName) {
          return columnName.substring(QueryConstants.REP_FACET.length() + 1, columnName.length() - 1);
      }
focal_method.class_method_signature: FulltextIndex.parseFacetField(String columnName)
focal_method.full_signature: public static String parseFacetField(String columnName)
focal_method.identifier: parseFacetField
focal_method.invocations: substring length length
focal_method.modifiers: public static
focal_method.parameters: (String columnName)
focal_method.return: String
focal_method.signature: String parseFacetField(String columnName)