On Fri, Sep 19, 2014 at 3:02 PM, Karel Gardas <[email protected]> wrote: > > Hello, > > I'm attempting to import Wikipedia dump into XWiki using mediawiki/1.0 > syntax. Since this process is quite slow and dealing with a lot of data I'm > trying to strip everything I don't need now. > > While connecting visualvm to the xwiki JVM I've noticed that majority of > both CPU and memory resource is consumed by Solr index thread and Lucene > index thread. Solr leads here. To switch this off, I've switched off > completely search suggestions in Home->Administer Wiki->Search Sugest and > I've also switched Search system to be based on Database instead of Solr.
This only control what is the one that is going to be displayed by default but there is nothing in the UI to disabled SOLR. > I've restarted XWiki and to my surprise from console log I see Solr is > started again and while profiling with visual vm I see again those two index > threads running and consuming majority of resources. > > The platform is JDK 8, Solaris 11.1, XWiki 6.0.1 on top of PostgreSQL. > > Is there any hint how to switch those index/search engines off completely? The simplest is probably to move all the solr and lucene related jar files out of WEB-INF/lib/ (and put them back later to index al that). > > Thanks! > Karel > > _______________________________________________ > devs mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/devs -- Thomas Mortagne _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

