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

solrj should (optionally?) use POST for queries

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.3
    • 1.3
    • clients - java
    • None
    • all

    Description

      Can we make solrj always send post queries (or have it be an init-able option)?

      Jetty has some "problems" (in quotes because I don't know if it's really a problem) with long queries over GET:

      http://www.mail-archive.com/solr-user@lucene.apache.org/msg09457.html
      http://mail-archives.apache.org/mod_mbox/lucene-solr-user/200804.mbox/%3C47F50996.80705@umich.edu%3E

      Tiny patch attached that changes it and doesn't cause an exception on long queries in Jetty w/ solrj.

      Attachments

        1. SOLR-612.patch
          2 kB
          Lars Kotthoff
        2. solrj-post.diff
          0.6 kB
          Brian Whitman

        Issue Links

          Activity

            People

              Unassigned Unassigned
              bwhitman Brian Whitman
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: