Reindex complex publications on excerpt change
This commit is contained in:
parent
73c51fc45b
commit
1aa245c6e1
1 changed files with 16 additions and 0 deletions
|
@ -1,4 +1,6 @@
|
|||
@prefix : <http://vitro.mannlib.cornell.edu/ns/vitro/ApplicationSetup#> .
|
||||
@prefix searchIndex: <java:edu.cornell.mannlib.vitro.webapp.searchindex#> .
|
||||
|
||||
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
|
||||
|
||||
:vivodocumentModifier_excerptsInArticles
|
||||
|
@ -20,6 +22,20 @@
|
|||
}
|
||||
""" .
|
||||
|
||||
:vivoUriFinder_excerptsInComplexPublications
|
||||
a searchIndex:indexing.IndexingUriFinder ,
|
||||
searchIndex:indexing.SelectQueryUriFinder ;
|
||||
rdfs:label "When excerpts change" ;
|
||||
:hasSelectQuery """
|
||||
PREFIX ts: <https://litvinovg.pro/text_structures#>
|
||||
SELECT ?uri
|
||||
WHERE {
|
||||
?uri ts:hasTOC ?toc .
|
||||
?toc (ts:hasTOCItem/ts:pointsTo)+/ts:hasText ?subject .
|
||||
}
|
||||
""" .
|
||||
|
||||
|
||||
:vivodocumentModifier_PopulateText
|
||||
a <java:edu.cornell.mannlib.vitro.webapp.searchindex.documentBuilding.SelectQueryDocumentModifier> ,
|
||||
<java:edu.cornell.mannlib.vitro.webapp.searchindex.documentBuilding.DocumentModifier> ;
|
||||
|
|
Loading…
Add table
Reference in a new issue