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

Allow disabling of leading wildcards in ExtendedDismaxQParser (edismax)

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.2
    • None
    • query parsers
    • None

    Description

      It would be nice if there was a configuration to disable leading wildcards in edismax queries. Right now it seems they are always allowed, and there is no configuration to change this.

      Something simple like this would do it I think:
      up.setAllowLeadingWildcard(solrParams.getBool("allowLeadingWildcard", true));

      Attachments

        1. SOLR-3031.patch
          2 kB
          Michael Ryan

        Issue Links

          Activity

            People

              Unassigned Unassigned
              michaelryan Michael Ryan
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: