Re: full-text search : How to improve ?

"John P. Rouillard" <[email protected]>
Newsgroups gmane.comp.bug-tracking.roundup.user
Message-ID <[email protected]>
Hi Norbert:

In message <[email protected]>,
SCHLEMMER Norbert writes:
>https://wiki.roundup-tracker.org/AddAboutPage
>
>To add the About page, where is this directory / file located ?
>"in lib/tracker_version.py put:"

in your tracker home. If you don't have a lib directory make one
keeping the permissions/owner etc. the same as the other direcories:
html, detectors, extensions etc. I'll fix the wiki page.

Installing the apk ****doesn't work****. It installs a version for
python 3.9 not python 3.10. Since this is a C language binding,
including the 3.9 path in PYTHONPATH probably won't work.

Apparently the alpine image we use installs it's own purpose built
python. There is even a comment to that effect before the first run
apk in the Dockerfile.

You would need to build and install xapian which I have never done.
The build image I create in the dockerfile does have swig installed
for building gpgme. So maybe installing libxapian and running pip3
install xapian-bindings will work? You may need to make sure that all
of the stage 1 build artfacts make it to the stage 2 build, but if it
works as expected it should "just work".

Before you do that however, you may be using whoosh not native.

I spun up a docker for testing using sqlite. My about page reports
it's using whoosh. Apparently whoosh is installed by default in the
image???

You can check that on the about page and if your using whoosh, set the
indexer variable in config.ini to native. Then reindex using
roundup-admin and see if that works better for you.

Have a great day.

--
				-- rouilj
John Rouillard
===========================================================================
My employers don't acknowledge my existence much less my opinions.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.