Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. From the application selector side menu (F2 or button top left) go to Custom/Hawksearch.

  2. Go to Indexing Api/Field mapping.

  3. Click New field mapping.

  4. Index name - Here you can choose the index previously defined in Kentico: Manage indexes. This is the index on which the field will be created on.

  5. Type codename - Here you can choose the associated Kentico type for which you want this field to be. Previously defined in Kentico: System Settings Setup.

  6. Field type - Here you can choose the type of the field. You can choose between Unique Identifier, Text, Number, Boolean, Date, GeoPoint. Each indexed object needs to have exactly one Unique Identifier.

  7. Hawksearch field - This is the name of the field as seen in Hawksearch. When you write the field name for a Unique Identifier field type, make sure the field type already exists in Hawksearch and is marked as a primary key. By default the Hawksearch field name “idis set as a primary key.

  8. Source column name - This is the name of the database column from which you want to take the value from. For example if you’re indexing a page type you can write “DocumentID” for the Unique Identifier field. Keep in mind though, if you’re indexing multiple different types of objects (documents, module classes and tables) it’s better to use their respective GUID values instead of the table row ID since there can be overlaps and they need to be unique.

  9. Include in results - This indicates whether the field will be included in result responses from Hawksearch.

  10. JSON Property - For the designated field, if it contains a JSON object, you can pinpoint a specific property. Only valid properties that are one level deep will be stored as a string; otherwise, the entire JSON object will be stored.

    Ex: For a field that is coming being sent to HawkSearch as in the format {“a“ : ”A value”, “b“ : “B value“}, if you can specify “a” in the JSON Property Field setting to have , only the “A Value” property value sent value” will be transmitted to HawkSearch for the designated that particular field.

  11. Click save.

How to run an Indexing API reindexing?

...