View Component 25.1
View Component Help

# Fields that Contain BitFieldType Information

## BITSET

The `BITSET` field specifier (case sensitive) allows you to find documents with a `BitFieldType` field that contains a value where the specified bit is set. This allows you to search for documents that belong to a particular set of documents.

NOTE: You can use the `BITSET` field specifier only for `BitFieldType` fields.

    FieldText=BITSET{yourBitSets}:yourFields

where:

`yourBitSets` | are one or more set numbers, separated by commas. These set numbers must be in normal decimal form.
`yourFields` | are one or more `BitFieldType` fields. A document returns only if it contains one of these fields, and if this field contains a value where the bit corresponding to `yourBitSets` is set. To specify multiple fields, you must separate them with colons (there must be no space before or after a colon).

Examples:

    FieldText=BITSET{0,4}:BitField

This example matches any document where the binary representation of the hexadecimal value contained in `BitField` has the bit set (the binary digit is `1`) for set 0 or set 4.

For example, if a document has a `BitField` that contains the hexadecimal value `A4`, it does not match the query. The binary representation is `10100100`, where the bits for set 0 and 4 are both `0`, so the document is not part of these sets.

If the document has a `BitField` that contains the hexadecimal value `A8`, it does match the query. The binary representation is `10101000`, where the bit for set 4 is a `1`, so the document is part of set 4.

    FieldText=BITSET{2}:BitField AND BITSET{15}:BitField

The binary representation of the hexadecimal value contained in `BitField` must have the bits switched on for both sets 2 and 15.

For example, if a document has a `BitField` that contains the hexadecimal value `B110`, it does not match the query. The binary representation is `1011000100010000`, where the bit is set to `1` for set 15, but not for set 2.

If the document has a `BitField` that contains the hexadecimal value `B114` it matches the query. The binary representation is `1011000100010100`, where the bit is set to `1` for both set 15 and set 2.

Copyright 2024 Open Text
Version 25.1 | Last updated January 2025

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery View Component 25.1

Topic Title: Fields that Contain BitFieldType Information