submodules update, added gdpFtIndex
This commit is contained in:
@@ -4,4 +4,5 @@ CLIENT_ROOT=./client
|
||||
SYNOPSX_ROOT=./synopsx
|
||||
WEBAPP_ROOT=./webapp
|
||||
DATA_ROOT=./data
|
||||
FTINDEX_ROOT=./gdpFtIndex
|
||||
LOG_ROOT=./log
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
@@ -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
Reference in New Issue
Block a user