Search Grid for dtSearch

What's changing

In versions 7.2-7.5, Relativity built dtSearch indexes by merging several small indexes into one large index for a workspace. When a user performed a dtSearch in Relativity, it ran against that single index. Beginning in Relativity 8, dtSearch indexes consist of several-to-many sub-indexes. Relativity searches against these indexes simultaneously. This change results in significant performance increases in both searching and building.

On the build side, one of the biggest time consumptions was the merge phase, when each sub-index would be merged into the final, large index. With Search Grid, that merge phase is eliminated completely.

Performance enhancements

Relativity Lab Testing found that building speeds nearly double with the addition of the Search Grid. When running basic and complex searches, they complete significantly faster. Depending on how you scale your hardware, these performance changes could vary. For a full overview of Search Grid performance testing and metrics, please refer to the Performance Metrics section.

Infrastructure changes with Search Grid

Prior to Relativity 8, dtSearch index building was performed on an agent server, while searching took place on a web server. Index building takes place on the same hardware in Relativity 8, but agent servers are now used to host search requests.

Due to architectural changes made to Relativity 8 dtSearch incremental build, your infrastructure must be able to handle duplicate copies of all sub-indexes that require modification or compression when running an incremental build. For incremental builds that are only adding new documents, the system copies and updates only one sub-index. However, if your incremental build is removing documents from previously existing sub-indexes, then the system copies and updates each sub-index from which documents were removed. Duplicate sub-indexes are removed when the Case manager agent runs. Verify that incremental builds are sustainable within your firm's infrastructure. See dtSearch for more information regarding incremental builds, compression and sub-index fragmentation threshold settings.

Schema changes

This section explains the differences between the schema prior to Relativity 8 and the new schema for Search Grid in Relativity 8.

Schema prior to Relativity 8

Prior to Relativity 8, Relativity built dtSearch indexes using two tables, eddsdbo.dtSearchIndex and eddsdbo.dt_POP_##. The former table was used to store a list of all indexes and their settings. The latter was a list of all documents in an index, as well as their current status, which would be updated during a build.

Schema in Relativity 8

Beginning in Relativity 8, the database schema remains largely the same, with the addition of one new table type. For each sub-index that is built, there is now an additional POP table, named after the master index. The name is appended with a number for the sub-index, as shown below:

Search Grid FAQ