Erik Hatcher schrieb:

On Nov 17, 2008, at 2:11 PM, Matthias Epheser wrote:
After we add the SolrQueryResponse to the templates first, we realized that some convenience methods for iterating the result docs, accessing facets etc. would be fine.

The idea was to reuse the existing wrappers (eg. QueryResponse). It makes it much nicer to create templates, because velocity is made to just render things, so code using docsets etc. directly may be very overloaded.

Right, and well understood. What I've put out there is a barebones skeleton, and there are lots of TODOs for these conveniences. I want to get it using SolrJ's API for request/response rather than the more internal stuff we're using now.

Got your point.

I just added a new patch at https://issues.apache.org/jira/browse/SOLR-620 that makes solrjs run again. It includes:

- support for response wrapping
- support for json wrap
- adding the "v." prefix to all request parameters for consistency reasons.

I'm aware that some parts of this features may be achieved in a nicer way. As you know the SolrJ code better, thanks for your thoughts, I'll try also to dig into the SolrJ side to get a better picture. See this patch as a "feature list" I need for solrjs.

matthias


    Erik


Reply via email to