Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-3767

MassIndexer breaks search feature with one node cluster

    Details

      Description

      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

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                anistor Nistor Adrian
                Reporter:
                rpelisse Romain Pelisse
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: