Roundup Tracker - Issues

Issue 2550909

classification
Add new main config file setting to control full text indexing
Type: behavior Severity: normal
Components: Installation, Web interface Versions:
process
Status: closed fixed
:
: rouilj : rouilj
Priority: high : Effort-Low

Created on 2016-06-23 03:24 by rouilj, last changed 2016-06-25 17:15 by rouilj.

Messages
msg5618 Author: [hidden] (rouilj) Date: 2016-06-23 03:24
In talking with ThomasAH I said:

  , ack on postgres full text indexing. I was just searching for full
text indexing in roundup docs and I don't see much on configuring
postgres or xapian full text searches.
Would it be useful to have a [main] indexer config value that can turn
of xapian even if it is installed? So
  [main]
  indexer = native (anydbm or rdbm text search)
  indexer= xapian (xapian indexer)
  indexer = woosh (woosh indexer if I install the patches to get this
working)

At least one set of patches for python.org
(http://hg.python.org/tracker/roundup/rev/b1e85f86fe8a) makes it looks
like they had to cut out code to disable xapian indexer.

 ThomasAH: rouilj: yes, now I had to uninstall python-xapian (or patch
 the code) to disable it ... same with sqlite2 support, which I
 sometimes needed to import old tracker databases

Not sure about an option to force sqlite database use but for indexer
we should have it.

Issue:
msg5619 Author: [hidden] (rouilj) Date: 2016-06-23 03:25
issue2550636 for the woosh indexer may have some code that can be used.
msg5621 Author: [hidden] (rouilj) Date: 2016-06-25 16:39
This will be solved by merging issue2550636 adding support for whoosh
indexer.

"native" mode will autoselect and use sqlite, postgres or mysql
for the full test index when the backend db is a rdbm.
It will use anydbm (dbm, gdbm, bdb ...) if the back end db is anydbm.
History
Date User Action Args
2016-06-25 17:15:35rouiljsetstatus: new -> closed
resolution: fixed
2016-06-25 16:39:10rouiljsetmessages: + msg5621
2016-06-23 03:25:30rouiljsetmessages: + msg5619
2016-06-23 03:24:38rouiljcreate