[ 
https://issues.apache.org/jira/browse/SOLR-612?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12612871#action_12612871
 ] 

Lars Kotthoff commented on SOLR-612:
------------------------------------

Ah, good point. Yes, this should probably be moved to the http server 
implementation. SolrServer just occured to me as the most obvious place since 
the query() method is defined there.

Incidentally, would it make sense to keep the second query method there but 
generalise the request method? Something to specify non-solr parameters with a 
request in general.

> solrj should (optionally?) use POST for queries
> -----------------------------------------------
>
>                 Key: SOLR-612
>                 URL: https://issues.apache.org/jira/browse/SOLR-612
>             Project: Solr
>          Issue Type: Bug
>          Components: clients - java
>    Affects Versions: 1.3
>         Environment: all
>            Reporter: Brian Whitman
>             Fix For: 1.3
>
>         Attachments: SOLR-612.patch, 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:
> http://www.mail-archive.com/[EMAIL PROTECTED]/msg09457.html
> http://mail-archives.apache.org/mod_mbox/lucene-solr-user/200804.mbox/[EMAIL 
> PROTECTED]
> 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.

Reply via email to