A class for modifying the retrieval scores of documents,
according to whether the query terms appear to any of the
fields, or tags specified by the property
FieldTags.process. These tags can be either HTML tags
or tags such as DOCHDR, from the documents.
If a query term appears in any of the specified tags, then the
document score can be altered according to the values specified in
the property field.modifiers. For example, if
field.modifiers=0.10,0.00,0.00, then if a query term
appears in the title of a document, the document's score will be
increased by a factor of 0.10.
The names of the fields to be processed.
The values are read from the property
The default constructor of the class.
public static void init()
Initialises the FieldTags tagset
public int getFieldScore()
Computes an field score associated with a
page. If we check for n different tags, we
use n bits. Each tag is associated with a
specific bit. The method returns the binary
number corresponding to the bits which are
set to 1.
int a number representing the tags
which are in the set