Status: Closed (View Workflow)
Affects Version/s: 5.2.4.Final
Trying to cope with the extreme slowliness of put() operation with indexing , 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:
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).
If run within a single node cluster, the MassIndexer