Recommended strategy for document repositories

This topic describes a good starting strategy to try if you are working with a document repository.

The strategy assumes the following:
The strategy is as follows:
The modules in this strategy work like this:
  1. NTerms, the first module, ensures that in a multi-word search, the more words that match the better.
  2. MaxField puts cross-field matches as high in priority as possible, to the point where they could tie with non-cross-field matches.
  3. The next module, Glom, decomposes cross-field matches, effectively breaking any ties resulting from MaxField. Together, MaxField and Glom provide the proper ordering, depending upon what matched.
  4. Applying the Phrase module ensures that results containing the user’s query as an exact phrase are given a higher priority than matching containing the user’s search terms sprinkled throughout the text.
  5. Optionally, the Static module can be used to sort the remaining ties by criteria such as ReleaseDate or Popularity.