lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Hatcher (JIRA)" <j...@apache.org>
Subject [jira] Commented: (SOLR-620) Velocity Response Writer
Date Thu, 10 Jul 2008 15:22:33 GMT

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

Erik Hatcher commented on SOLR-620:
-----------------------------------

Another handy method to get all the documents is SolrIndexSearcher#readDocs(Document[] docs,
DocList ids) - however it is probably best for memory usage (or is it?) to continue to use
the DocList#iterator() so only a single document is loaded at a time in case there are large
field values or a lot of documents requested.   Although this point will be a bit moot when
Velocity layouts are implemented (something I plan to do eventually) where the original template
is generated into a string buffer and then another wrapping template is generated around it.

> Velocity Response Writer
> ------------------------
>
>                 Key: SOLR-620
>                 URL: https://issues.apache.org/jira/browse/SOLR-620
>             Project: Solr
>          Issue Type: New Feature
>          Components: search
>    Affects Versions: 1.3
>            Reporter: Erik Hatcher
>            Assignee: Erik Hatcher
>            Priority: Minor
>         Attachments: SOLR-620.jars.zip, SOLR-620.patch, SOLR-620.patch
>
>
> Add a Velocity - http://velocity.apache.org - response writer, making it possible to
generate a decent search UI straight from Solr itself.  Designed to work standalone or in
conjunction with the JSON response writer (or SolrJS) for Ajaxy things.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message