Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-7466

Allow optional leading wildcards in complexphrase

    XMLWordPrintableJSON

Details

    Description

      Currently ComplexPhraseQParser (SOLR-1604) allows trailing wildcards on terms in a phrase, but does not allow leading wildcards. I would like the option to be able to search for terms with both trailing and leading wildcards.

      For example with:

      {!complexphrase allowLeadingWildcard=true}

      "j* *th"
      would match "John Smith", "Jim Smith", but not "John Schmitt"

      Attachments

        1. SOLR-7466.patch
          12 kB
          Mikhail Khludnev
        2. SOLR-7466.patch
          5 kB
          Mikhail Khludnev

        Issue Links

          Activity

            People

              mkhl Mikhail Khludnev
              fenra Andy hardin
              Votes:
              3 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: