From 250a7012136d5af99c447f6670023d7ff6bb999a Mon Sep 17 00:00:00 2001 From: j2blake Date: Mon, 26 Jan 2015 10:18:52 -0500 Subject: [PATCH] VIVO-869 Cleanup: Committer, shorter event type, ALLTEXTUNSTEMMED, et. al. Get rid of the SearchIndexerSetup.Committer listener class. This functionality becomes internal to UpdateUrisTask. Use shorter names for Event.Type values, so the display will be more compact. ALLTEXTUNSTEMMED is not automatically populated from ALLTEXT, so change the default target field on SimpleSparqlQueryDocumentModifier to include both of them. Trivial cleanup in UpdateDocumentWorkUnit. Create StackTraceLayout, a simple Log4J layout that will print the stack trace for each call. Used for diagnosing the source of uninformative log messages. --- rdf/display/everytime/searchIndexerConfigurationVivo.n3 | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/rdf/display/everytime/searchIndexerConfigurationVivo.n3 b/rdf/display/everytime/searchIndexerConfigurationVivo.n3 index 467c7d19..904d3457 100644 --- a/rdf/display/everytime/searchIndexerConfigurationVivo.n3 +++ b/rdf/display/everytime/searchIndexerConfigurationVivo.n3 @@ -52,8 +52,6 @@ a , ; rdfs:label "Email address" ; - :hasTargetField "ALLTEXT" ; - :hasTargetField "ALLTEXTUNSTEMMED" ; :hasSparqlQuery """ PREFIX vcard: PREFIX obo: @@ -273,7 +271,6 @@ PREFIX rdfs: PREFIX obo: SELECT (str(?AcademicDegreeLabel) as ?academicDegreeLabel) - (str(?AcademicDegreeAbbreviation) as ?academicDegreeAbbreviation) (str(?MajorField) as ?majorField) (str(?DepartmentOrSchool) as ?departmentOrSchool) (str(?TrainingAtOrganizationLabel) as ?trainingAtOrganizationLabel) @@ -370,7 +367,7 @@ ?rel core:relates ?other . ?other rdfs:label ?rawresult . FILTER( ?other != ?uri ) - } + } """ . :vivodocumentModifier_Grants_Projects_ForPerson