Quote:
is the combination of HS4 and Lucene 3.4 and up always that slow or it is only in your special use case?
I would rather risk some data loss (the occasions seems to occur rather seldom), which can be corrected by rebuilding the index, than having such a slow indexing performance.
kind regards
These figures are relative to a bug in the MassIndexer specifically; the overhead of using indexing during "normal" event driven operations can be significantly different and depends on your data values and general schema and indexing options; it can be much faster, simple (most trivial schema and data) reaches figures up to 12 millions entities in 3 minutes on my dual core laptop during MassIndexer operation (before this bug); Most of the work performed by the MassIndexer is usually data loading from the database, a step which is skipped when you're dealing with event-triggered indexing as the data is usually in large part already available in the persistence context; it can be slower when the indexing operation needs to load additional entities from the database.