submodules update, added gdpFtIndex

This commit is contained in:
2023-02-27 16:12:22 +01:00
parent 2d36a12966
commit fe99df7339
9 changed files with 13 additions and 7 deletions
+1
View File
@@ -4,4 +4,5 @@ CLIENT_ROOT=./client
SYNOPSX_ROOT=./synopsx
WEBAPP_ROOT=./webapp
DATA_ROOT=./data
FTINDEX_ROOT=./gdpFtIndex
LOG_ROOT=./log
+3
View File
@@ -10,3 +10,6 @@
[submodule "webapp"]
path = webapp
url = https://github.com/guidesDeParis/webapp
[submodule "gdpFtIndex"]
path = gdpFtIndex
url = https://github.com/guidesDeParis/gdpFtIndex.git
+3 -3
View File
@@ -10,11 +10,11 @@ echo "Creating GDP BaseX db"
basex "db:create('gdp','/srv/basex/src/gdp.tei.xml', (),map {'ftindex': true(),'stemming': true(),'casesens': true(),'diacritics': true(),'language': 'fr','updindex': true(),'autooptimize': true(),'maxlen': 96,'maxcats': 100,'splitsize': 0,'chop': false(),'textindex': true(),'attrindex': true(),'tokenindex': true(), 'xinclude': true()})"
# , 'serializer': 'indent=no'
echo "Creating FullText Index tmp file"
basex "xslt:transform(fn:doc('/srv/basex/src/gdp.tei.xml'), fn:doc('/srv/basex/src/xslt/generateFullTextIndex.xsl'))" > /tmp/gdpFtIndex.xml
# echo "Creating FullText Index tmp file"
# basex "xslt:transform(fn:doc('/srv/basex/src/gdp.tei.xml'), fn:doc('/srv/basex/src/xslt/generateFullTextIndex.xsl'))" > /tmp/gdpFtIndex.xml
echo "Creating FullText Index DB"
basex "db:create('gdpFtIndex', '/tmp/gdpFtIndex.xml', (),map {'ftindex': true(),'stemming': true(),'casesens': true(),'diacritics': true(),'language': 'fr','updindex': true(),'autooptimize': true(),'maxlen': 96,'maxcats': 100,'splitsize': 0,'chop': false(),'textindex': true(),'attrindex': true(),'tokenindex': true(), 'xinclude': true()})"
basex "db:create('gdpFtIndex', '/srv/basex/ftindex/gdpFtIndex.xml', (),map {'ftindex': true(),'stemming': true(),'casesens': true(),'diacritics': true(),'language': 'fr','updindex': true(),'autooptimize': true(),'maxlen': 96,'maxcats': 100,'splitsize': 0,'chop': false(),'textindex': true(),'attrindex': true(),'tokenindex': true(), 'xinclude': true()})"
# , 'serializer': 'indent=no'
# echo "Creating Advanced Search Index"
+1 -1
Submodule client updated: 8494e5a0e2...232b44f3c6
+1 -1
Submodule data updated: 1df122355a...86052c67d5
+1
View File
@@ -6,6 +6,7 @@ services:
- "${SYNOPSX_ROOT}:/srv/basex/webapp/synopsx"
- "${WEBAPP_ROOT}:/srv/basex/webapp/synopsx/workspace/gdp"
- "${DATA_ROOT}:/srv/basex/src"
- "${FTINDEX_ROOT}:/srv/basex/ftindex"
- basex-home:/srv
# - basex-data:/srv/basex/data
# - "${LOG_ROOT}:/var/log:rw"
Submodule
+1
Submodule gdpFtIndex added at 9fc8e27978
+1 -1
Submodule synopsx updated: a8b7c0c10a...5185bab9fa
+1 -1
Submodule webapp updated: 2ca9ee51fd...220e4d0b21