updates for page management as well as some changes to schema.xml to enable addition of dynamic fields (for datastar but also present if others would like to employ it) - some additional debug lines to ContextNodeFields.

This commit is contained in:
hjkhjk54 2012-08-16 21:17:40 +00:00
parent cdd10b24f1
commit 34858fcadb
4 changed files with 21 additions and 3 deletions

View file

@ -57,7 +57,10 @@ public class ContextNodeFields implements DocumentModifier{
return;
log.debug( "processing context nodes for: " + individual.getURI());
log.debug( "queries are ");
for(String q:queries) {
log.debug("Query: " + q);
}
/* get text from the context nodes and add the to ALLTEXT */
StringBuffer values = executeQueryForValues(individual, queries);
@ -86,7 +89,7 @@ public class ContextNodeFields implements DocumentModifier{
String subInUriQuery =
query.replaceAll("\\?uri", "<" + individual.getURI() + "> ");
log.debug("Subbed in URI query: " + subInUriQuery);
try{
ResultSet results = RDFServiceUtils.sparqlSelectQuery(subInUriQuery, rdfService);