Function Hook_search_cns_own_pt->index_for_search

Definitions

sources/hooks/modules/search/cns_own_pt.php

  • Perform indexing using the fast custom index.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: N/A

Parameters

Name Type Default Set Range Description
$since ?TIME Null N/A N/A Only index records newer than this (null: no limit)
$total_singular_ngram_tokens ?integer Null N/A N/A Write into a count of singular ngrams (typically, words) in here (null: do not count)
$statistics_map ?array Null N/A N/A Write into this map of singular ngram (typically, words) to number of occurrences (null: do not maintain a map)