namazu-users-en
[Top] [All Lists]

[Namazu-users-en] Re: MaxHit directive apparently being ignored

2006-07-28 01:34:05
Anthony Sadler wrote:

I have a Fedora Core 3 box running namazu 2.0.14. For some reason, 
namazu apparently ignores the MaxHit directive in the .namazurc file.
I do not know what the max setting is, but I know searches that 
return a small amount of entries Namaz

Do not use Namazu 2.0.14. 
The version must improve to Namazu 2.0.16 at once. 

MaxHit and MaxMach are debugged by Namazu 2.0.15. 

Up the top, I have this:
This index contains  5,072  documents and  122,292  keywords.

That would imply to me that there are a possible 5072 results. 
My .namazurc file is attached below in complete. However, here is 
the relevant sections:

MaxHit 5000
MaxMatch 200000

So by that, I should have got some results.

If "test" is included in all documents, it becomes an error because 
MaxHit is smaller than 5072. 

If MaxHit is adjusted to a bigger value, it is likely not to become
an error. 

However, it is necessary to note it because the deleted number 
of documents is included. 

Please try again by the version's improving to Namazu 2.0.16, 
and compressing the index with gcnmz. 

Notice how I have specified an insane value for -n. 
The .namazurc file I specified is the one below. Surely there 
cannot be more than 2147483647 matches in a database that 
contains 5,072 documents and 122,292 keywords?

The -n option specifies the number of documents displayed at a time. 
It is not the one to specify the number of maximum hits. 
-- 
=====================================================================
TADAMASA TERANISHI yw3t-trns(_at_)asahi-net(_dot_)or(_dot_)jp
http://www.asahi-net.or.jp/~yw3t-trns/index.htm
Key fingerprint =  474E 4D93 8E97 11F6 662D  8A42 17F5 52F4 10E7 D14E

_______________________________________________
Namazu-users-en mailing list
Namazu-users-en(_at_)namazu(_dot_)org
http://www.namazu.org/cgi-bin/mailman/listinfo/namazu-users-en

<Prev in Thread] Current Thread [Next in Thread>