There is 1 comment.
 
 
XWiki Platform / cid:jira-generated-image-avatar-415db93b-3ad1-4d77-a6e6-4b81360a649b XWIKI-22417 Reopened

Upgrade to Elastic search client 8.15.2

 
View issue   ยท   Add comment
 

1 comment

 
cid:jira-generated-image-avatar-664612e5-0320-4e35-822a-6f5f906f519b Vincent Massol on 08/Oct/24 17:49
 

As we already discussed (Thomas mentioned it again in a chat), the solution is to either develop a small standalone app (or better use an apache web server mod if that's possible) mapped to extensions.xwiki.org/activeinstalls2 and that will perform conversions of the formats sent by XWiki instances (we have the xwiki version in the request BTW so we can support different formats depending on the XWiki version too) and then forward the converted format to ES. We should probably support the current ES format used by Active installs 2 and consider it the XWiki format (that allows for backward compatibility and possibly still allow us to use the parsers coded by ES so that we don't have to redo that part - not sure about this part, depends if we can stay on the same version of the ES client library or not).

Note that even if we could do this on the XWiki instance for xwiki.org we should probably avoid putting more load on it (right now this would mean more than 10K requests every day: all the active installs + all the installs that don't last more than 1 day. It's quite low, since it means around 7-10 requests more per minute but still, that adds up) and more importantly it would be a lot slower than it should be (an XWiki request takes a lot more time than, say, an apache web server request).