Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the KiokuDB CPAN distribution.

Report information
The Basics
Id: 48159
Status: open
Priority: 0/
Queue: KiokuDB

People
Owner: Nobody in particular
Requestors: corion [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: KiokuDB::Backend::Hash has no ->search() method
Date: Fri, 24 Jul 2009 14:32:59 +0200
To: bug-kiokudb [...] rt.cpan.org
From: Max Maischein <corion [...] cpan.org>
Hello Yuval, it seems that KiokuDB::Backend::Hash does not implement a ->search() method, which makes KiokuDB currently unusable on Windows for me. I would hope that KiokuDB::Backend::Hash was identical to KiokuDB::Backend::DBI at the API level so one could switch between the two. Unfortunately, KiokuDB::Backend::DBI is currently not an option because it has missing undeclared prerequisites like SQL::Translator and even when installing these, it fails with a huge backtrace (see separate CPAN testers report). -max
From: ddascalescu+perl [...] gmail.com
On Fri Jul 24 08:33:32 2009, CORION wrote: Show quoted text
> Unfortunately, KiokuDB::Backend::DBI is currently not an option because > it has missing undeclared prerequisites like SQL::Translator and even > when installing these, it fails with a huge backtrace
I've been able to successfully install KiokuDB::Backend::DBI from Github on Windows. There were 3 warnings during installation (see https://rt.cpan.org/Ticket/Display.html?id=48223), but all tests passed and the DBI backend actually stores objects.
Do you mean simple search, or Search::GIN?
Subject: Re: [rt.cpan.org #48159] KiokuDB::Backend::Hash has no ->search() method
Date: Thu, 30 Jul 2009 07:32:34 +0200
To: bug-KiokuDB [...] rt.cpan.org
From: Max Maischein <corion [...] cpan.org>
Yuval Kogman via RT schrieb: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=48159 > > > Do you mean simple search, or Search::GIN?
A simple attribute search. At least without any further preparation, C<< -> search >> didn't work on a hash-backed KiokuDB. Also, C<< ->search >> fails for the SQL backend unless I set up the search columns as separate columns, which is inconvenient. But maybe I misunderstand what C<< ->search >> is for. -max