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

"literal" function can not be parsed

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0-ALPHA, 6.0
    • Component/s: None
    • Labels:
      None

      Description

      attempting to use the "literal" function in the fl param causes a parse error...

      Example queries with functions that works fine...

      http://localhost:8983/solr/collection1/select?q=*:*&fl=foo:sum%284,5%29
      http://localhost:8983/solr/collection1/select?fl=score&q={!func}strdist%28%22foo%22,%22fo%22,edit%29
      

      Examples using literal function that fails...

      http://localhost:8983/solr/collection1/select?q=*:*&fl=foo:literal%28%22foo%22%29
      http://localhost:8983/solr/collection1/select?fl=score&q={!func}strdist%28%22foo%22,literal%28%22fo%22%29,edit%29
      

        Attachments

          Activity

            People

            • Assignee:
              hossman Hoss Man
              Reporter:
              hossman Hoss Man
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: