Opened 13 years ago
Closed 13 years ago
#565 closed enhancement (wontfix)
Perl bindings don't allow to select database backend on creation
Reported by: | Vitaliy Filippov | Owned by: | Olly Betts |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Search::Xapian | Version: | 1.2.6 |
Severity: | normal | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Operating System: | All |
Description
When you create database using Search::Xapian::WritableDatabase->new() in Perl, you can't specify which backend to use (flint/chert/brass) and you end up with default chert. It would be good to have an opportunity to select backend. An example patch is attached, though you might wish to adjust it corresponding to your coding guidelines.
Attachments (1)
Change History (2)
by , 13 years ago
Attachment: | patch-Search-Xapian-1.2.6.0-select-backend.diff added |
---|
comment:1 by , 13 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Selecting the backend is possible in the SWIG-based Perl bindings which have now replaced the hand-coded XS bindings on trunk. It would be unhelpful to add an incompatible way to achieve this in 1.2.x - users would either have to change their code in the near future, or we'd need to either implement that way in trunk and then support two APIs which can achieve the same ends.
So sorry, but I don't think we want this patch. If we're going to support this in 1.2.x, it needs to be compatible with how this works in trunk.
Backend and block size selection for Search::Xapian::WritableDatabase