-
Bug
-
Resolution: Done
-
Major
-
5.2.4.Final
-
None
Hi,
Trying to cope with the extreme slowliness of put() operation with indexing [1], I've tried to use the MassIndexer, to create the index AFTER adding all the data in the grid. This actually works pretty well, but, when running in a "single node" grid, it "breaks" the search, which always returns 0 result to any kind of query.
I've modified one of the test suite of InfiniSpan to reproduce the issue:
https://github.com/rpelisse/infinispan/tree/mass-indexer-breaks-search-with-mono-instance
Once this branch is checked out, just run :
$ cd ./query
$ mvn clean -Dtest=org.infinispan.query.distributed.DistributedMassIndexingTest test
Note: MassIndexer being implemented using the Map/Reduce algorithm, it requires to run within a cluster (ie several instances of ISPN).
[1] http://stackoverflow.com/questions/10090361/infinispan-very-slow-for-loading-data-with-indexing-can-it-be-made-faster
If run within a single node cluster, the MassIndexer