org.apache.stanbol.contenthub.search.related.ontologyresource
Class IndexingHelper

java.lang.Object
  extended by org.apache.stanbol.contenthub.search.related.ontologyresource.IndexingHelper

public class IndexingHelper
extends java.lang.Object

This class is created to create LARQ index of external ontology provided for the search operation


Field Summary
static com.hp.hpl.jena.rdf.model.Property HAS_LOCAL_NAME
          Represents the special property which is used by Lucene while creating the index.
 
Constructor Summary
IndexingHelper()
           
 
Method Summary
static void addIndexPropertyToOntResources(com.hp.hpl.jena.ontology.OntModel model)
           
static java.lang.String getCMSObjectName(com.hp.hpl.jena.rdf.model.Resource subject)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HAS_LOCAL_NAME

public static final com.hp.hpl.jena.rdf.model.Property HAS_LOCAL_NAME
Represents the special property which is used by Lucene while creating the index. At the beginning of a search operation, user ontology is processed to add this special property to each class and individual resource by using their local names.

Constructor Detail

IndexingHelper

public IndexingHelper()
Method Detail

addIndexPropertyToOntResources

public static void addIndexPropertyToOntResources(com.hp.hpl.jena.ontology.OntModel model)

getCMSObjectName

public static java.lang.String getCMSObjectName(com.hp.hpl.jena.rdf.model.Resource subject)


Copyright © 2011-2012 The Apache Software Foundation. All Rights Reserved.