Return-Path: Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: (qmail 2643 invoked from network); 8 Sep 2010 18:15:55 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 8 Sep 2010 18:15:55 -0000 Received: (qmail 67501 invoked by uid 500); 8 Sep 2010 18:15:54 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 67398 invoked by uid 500); 8 Sep 2010 18:15:53 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 67391 invoked by uid 99); 8 Sep 2010 18:15:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Sep 2010 18:15:53 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Sep 2010 18:15:53 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o88IFW4C007478 for ; Wed, 8 Sep 2010 18:15:32 GMT Message-ID: <7479085.81471283969732683.JavaMail.jira@thor> Date: Wed, 8 Sep 2010 14:15:32 -0400 (EDT) From: "Ryan McKinley (JIRA)" To: dev@lucene.apache.org Subject: [jira] Created: (SOLR-2112) Solr should support streaming response MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Solr should support streaming response -------------------------------------- Key: SOLR-2112 URL: https://issues.apache.org/jira/browse/SOLR-2112 Project: Solr Issue Type: New Feature Components: clients - java Reporter: Ryan McKinley Fix For: 4.0 The solrj API should optionally support streaming documents. Rather then putting all results into a SolrDocumentList, sorlj should be able to call a callback function after each document is parsed. This would allow someone to call query.setRows( Integer.MAX_INT ) and get each result to the client without loading them all into memory. For starters, I think the important things to stream are SolrDocuments, but down the road, this could also stream other things (consider reading all terms from the index) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org