Open GoogleCodeExporter opened 8 years ago
After a view hours I got the expected result. I would like to share this here
for review and maybe if accepted it will be commited and make others also happy.
Original comment by frank.ro...@gmail.com
on 8 Oct 2011 at 6:54
Attachments:
There are several Solr request plugins that can adds bits of information to the
response format. These are all already available through the client's Response
object (using magic __get), however often they need extra massaging to be put
in a useful format - as you've discovered.
I've decided to keep _parseData minimal like it is because it'd be hard to keep
up with all the plugins and what I consider useful processing might not be what
the next person wants. Most users do their processing outside of the client. A
good example is highlighting response processing.
Something I can offer to do is allow the setting of processing callbacks that
could be chained together as the user wants. A set of functions could then be
offered within the client codebase that could be used directly or as starting
points.
Does that sound interesting?
Original comment by donovan....@gmail.com
on 10 Oct 2011 at 3:41
Original issue reported on code.google.com by
frank.ro...@gmail.com
on 8 Oct 2011 at 4:10