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

Improve Multi-Word Term Search performance with RLP

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.1.4
    • 3.1.2
    • Text Search
    • Fully Compatible
    • ALL
    • Platform 4 06/05/15

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: