Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-19199

[FTS] Bleve does not return some docs for a wildcard query

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Critical
    • 4.5.0
    • 4.5.0
    • cbft
    • None
    • Untriaged
    • Unknown

    Description

      Build
      4.5.0-2047

      Testcase
      ./testrunner -i INI_FILE.ini get-cbcollect-info=True,get-coredumps=True,get-logs=False,stop-on-failure=False,compare_es=True,cluster=D+F,GROUP=P1 -t fts.stable_topology_fts.StableTopFTS.test_query_type,items=50000,num_queries=500,query_types=wildcard,cluster=D,F,F,compare_es=True,dataset=all,GROUP=P1

      Or load the dump file attached and run the following query -

      [2016-04-13 06:10:05,349] - [task:1097] INFO - ------------------------------------------------------------------ Query # 221 -----------------------------------------------------------------
      [2016-04-13 06:10:05,362] - [fts_base:1091] INFO - Running query {"from": 0, "indexName": "default_index", "fields": [], "explain": false, "ctl": {"timeout": 60000, "consistency": {"vectors": {}, "level": ""}}, "query": {"field": "revision.contributor.username", "wildcard": "*"}, "size": 10000000} on node: 172.23.107.125
      [2016-04-13 06:10:09,030] - [rest_client:2236] INFO - Status: {u'successful': 32, u'failed': 0, u'total': 32}
      [2016-04-13 06:10:09,107] - [task:1106] INFO - FTS hits for query: {"field": "revision.contributor.username", "wildcard": "*"} is 23228 (took 2684.905905ms)
      [2016-04-13 06:10:14,897] - [task:1116] INFO - ES hits for query: {"wildcard": {"revision.contributor.username": "*"}} on es_index is 23330 (took 953ms)
      [2016-04-13 06:10:14,897] - [task:1121] ERROR - FAIL: FTS hits: 23228, while ES hits: 23330
      [2016-04-13 06:10:14,947] - [task:1136] ERROR - FAIL: Following 102 docs were not returned by FTS, but ES, printing 50: [u'wiki10007550', u'wiki10000406', u'wiki10009462', u'wiki10018804', u'wiki10024156', u'wiki10009833', u'wiki10002198', u'wiki10023293', u'wiki10018202', u'wiki10002215', u'wiki10002216', u'wiki10007195', u'wiki10012961', u'wiki10010665', u'wiki10003586', u'wiki10015146', u'wiki10012399', u'wiki10010442', u'wiki10009570', u'wiki10006098', u'wiki10022744', u'wiki10023826', u'wiki10000539', u'wiki10023697', u'wiki10013799', u'wiki10023594', u'wiki10019908', u'wiki10001323', u'wiki10014667', u'wiki10008264', u'wiki10022850', u'wiki10002217', u'wiki10007305', u'wiki10019945', u'wiki10024294', u'wiki10000354', u'wiki10000515', u'wiki10011045', u'wiki10019407', u'wiki10009905', u'wiki10009143', u'wiki10000962', u'wiki10009148', u'wiki10012836', u'wiki10003551', u'wiki10018535', u'wiki10021042', u'wiki10008165', u'wiki10024955', u'wiki10014942']
      

      Sampling a doc:

      {
          "_id": "wiki10007550",
          "_index": "es_index",
          "_source": {
              "id": "14408",
              "mutated": 0,
              "revision": {
                  "comment": "done",
                  "contributor": {
                      "id": "100784",
                      "username": "I-on"
                  },
                  "id": "2108054",
                  "minor": null,
                  "text": {
                      "#text": "[[File:MartinEB18front-1.jpg|150px|thumb|right|A bass guitar in its padded case. The two knobs on the front are for controlling the volume (loudness or softness) and tone of the bass.]]\nA '''bass guitar'''<ref>According to the New Grove Dictionary of Music and Musicians, an \"Electric bass guitar [bass guitar] [is] an Electric Guitar, usually with four heavy strings tuned E'\u2013A'\u2013D\u2013G.\" ''The New Grove Dictionary of Music and Musicians'', second edition, edited by Stanley Sadie and John Tyrrell (London, 2001)</ref> (also called an \"''electric bass''\"<ref>The New Grove Dictionary of Music and Musicians defines the term ''bass'' thus: \"Bass (iv). A contraction of Double bass or Electric bass guitar.\" Ibid.</ref><ref>The proper term is \"electric bass\", and it is often misnamed \"bass guitar\", according to Tom Wheeler, ''The Guitar Book'', pp 101\u20132. ''Guitars'' by Evans and Evans, page 342, agrees.</ref><ref>Although \"electric bass\" is one of the common names for the instrument, \"bass guitar\" or \"electric bass guitar\" are commonly used and some authors claim that they are historically accurate (e.g., \"How The Fender Bass Changed The World\" in the references section).</ref> or \"''bass''\") is a [[string instrument]] which is related to the [[electric guitar]]. The bass guitar is shaped like an electric guitar, except that it is longer than an electric guitar. The [[electric bass]] has many of the same parts as an electric guitar. However, the bass guitar produces [[Bass|lower tones]] than the electric guitar. \n\nThe bass guitar is used to play low [[music]]al [[sound]]s called \"bass lines\" in many styles of music such as [[Rock and roll|rock]] music, [[pop music]], country music, [[jazz fusion]] music and many more.\n\n== History ==\nThe bass guitar was first made in the 1930s by inventor Paul Tutmarc from [[Seattle, Washington]].<ref>{{cite web |url=http://tutmarc.tripod.com/paultutmarc.html |title=tripod |author=Bud Tutmarc  |accessdate=31 March 2010}}</ref> However, very few musicians were interested in the instrument that Tutmarc made. It was the 1950s when musicians finally started to play the [[double bass]] in [[jazz]], [[blues]], [[folk music|folk]], and early [[rock music]]. The double bass was big, heavy, hard to carry around and was hard to play precise [[note (music)|notes]] on. Musicians wanted a smaller instrument that weighed less. Inventors tried to think of ways of building a smaller and lighter bass instrument. One of these inventors was a man named [[Leo Fender]] in the [[United States]]. Leo Fender developed a bass guitar in the 1950s using the ideas developed by Tutmarc. \n\nLeo Fender used many parts for the bass guitar that are similar to the parts of an [[electric guitar]]. Leo Fender called the instrument the \"Fender Precision Bass\". He used the word \"Precision\" in the name because his instrument had metal [[fret]]s on the neck. The double bass did not have frets on its neck. The frets on the bass guitar made it easier for musicians to play precise [[note (music)|notes]]. The bass guitar developed by Leo Fender became very popular. In the 2000s, many bass guitars are still designed to look like his Fender Precision Bass.\n\n== Description ==\n[[File:Fretless 02.JPG|150px|thumb|left|A fretless bass guitar]]\nBass guitars are normally made out of wood. Bass guitars have a few main pieces such as a body, neck, fingerboard, frets, and strings. The body is made out of wood. A wooden neck is [[glue]]d or bolted onto the body. A wooden fingerboard is then glued onto the neck. Then, thin metal strips called [[fret]]s are glued onto the fingerboard. In the 1960s and 1970s some musicians took the frets off their bass guitars. Taking the frets off a bass guitar changes the sound of the it. A bass guitar without frets is called a fretless bass guitar.\n\nSome bassists use both fretted and fretless basses in performances. As with Pino Palladino, whose performance on the fretless bass during the 1980s made him a highly desirable session player backing high profile musicians like [[Eric Clapton]] and [[David Gilmour]]. However, the late 1990s showed a change toward fretted basses as well, as he branched out into many of [[genres]]. While fretless basses are common with [[jazz]] and [[jazz fusion]], bassists from other [[genre]]s use fretless basses, such as metal bassist Steve DiGiorgio and Colin Edwin of modern/[[progressive rock]] [[band]] Porcupine Tree.\n\nBass guitars normally have four metal strings. In the 1970s and 1980s, some bass guitar makers began to offer bass guitars with [[five]] or [[six]] metal strings. Bass guitars with five or six strings can play a lower range of tones than a bass guitar with [[four]] strings.\n\n== Strings and sound ==\nThe basic [[design]] for the electric bass guitar has four strings, tuned E, A, D and G. Bass guitars also have magnetic pickups mounted on the body underneath the strings. A musician plucks the strings with their fingers. This makes the strings [[vibrate]]. The magnetic pickups detect the vibrations. Then the vibrations from the strings are converted into an electronic signal which is sent with a metal cable to an electronic [[amplifier]] and a [[loudspeaker]]. The musician rotates a volume control knob that is located on the body of the bass to make the sound of a bass guitar loud or quiet.\n\n==References==\n{{reflist}}\n\n== Other pages ==\n* [[Bass]]\n* [[Double bass]]\n\n{{commonscat|Bass guitars}}\n\n[[Category:Guitars]]\n\n[[af:Baskitaar]]\n[[ar:\u063a\u064a\u062a\u0627\u0631 \u0627\u0644\u0628\u0627\u0633]]\n[[an:Baixo electrico]]\n[[ast:Baxu]]\n[[be:\u0411\u0430\u0441-\u0433\u0456\u0442\u0430\u0440\u0430]]\n[[be-x-old:\u0411\u0430\u0441-\u0433\u0456\u0442\u0430\u0440\u0430]]\n[[bar:E-Boss]]\n[[bs:Bas gitara]]\n[[br:Gitar-boud]]\n[[bg:\u0411\u0430\u0441 \u043a\u0438\u0442\u0430\u0440\u0430]]\n[[ca:Baix el\u00e8ctric]]\n[[cs:Basov\u00e1 kytara]]\n[[da:El-bas]]\n[[de:E-Bass]]\n[[et:Basskitarr]]\n[[el:\u039c\u03c0\u03ac\u03c3\u03c3\u03bf]]\n[[en:Bass guitar]]\n[[es:Bajo el\u00e9ctrico]]\n[[eo:Basgitaro]]\n[[eu:Baxu elektriko]]\n[[fa:\u06af\u06cc\u062a\u0627\u0631 \u0628\u06cc\u0633]]\n[[fr:Guitare basse]]\n[[ga:Dordghiot\u00e1r]]\n[[gl:Baixo]]\n[[ko:\ubca0\uc774\uc2a4 \uae30\ud0c0]]\n[[hr:Bas gitara]]\n[[id:Gitar bass]]\n[[is:Rafbassi]]\n[[it:Basso elettrico]]\n[[he:\u05d2\u05d9\u05d8\u05e8\u05d4 \u05d1\u05e1]]\n[[ka:\u10d1\u10d0\u10e1-\u10d2\u10d8\u10e2\u10d0\u10e0\u10d0]]\n[[la:Cithara gravis]]\n[[lv:Bas\u0123it\u0101ra]]\n[[lt:Bosin\u0117 gitara]]\n[[hu:Basszusgit\u00e1r]]\n[[mk:\u0411\u0430\u0441 \u0433\u0438\u0442\u0430\u0440\u0430]]\n[[ml:\u0d2c\u0d47\u0d38\u0d4d \u0d17\u0d3f\u0d31\u0d4d\u0d31\u0d3e\u0d30\u0d4d\u200d]]\n[[nah:Tl\u0101hu\u012bln\u0101uhmecatl]]\n[[nl:Basgitaar]]\n[[nds-nl:Basgitaar]]\n[[ja:\u30a8\u30ec\u30af\u30c8\u30ea\u30c3\u30af\u30d9\u30fc\u30b9]]\n[[no:Bassgitar]]\n[[nn:Bassgitar]]\n[[oc:Guitarra baisha]]\n[[pl:Gitara basowa]]\n[[pt:Baixo el\u00e9trico]]\n[[ksh:E-Bass]]\n[[ro:Chitar\u0103 bas]]\n[[ru:\u0411\u0430\u0441-\u0433\u0438\u0442\u0430\u0440\u0430]]\n[[scn:Bassu (chitarra)]]\n[[sk:Basov\u00e1 gitara]]\n[[sl:Bas kitara]]\n[[sr:\u0411\u0430\u0441 \u0433\u0438\u0442\u0430\u0440\u0430]]\n[[fi:Bassokitara]]\n[[sv:Elbas]]\n[[th:\u0e01\u0e35\u0e15\u0e32\u0e23\u0e4c\u0e40\u0e1a\u0e2a]]\n[[tr:Bas gitar]]\n[[uk:\u0411\u0430\u0441-\u0433\u0456\u0442\u0430\u0440\u0430]]\n[[zh:\u96fb\u8c9d\u65af]]",
                      "@xml:space": "preserve"
                  },
                  "timestamp": "2010-04-02T16:28:18Z"
              },
              "title": "Bass guitar",
              "type": "wiki"
          },
          "_type": "wiki",
          "_version": 4,
          "found": true
      }
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            apiravi Aruna Piravi (Inactive)
            apiravi Aruna Piravi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty