Incomplete search results
Antonio Messina <[email protected]>
| Newsgroups | gmane.comp.bug-tracking.roundup.user |
|---|---|
| Message-ID | <CA+jNneBfmUA_Rq=X3UmGNcFSW8VNc0V+_6TuTO+OQVdTxt3K4w@mail.gmail.com> |
Hi all,
We are using roundup version 1.5.0 using a template based on the
`responsive` template.
What happens is that when we search for a specific word
(`search_text`), we find most
but not all the issues that contains that word.
For instance, this query:
/issue?@search_text=schroedinger&title=&@columns=title&id=&@columns=id&creation=&creator=&activity=&@columns=activity&@sort=activity&actor=&nosy=&topics=&@columns=topics&projects=&dependencies=&assignee=&priority=&@group=priority&status=-1%2C1%2C2&@columns=status&deadline=&@columns=deadline&@pagesize=50&@startwith=0&@queryname=&@old-queryname=&@action=search
will find 3 issues containing the word `schroedinger` in either the
text of a message or the title, but it will *not* find an issue
(issue101) with title `fix MTUs on Schroedinger hosts` containing the
word `schroedinger` *on both* the title and the message. Searching for
`mtu` will find issue101 though.
It's not clear to me how to test the issue from python, as I don't
understand (yet) how the indexer is used. I already tried to reindex
using `roundup-admin reindex` but without success.
AFAIK, I'm using xapian: library and python bindings are installed
inside the virtualenv I'm using:
(roundup-env)root@login1:~# python -c 'import xapian; print "file:
%s version: %s" % (xapian.__file__, xapian.version_string())'
file: /usr/local/roundup-env/lib/python2.7/xapian/__init__.pyc
version: 1.2.18
and from what I understand, xapian indexer is used by default if the
module can be imported.
The source code of our roundup template is available at
https://github.com/gc3-uzh-ch/roundup-template
Cheers,
Antonio Messina
--
[email protected]
[email protected] +41 (0)44 635 42 22
S3IT: Service and Support for Science IT http://www.s3it.uzh.ch/
University of Zurich
Winterthurerstrasse 190
CH-8057 Zurich Switzerland
------------------------------------------------------------------------------