Solr
  1. Solr
  2. SOLR-3820

Solr Admin Query form is missing some edismax request parameters

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.0-BETA
    • Fix Version/s: 4.1
    • Component/s: web gui
    • Labels:
      None

      Description

      The following edismax parameters are missing from the Solr Admin Query form:

      uf - User Fields
      pf2 - bigram phrase boost fields
      pf3 - trigram phrase boost fields
      ps2 - phrase slop for bigram phrases
      ps3 - phrase slop for trigram phrases
      boost - multiplicative boost function
      stopwords - remove stopwords from mandatory "matching" component (true/false, defaults to true)
      lowercaseOperators - Enable lower-case "and" and "or" as operators (true/false, defaults to true)

      The ability to set field name aliases is also missing: f.myalias.qf=realfield.

      1. SOLR-3820.patch
        6 kB
        Stefan Matheis (steffkes)
      2. SOLR-3820.patch
        4 kB
        Stefan Matheis (steffkes)

        Activity

        Hide
        Jan Høydahl added a comment -

        Good catch

        Show
        Jan Høydahl added a comment - Good catch
        Hide
        Stefan Matheis (steffkes) added a comment -

        I'll see what i can do here - adding new fields is normally not a problem, a bit tricky are the two checkboxes .. because right now, all settings which are (f.e.) facet related are named facet.foo, facet.bar and so on - so it's easy to remove (or even, not add) them to the query params .. but stopwords & lowercaseOperators are very generic :/

        The first Idea was to loop over all "main" options and only allow sub-options if the parent is checked .. but not sure if this works for all cases, so have to figure that out

        The ability to set field name aliases is also missing: f.myalias.qf=realfield.

        Hum yes, right .. what about a textfield which is 1:1 used in the query-string, will that be okay?

        Show
        Stefan Matheis (steffkes) added a comment - I'll see what i can do here - adding new fields is normally not a problem, a bit tricky are the two checkboxes .. because right now, all settings which are (f.e.) facet related are named facet.foo, facet.bar and so on - so it's easy to remove (or even, not add) them to the query params .. but stopwords & lowercaseOperators are very generic :/ The first Idea was to loop over all "main" options and only allow sub-options if the parent is checked .. but not sure if this works for all cases, so have to figure that out The ability to set field name aliases is also missing: f.myalias.qf=realfield. Hum yes, right .. what about a textfield which is 1:1 used in the query-string, will that be okay?
        Hide
        Stefan Matheis (steffkes) added a comment -

        added all mentioned fields, also included a "raw query" field which is 1:1 used in the query-string (for all options which have no separate field right now, or other fancy options which are hard to handle - like the alias mapping).

        changed handling for including "sub" options .. now we loop over all sections, checking the parent checkbox and only if active, include the child options.

        Show
        Stefan Matheis (steffkes) added a comment - added all mentioned fields, also included a "raw query" field which is 1:1 used in the query-string (for all options which have no separate field right now, or other fancy options which are hard to handle - like the alias mapping). changed handling for including "sub" options .. now we loop over all sections, checking the parent checkbox and only if active, include the child options.
        Hide
        Commit Tag Bot added a comment -

        [trunk commit] Stefan Matheis
        http://svn.apache.org/viewvc?view=revision&revision=1432361

        SOLR-3820: Solr Admin Query form is missing some edismax request parameters

        Show
        Commit Tag Bot added a comment - [trunk commit] Stefan Matheis http://svn.apache.org/viewvc?view=revision&revision=1432361 SOLR-3820 : Solr Admin Query form is missing some edismax request parameters
        Hide
        Commit Tag Bot added a comment -

        [branch_4x commit] Stefan Matheis
        http://svn.apache.org/viewvc?view=revision&revision=1432362

        SOLR-3820: Solr Admin Query form is missing some edismax request parameters (merge r1432361)

        Show
        Commit Tag Bot added a comment - [branch_4x commit] Stefan Matheis http://svn.apache.org/viewvc?view=revision&revision=1432362 SOLR-3820 : Solr Admin Query form is missing some edismax request parameters (merge r1432361)

          People

          • Assignee:
            Stefan Matheis (steffkes)
            Reporter:
            Jack Krupansky
          • Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development