[Xapian-tickets] [Xapian] #523: Migrate from XS Search::Xapian to SWIG version

Xapian nobody at xapian.org
Thu Apr 9 07:58:28 BST 2020


#523: Migrate from XS Search::Xapian to SWIG version
----------------------------+-------------------------------
 Reporter:  Olly Betts      |             Owner:  Olly Betts
     Type:  defect          |            Status:  assigned
 Priority:  normal          |         Milestone:  1.5.0
Component:  Search::Xapian  |           Version:  git master
 Severity:  normal          |        Resolution:
 Keywords:                  |        Blocked By:
 Blocking:                  |  Operating System:  All
----------------------------+-------------------------------
Comment (by Olly Betts):

 We should also document a good way to load whichever of `Search::Xapian`
 or `Xapian` is available, rather than everybody having to invent their own
 way.  Perhaps:

 {{{#!perl
 BEGIN {
     eval {
         require Xapian; Xapian->import(':all');
     };
     if ($@) {
         require Search::Xapian; Search::Xapian->import(':all');
     }
 }
 }}}
-- 
Ticket URL: <https://trac.xapian.org/ticket/523#comment:18>
Xapian <https://xapian.org/>
Xapian


More information about the Xapian-tickets mailing list