Eric Persson wrote:

> Hi,
> 
> Im using mysql as backend with the crc dbmode.
> 
> However, since I dont use the normal indexer, but fills the table myself 
> I noticed the intag column in ndict. Whats supposed to be there? I 
> started by skipping it, and having 0 in it. But then I didnt get any 
> results. By changing the value of intag to 1 I get normal functionality 
> while searching, but what is it for? Can I put something less pointless 
> than 1 in it?
> 


The idea is that intag is a kind of weight. But the exact
matter depends of version being used.

It latest 3.2.x it is the combination of word section
(body, title, keywords, etc) and word's order of appearance
in document. This is 4 byte integer. The most low byte is
section, other 3 bytes are order. It's easier to explain
in C:

   section = intag & 0xFF

   order   =  intag >> 8


and

   intag = order << 8  + section


___________________________________________
If you want to unsubscribe send "unsubscribe general"
to [EMAIL PROTECTED]

Reply via email to