Event asearch_join_after

This event is used for representations when the search facet is used. This happens when the search index requests a data extraction to update the indexes.

Available variables

  • No current instance is defined. this is not available.
  • The PQRY class instance of 'AQUERY' contains the default values for the query.
  • The 'QUPDDATTIM' character string variable contains the 'datetime' value used to filter data when an incremental search is done. It is empty if a full indexation is requested.
  • The default join between the different tables has been done (a Link with the [LNK_] abbreviation).

Example

# Let's imagine the main table of the join has a property called SECRET.
# We don't want to index the lines that have SECRET greater than or equal to 2
$EVENTS
  Case $AEVENT
    When "ASEARCH_JOIN_AFTER" : Gosub ASEARCH_JOIN_AFTER
    ...
  Endcase
Return
$ASEARCH_JOIN_AFTER
  Filter [LNK_] Where SECRET<2
Return