lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maxim Valyanskiy (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-2090) Allow reader to be passed in SolrInputDocument.addField method
Date Mon, 25 Jul 2011 14:51:10 GMT

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

Maxim Valyanskiy commented on SOLR-2090:
----------------------------------------

This patch add support java.io.Reader request data type.

Streaming is only implelemented in XML Codec. Binary codec reads complete stream into string
on marshalling due to protocol limitations

> Allow reader to be passed in SolrInputDocument.addField method
> --------------------------------------------------------------
>
>                 Key: SOLR-2090
>                 URL: https://issues.apache.org/jira/browse/SOLR-2090
>             Project: Solr
>          Issue Type: Improvement
>          Components: clients - java
>    Affects Versions: 1.4.1
>         Environment: Windows Vista 32 bit. JDK 1.6.
>            Reporter: Bojan Vukojevic
>         Attachments: SOLR-2090.patch
>
>
> I am using SolrJ with embedded  Solr server and some documents have a lot of text. Solr
will be running on a small device with very limited memory. In my tests I cannot process more
than 3MB of text (in a body) with 64MB heap. According to Java there is about 30MB free memory
before I call server.add and with 5MB of text it runs out of memory.  
> I sent an inquiry to a mailing list and was advised to create JIRA issue. 

--
This message is automatically generated by JIRA.
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