[Xapian-tickets] [Xapian] #792: Add a CGI param "LOC" to indicate a path to a leaf from database_dir folder

Xapian nobody at xapian.org
Thu Aug 22 15:23:27 BST 2019


#792: Add a CGI param "LOC" to indicate a path to a leaf from database_dir folder
--------------------------------+------------------
        Reporter:  ohallot      |      Owner:  olly
            Type:  enhancement  |     Status:  new
        Priority:  normal       |  Milestone:
       Component:  Omega        |    Version:
        Severity:  normal       |   Keywords:
      Blocked By:               |   Blocking:
Operating System:  All          |
--------------------------------+------------------
 This is a ticket for enhancement.

 I have the situation of many omega database organized as

 versioN
         - pt-BR
         - fr
         - ru
         - es
         - zn
         - ...
 VersionNplusOne
         - pt-BR
         - fr
         - ru
         - es
         - zn
         - ...

 that is, my databases are built separately and organized by version and
 languages. Search is to be done in version/lang

 The suggestion is to add a 'LOC'ation param in the CGI parsing to be able
 to open the database at the right place, such as

 '''database_dir/LOC/DB'''

 where '''database_dir''' comes from /etc/omega.conf

 ref: https://xapian.org/docs/omega/cgiparams.html

 Note: I'll be glad to give a spin in building xapian+omega and hack it, if
 I get hint to where to look for the CGI parsing code.

--
Ticket URL: <https://trac.xapian.org/ticket/792>
Xapian <https://xapian.org/>
Xapian



More information about the Xapian-tickets mailing list