Browse Source

submodules update, added gdpFtIndex

bach 1 year ago
parent
commit
fe99df7339
9 changed files with 13 additions and 7 deletions
  1. 1 0
      .env
  2. 3 0
      .gitmodules
  3. 3 3
      Docker/basex/gdp-entrypoint.sh
  4. 1 1
      client
  5. 1 1
      data
  6. 1 0
      docker-compose.yml
  7. 1 0
      gdpFtIndex
  8. 1 1
      synopsx
  9. 1 1
      webapp

+ 1 - 0
.env

@@ -4,4 +4,5 @@ CLIENT_ROOT=./client
 SYNOPSX_ROOT=./synopsx
 WEBAPP_ROOT=./webapp
 DATA_ROOT=./data
+FTINDEX_ROOT=./gdpFtIndex
 LOG_ROOT=./log

+ 3 - 0
.gitmodules

@@ -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
Docker/basex/gdp-entrypoint.sh

@@ -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
client

@@ -1 +1 @@
-Subproject commit 8494e5a0e262f92cf8562c2b94800e0d267a7e4e
+Subproject commit 232b44f3c683dd481a344aa65906c3e8b60ddab9

+ 1 - 1
data

@@ -1 +1 @@
-Subproject commit 1df122355a9303e68104caa3720a1a8bac3be00f
+Subproject commit 86052c67d53ba434d355b020a2fff6e89cbce6a0

+ 1 - 0
docker-compose.yml

@@ -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"

+ 1 - 0
gdpFtIndex

@@ -0,0 +1 @@
+Subproject commit 9fc8e27978c76051d3178e5c42b53e5f7b7e3db3

+ 1 - 1
synopsx

@@ -1 +1 @@
-Subproject commit a8b7c0c10ad399b20c3b78af5eb08ec2c3790071
+Subproject commit 5185bab9fa64de42941354d881e6188e6c5ed114

+ 1 - 1
webapp

@@ -1 +1 @@
-Subproject commit 2ca9ee51fda213a706bfe4a55f4e5427ad18cccc
+Subproject commit 220e4d0b21baea9648f01ca6f0f470852920f00e