Roundup Tracker - Issues

Issue 2550635

classification
Possible bug in Xapian indexer's 'find' method?
Type: behavior Severity: normal
Components: Versions: 1.3
process
Status: fixed fixed
: xapian search yields too few results
View: 2550583
: ThomasAH : ThomasAH, bruce, ced, wolever
Priority: high :

Created on 2010-02-05 15:22 by wolever, last changed 2013-10-21 11:21 by ThomasAH.

Messages
msg4020 Author: [hidden] (wolever) Date: 2010-02-05 15:22
Reading through the Xapian indexer's code, I noticed this in 'find':

        query = xapian.Query(xapian.Query.OP_AND, terms)

        enquire.set_query(query)
        matches = enquire.get_mset(0, 10) <<<<< THIS LINE

        return [tuple(m[xapian.MSET_DOCUMENT].get_data().split(':'))
            for m in matches]

It looks like only the first 10 results will be returned… Is that expected?
msg4503 Author: [hidden] (ced) Date: 2012-02-28 17:04
I think it could be increased at least to 50 as it is the default paging.
msg4504 Author: [hidden] (ced) Date: 2012-02-29 14:18
I just increase it on our instance to 5000 because users complains about
missing result in the text search.
Indeed as others indexers don't have such limit, I think xapian should
also not have a limit. I read the xapian doc but I did not find how to
fetch all the result without limit.
msg4939 Author: [hidden] (ThomasAH) Date: 2013-10-21 11:10
https://sourceforge.net/p/roundup/code/ci/3ff1a288fb9c
changeset:   4841:3ff1a288fb9c
tag:         tip
user:        Thomas Arendsen Hein <thomas@intevation.de>
date:        Mon Oct 21 12:56:28 2013 +0200
summary:     issue2550583, issue2550635 Do not limit results with Xapian
indexer
History
Date User Action Args
2013-10-21 11:21:03ThomasAHsetstatus: new -> fixed
2013-10-21 11:10:32ThomasAHsetsuperseder: xapian search yields too few results
messages: + msg4939
priority: high
assignee: ThomasAH
nosy: + ThomasAH
resolution: fixed
2012-02-29 14:18:13cedsetmessages: + msg4504
2012-02-28 17:04:43cedsetmessages: + msg4503
2012-02-28 17:01:49cedsetnosy: + ced
2010-10-25 00:43:13brucesetnosy: + bruce
2010-02-05 15:22:41wolevercreate