lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan McKinley (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-3038) Solrj should use javabin wireformat by default with updaterequests
Date Fri, 20 Apr 2012 17:50:41 GMT

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

Ryan McKinley commented on SOLR-3038:
-------------------------------------

hymm -- to make sure I am not crazy, i just:
 1. downloaded solr 1.4.1
 2. java -jar start.jar
 3. added docs with post.sh
 4. ran this quick test from /trunk
{code:java}
  public static void main(String[] args) throws SolrServerException {
    HttpSolrServer solr = new HttpSolrServer("http://localhost:8983/solr");
    solr.setParser(new XMLResponseParser());
    SolrDocumentList docs = solr.query(new SolrQuery("*:*")).getResults();
    for( SolrDocument doc : docs ) {
      System.out.println(doc);
    }
  }
{code}

it prints out everything just fine

The lucene index format is unrelated to the XML format that solr uses


                
> Solrj should use javabin wireformat by default with updaterequests
> ------------------------------------------------------------------
>
>                 Key: SOLR-3038
>                 URL: https://issues.apache.org/jira/browse/SOLR-3038
>             Project: Solr
>          Issue Type: Improvement
>          Components: clients - java
>    Affects Versions: 4.0
>            Reporter: Sami Siren
>            Priority: Minor
>
> The javabin wire format is faster than xml when feeding Solr - it should become the default.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message