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.
This commit is contained in:
parent
39062cb5e2
commit
250a701213
1 changed files with 1 additions and 4 deletions
|
@ -52,8 +52,6 @@
|
|||
a <java:edu.cornell.mannlib.vitro.webapp.searchindex.documentBuilding.SimpleSparqlQueryDocumentModifier> ,
|
||||
<java:edu.cornell.mannlib.vitro.webapp.searchindex.documentBuilding.DocumentModifier> ;
|
||||
rdfs:label "Email address" ;
|
||||
:hasTargetField "ALLTEXT" ;
|
||||
:hasTargetField "ALLTEXTUNSTEMMED" ;
|
||||
:hasSparqlQuery """
|
||||
PREFIX vcard: <http://www.w3.org/2006/vcard/ns#>
|
||||
PREFIX obo: <http://purl.obolibrary.org/obo/>
|
||||
|
@ -273,7 +271,6 @@
|
|||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||
PREFIX obo: <http://purl.obolibrary.org/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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue