Project:Deployment of Math Search

From MaRDI portal
Revision as of 18:23, 1 June 2022 by Johannes (talk | contribs) (Created page with "The deployment of MathSearch components is currently tricky and has some pitfalls. This page is to collect information to mitigate these. ==== Corrupted index files ==== Updating the indices causes logs on the formulasearch container like these: <syntaxhighlight> avax.xml.xquery.XQException: BXCE001 - Stopped at ., 588/76: [XUDY0027] Insert target is an empty sequence. at com.formulasearchengine.mathosphere.basex.Client.updateFormula(Client.java:448) at org.cite...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The deployment of MathSearch components is currently tricky and has some pitfalls.

This page is to collect information to mitigate these.


Corrupted index files

Updating the indices causes logs on the formulasearch container like these:

avax.xml.xquery.XQException:
BXCE001 - Stopped at ., 588/76:
[XUDY0027] Insert target is an empty sequence.
at com.formulasearchengine.mathosphere.basex.Client.updateFormula(Client.java:448)
at org.citeplag.domain.MathUpdate.run(MathUpdate.java:60)
at org.citeplag.controller.BaseXController.update(BaseXController.java:212)

This indicates that the current xml-index database is non-existant or corrupted.

Here are steps to solve the issue at the moment.