[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
Mon Aug 26 13:41:34 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       |        Resolution:
 Keywords:               |        Blocked By:
 Blocking:               |  Operating System:  All
-------------------------+-------------------------

Comment (by james):

 I assumed that the version flip would be done by updating the config file,
 because I didn't see a reason for being able to query against different
 versions. (If the version represents different concurrent available
 versions of a corpus rather than an index or set-of-indexes version, that
 assumption wouldn't hold.)

 Isn't it most common these days to use colons to separate paths? We could
 move `DB` to `DBS` over a number of releases using a different separator.
 That feels more usual to me than being able to configure the separator
 (which feels a bit `sed s!!!` ish).

 We'd still need to be careful about `..` and friends, which I assumed was
 to avoid this issue in `DB` entirely.

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



More information about the Xapian-tickets mailing list