[Catalyst] Working a Solr Model

Robert Brown rob at intelcompute.com
Sun Sep 29 08:33:12 GMT 2013


I've always rolled my own for due to the reasons you mention with what's 
on CPAN, tho I last did this more than 2 years ago, so even my examples 
need cleaning up and re-factoring again  :-/



On 09/29/2013 08:54 AM, John Karr wrote:
> I'm commencing a project that is going to use Solr because it will be 
> search intensive.
>
> My research hasn't turned up a lot in terms of discussion and how tos 
> for either Solr and Perl or Solr and Catalyst. There are two CPAN 
> modules which I've been experimenting with, WebService::Solr and 
> Apache::Solr.
> WebService::Solr only implements the LWP agent part of working with 
> Solr, which still leaves one to extract the actual JSON what LWP gives 
> you, plus it has fatal wide-character issues that "use utf8::all" 
> isn't able to fix, and also does not support xml and csv (other 
> formats solr can provide). Apache::Solr is much nicer in that it 
> provides something resumbling a dbic result set, but I've already 
> encountered a few things that seem like bugs and sending the 
> resultsetlike object to the stash in the same way as a dbic resultset 
> doesn't seem to work the same way.
>
> Are other people using Solr based models? if so are you using either 
> of the two CPAN modules or something else? Do you have examples and or 
> notes you can share?
>
> _______________________________________________
> List: Catalyst at lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive: 
> http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
> Dev site: http://dev.catalyst.perl.org/




More information about the Catalyst mailing list