Uploaded image for project: 'Lucy'
  1. Lucy
  2. LUCY-182

highlighter bug when searching for duplicate terms [wordX wordX]

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.1.0 (incubating), 0.2.0 (incubating), 0.2.1 (incubating)
    • 0.3.0 (incubating)
    • Core
    • None

    Description

      I stumbled onto this one when searching for [business to business].

      Source <TITLE>: ...Companies, Products, Trade Leads, Business Marketplace

      'to' is a stopword which is ignored - no problem.
      So the query then becomes [business business]. The highlighter then produces:

      ...Companies, Products, Trade Leads, <strong>Business</strong>
      <strong>Marketp</strong>lace

      I then spent some time chasing my tail trying to reduce things down to
      a small reproducible unit, and finally decided to try searching for
      any duplicate [wordX wordX], and sure enough it's reproducible with
      all my indexes.

      Attachments

        1. LUCY-182-test.pl
          1 kB
          Nikolas Wellnhofer
        2. LUCY-182-nwellnhof.patch
          6 kB
          Nikolas Wellnhofer
        3. LUCY-182.patch
          0.8 kB
          Marvin Humphrey

        Activity

          People

            nwellnhof Nikolas Wellnhofer
            fgl gk
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: