0 Replies Latest reply on Jun 22, 2017 6:23 AM by jacobilsoe

    Indexing performance issue

    jacobilsoe

      I have a transaction where I insert thousands of nodes. I also have a number of indexes configured to use the Lucene index provider. Whenever the transaction is committed the Lucene indexes are updated and this results in thousands of calls to org.apache.lucene.index.IndexWriter.commit. This performs very poorly. Is there any way to configure when commit is called? Maybe just do a single commit per transaction per index?

       

      I am using ModeShape 5.4.0.Final together with WildFly 10.1.0.Final on Windows 8.1.