lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley (JIRA)" <>
Subject [jira] Commented: (SOLR-2112) Solrj should support streaming response
Date Mon, 13 Sep 2010 18:21:34 GMT


Yonik Seeley commented on SOLR-2112:

Can StreamingResponseCallback be an abstract class for easier back compat?
I imagine we could want to stream other stuff in the future (output from terms component,
facet component, term vector component, etc).

> Solrj should support streaming response
> ---------------------------------------
>                 Key: SOLR-2112
>                 URL:
>             Project: Solr
>          Issue Type: New Feature
>          Components: clients - java
>            Reporter: Ryan McKinley
>             Fix For: 4.0
>         Attachments: SOLR-2112-StreamingSolrj.patch, SOLR-2112-StreamingSolrj.patch
> 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:
For additional commands, e-mail:

View raw message