org.apache.stanbol.contenthub.search.related.ontologyresource
Class IndexingHelper
java.lang.Object
org.apache.stanbol.contenthub.search.related.ontologyresource.IndexingHelper
public class IndexingHelper
- extends 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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.
IndexingHelper
public IndexingHelper()
addIndexPropertyToOntResources
public static void addIndexPropertyToOntResources(com.hp.hpl.jena.ontology.OntModel model)
getCMSObjectName
public static String getCMSObjectName(com.hp.hpl.jena.rdf.model.Resource subject)
Copyright © 2011-2013 The Apache Software Foundation. All Rights Reserved.