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

pluggable query parsers

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.3
    • None
    • None

    Description

      One should be able to optionally specify an alternate query syntax on a per-query basis
      http://www.nabble.com/Using-HTTP-Post-for-Queries-tf3039973.html#a8483387
      Many benefits, including avoiding the need to do query parser escaping for simple term or prefix queries.
      Possible Examples:
      fq=<!term field="myfield">The Term
      fq=<!prefix field="myfield">The Prefix
      q=<!qp op="AND">a b
      q=<!xml><?xml...> // lucene XML query syntax?

      Attachments

        1. angle2curly.patch
          13 kB
          Yonik Seeley
        2. qparser.patch
          90 kB
          Yonik Seeley
        3. qparser.patch
          97 kB
          Yonik Seeley
        4. qparser.patch
          70 kB
          Yonik Seeley

        Issue Links

          Activity

            People

              Unassigned Unassigned
              yseeley@gmail.com Yonik Seeley
              Votes:
              2 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: