Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-18514

Improve Multi-Word Term Search performance with RLP

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.1.4
    • Affects Version/s: 3.1.2
    • Component/s: Text Search
    • Fully Compatible
    • ALL
    • Platform 4 06/05/15

      During text query analysis, we call into RLP for each term. Since RLP is more expensive then our Basic FTS algorithm, we should amortize the cost of this analysis by only calling into RLP once per set of positive, and negative terms.

      The best approach is pass a space (U+0020) delimited set of terms into RLP. This will work since space is a word boundary. See http://www.unicode.org/reports/tr29/#Word_Boundaries.

            Assignee:
            mark.benvenuto@mongodb.com Mark Benvenuto
            Reporter:
            mark.benvenuto@mongodb.com Mark Benvenuto
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: