Store Content in IDOL Server > Fields > BitFieldType Fields

BitFieldType Fields

Topics in this Section

If you have documents that can be part of several different document sets, you can use BitFieldType fields to efficiently store information on which sets the documents belong to.
The value in a BitFieldType field is a hexadecimal number, which in turn represents a binary number. The binary number is a representation of the sets that a document belongs to, with each binary digit representing a particular set of documents. If a document is part of a set, the bit corresponding to that set is a 1. If a document is not part of that set, the bit is a 0.
For example, if a document is present in sets 0, 5, 9, 11, 12, and 13, it has the following binary representation:
where, the digit at the furthest right position represents set 0, the digit to the left of set 0 represents set 1 and so on. Set numbers increase from right to left.
This number is the binary representation of the decimal number 14881, and the hexadecimal number 3A21. Therefore, the BitField contains the value 3A21 to indicate that the document is part of these sets:
#DREFIELD BitField=”003A21”
In this way, information on sets can be stored in a single field per document, for an arbitrarily large number of sets.
To set up BitFieldType fields
List a Bit Field process in the [FieldProcessing] section. For example:
Create a section for each process you listed, and in each section, create a property for the process (a property is later defined by one or more applicable configuration parameters). Identify the fields you want to associate with the process.
NOTE The properties you create must not have the same name as the processes.
For example:
Create a section for the property in which you set the BitFieldType parameter to true. This enables IDOL server to store the contents of the PropertyFieldCSVs fields as bit fields. For example:
To compress the BitField index, set BitFieldCompressed to true in the property section. For example:
Set the BitFieldMemoryMaxKB parameter to the maximum memory (in KB) that can be used by BitFieldType fields. If this is zero (the default) there is no limit to the memory.
If you want to define BitFieldType fields or add extra BitFieldType fields, but have already indexed content into IDOL, you can set RegenerateBitFieldIndex to true in the [Server] section. This allows IDOL server to generate the files it requires to internally identify BitFieldType fields at start up, so that you need only to restart IDOL server to able to use BitFieldType fields, rather than having to re–index all your data.
NOTE Each document that you store in IDOL server must contain only one instance of any given BitFieldType field.