lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley (JIRA)" <>
Subject [jira] Commented: (SOLR-612) solrj should (optionally?) use POST for queries
Date Thu, 10 Jul 2008 16:46:31 GMT


Yonik Seeley commented on SOLR-612:

Hmmm, I guess with .query() you can't.  I was looking at .request() which takes a SolrRequest
which has a setMethod() on it.

Perhaps we should add a setter on CommonsHttpSolrServer that can override the "GET" of any
SolrRequest and change it to "POST"?

> solrj should (optionally?) use POST for queries
> -----------------------------------------------
>                 Key: SOLR-612
>                 URL:
>             Project: Solr
>          Issue Type: Bug
>          Components: clients - java
>    Affects Versions: 1.3
>         Environment: all
>            Reporter: Brian Whitman
>             Fix For: 1.3
>         Attachments: solrj-post.diff
> 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:
> Tiny patch attached that changes it and doesn't cause an exception on long queries in
Jetty w/ solrj.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message