r4874 - in software/ui: . src
Enrico Zini
enrico at alioth.debian.org
Sun Dec 9 12:13:19 UTC 2007
Author: enrico
Date: 2007-12-09 12:13:19 +0000 (Sun, 09 Dec 2007)
New Revision: 4874
Modified:
software/ui/
software/ui/src/Engine.cpp
Log:
Get more packages out of xapian so that everything that matches is on the list. Should fix #447333
Property changes on: software/ui
___________________________________________________________________
Name: bzr:revision-info
- timestamp: 2007-12-09 11:37:08.434000015 +0000
committer: enrico at enricozini.org
properties:
branch-nick: goplay
+ timestamp: 2007-12-09 11:37:59.420000076 +0000
committer: enrico at enricozini.org
properties:
branch-nick: goplay
Name: bzr:revision-id:v3-single-software/ui
- 108 enrico at enricozini.org-20071208200723-y4vsdj5bsmuf0uqa
109 enrico at enricozini.org-20071209105906-z4sjyyyni51a3cnj
110 enrico at enricozini.org-20071209110551-33y5jxsqejx92fq3
111 enrico at enricozini.org-20071209112332-1rf57dt9r853hdxn
112 enrico at enricozini.org-20071209113708-u77ke5c0ubb5gecl
+ 108 enrico at enricozini.org-20071208200723-y4vsdj5bsmuf0uqa
109 enrico at enricozini.org-20071209105906-z4sjyyyni51a3cnj
110 enrico at enricozini.org-20071209110551-33y5jxsqejx92fq3
111 enrico at enricozini.org-20071209112332-1rf57dt9r853hdxn
112 enrico at enricozini.org-20071209113708-u77ke5c0ubb5gecl
113 enrico at enricozini.org-20071209113759-tc79y911o01c01rb
Modified: software/ui/src/Engine.cpp
===================================================================
--- software/ui/src/Engine.cpp 2007-12-09 12:13:18 UTC (rev 4873)
+++ software/ui/src/Engine.cpp 2007-12-09 12:13:19 UTC (rev 4874)
@@ -133,8 +133,8 @@
Xapian::Enquire enquire(m_textsearch.db());
enquire.set_query(makeQuery());
- // Get the 100 top matches
- Xapian::MSet matches = enquire.get_mset(0, 100, 0, 0, &md);
+ // Get the 1000 top matche (increase if some are still left out)s
+ Xapian::MSet matches = enquire.get_mset(0, 1000, 0, 0, &md);
for (Xapian::MSetIterator i = matches.begin(); i != matches.end(); ++i)
{
// Get all the game and interface tags in the result set
@@ -158,8 +158,8 @@
Xapian::Enquire enquire(m_textsearch.db());
enquire.set_query(makeQuery());
- // Get the 100 top matches
- Xapian::MSet matches = enquire.get_mset(0, 100, 0, 0, &md);
+ // Get the 1000 top matche (increase if some are still left out)s
+ Xapian::MSet matches = enquire.get_mset(0, 1000, 0, 0, &md);
for (Xapian::MSetIterator i = matches.begin(); i != matches.end(); ++i)
{
// Get all the game and interface tags in the result set
@@ -180,8 +180,8 @@
//cerr << " filter query: " << enquire.get_query().get_description() << endl;
- // Get the 100 top matches
- Xapian::MSet matches = enquire.get_mset(0, 100, 0, 0, &md);
+ // Get the 1000 top matches (increase if some are still left out)
+ Xapian::MSet matches = enquire.get_mset(0, 1000, 0, 0, &md);
for (Xapian::MSetIterator i = matches.begin(); i != matches.end(); ++i)
{
// Stop producing if the quality goes below a cutoff point
More information about the Pkg-games-commits
mailing list