[Xapian-discuss] rank all documents

Samuel Liddicott sam@liddicott.com
Thu, 20 May 2004 14:05:24 +0100


----- Original Message ----- 
From: "Hongyan" <hym@ucla.edu>
To: <xapian-discuss@lists.xapian.org>
Sent: Wednesday, May 19, 2004 7:16 PM
Subject: [Xapian-discuss] rank all documents


> I wonder whether we can rank all documents to a certain query with Xapian
and
> Omega.
>
> We want to visualize a small text database with 100 articles. For any
given
> query, we need all the document weights, including lower weights than 0.5
(0
> too), so that we can map documents centering around the query, according
to the
> document weights. It seems to me that we can do this by specifying the
cutoff
> weight to 0 and/or setting MINIHITS to 100 (Am I wrong? We used
Xapian-0.7.5 and
> Omega-0.7.5).

You need to tell it that you want 100 documents per page, in which case you
don't need to specify MINHITS.
MINHITS tells omega to keep searching purely so it can get more accurate
predictions on the nunber of results to avoid generating inaccurate pageing
links.

Sam

>
> Any comments on this? Thanks a million.
>
> Hongyan
>
>
> _______________________________________________
> Xapian-discuss mailing list
> Xapian-discuss@lists.xapian.org
> http://lists.xapian.org/mailman/listinfo/xapian-discuss
>
>