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

"literal" function can not be parsed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.0-ALPHA, 6.0
    • None
    • 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

        1. SOLR-3522.patch
          3 kB
          Chris M. Hostetter

        Activity

          People

            hossman Chris M. Hostetter
            hossman Chris M. Hostetter
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: