Proxy Component 26.2
Proxy Component Help

# BITANDHEX

The `BITANDHEX` field specifier (case sensitive) allows you find documents with a field whose hexadecimal string value does not result in 0 when a bit-wise AND operation is performed between this value and a specified hexadecimal string.

## Format

    FieldText=BITANDHEX{yourHexadecimalString}:yourBitFields

`yourHexadecimalString` | A hexadecimal string. A document returns only if one of `yourBitFields` contains a value that result in a non-zero value when a bit-wise `AND` operation is performed between this value and the specified hexadecimal string.
`yourBitFields` | One or more fields. A document returns only if it contains one of these fields, and if this field contains a hexadecimal string that results in a non-zero value when a bit-wise `AND` operation is performed between it and `yourHexadecimalString`. Separate multiple fields with colons (`:`). There must be no space before or after a colon.

## Example

    FieldText=BITANDHEX{7F}:BitField

The binary representation of the hexadecimal value `7F` is compared with the binary representations of the hexadecimal values that `BitField` fields in Proxy Component contain. Only documents whose `BitField` values result in a non-zero value when they are compared to the binary representation of `7F` are returned.

If the `BitField`, for example, contains the hexadecimal value `C0`, the document returns, while a document whose `BitField` contains the hexadecimal value `80` does not return.

Field value comparison:

Hex | Binary
--- | ---
`7F` | `0111 1111`
`C0` | `1100 0000`
| `0100 0000`. This evaluates to `True`.

Hex | Binary
--- | ---
`7F` | `0111 1111`
`80` | `1000 0000`
| `0000 0000`. This evaluates to `False`.

Copyright 2026 Open Text
Version 26.2 | Last updated April 2026

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 Proxy Component 26.2

Topic Title: BITANDHEX