[ 
http://issues.apache.org/jira/browse/SOLR-66?page=comments#action_12447894 ] 
            
Fuad Efendi commented on SOLR-66:
---------------------------------

/sorry for not having access to E-mail and using POST temporarily.../

HTTP-POST: should work without any code changes.

In /resources/admin/index.jsp, <form name=queryForm method="GET" 
action="../select/"> Simply replace GET to POST, and everything should work ...

You have following in org.apache.solr.servlet.SolrServlet:
  public void doPost(HttpServletRequest request, HttpServletResponse response) 
throws ServletException, IOException {
    doGet(request,response);
  }

And, you are using standard Servlet API to retrieve ServletRequest parameters,
http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/ServletRequest.html#getParameterMap()
 

public class ServletSolrParams extends MultiMapSolrParams {
  public ServletSolrParams(ServletRequest req) {
    super(req.getParameterMap());
  }

Existing SOLR should work with POST HTML forms without any change in Java...

> bulk data loader
> ----------------
>
>                 Key: SOLR-66
>                 URL: http://issues.apache.org/jira/browse/SOLR-66
>             Project: Solr
>          Issue Type: New Feature
>            Reporter: Yonik Seeley
>         Assigned To: Yonik Seeley
>
> A way to efficiently load simple formatted text files, including CSV files.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to