The following procedure explains how to store a signature in an index field
represented by the SIGNATURE_INDEX_FIELD
variable.
Note:
If you need to store multiple signatures, use a dynamic field. To do so, follow step 2
and in the field Advanced options, select the
Multivalued and Store meta names
properties.
-
In the Administration Console, go to Index > Data Model > Advanced Schema .
-
Add a
SIGNATURE_INDEX_FIELD
to store signature values.
-
Click Add field .
-
Enter a name, for example, my_signature_bin and set the
type to Binary.
-
Set the new field as RAM-based for performance
reasons.
-
Go to Index > Data Processing > Analysis pipeline > Document
Processors.
-
Add a SimilarStringToPart document processor for part
conversion to the pipeline, and in Input from, enter the name of
the
SIGNATURE_INPUT_META
containing all values of the signature vector,
for example, my_signature_meta.
This document processor can:
- Parse signature values and convert them into binary blob ready to use by the
index.
- Delete the meta to create a part with the same name.
-
In the Mappings tab, create the mapping between the
SIGNATURE_INPUT_META
and the SIGNATURE_INDEX_FIELD
.
-
Add a mapping source. Give it a name, for example,
my_signature_meta and set its type to
Part.
-
Add the
SIGNATURE_INDEX_FIELD
as mapping target. For example,
target the my_signature_bin index field.
-
Click Apply.