Method | Description | |
---|---|---|
activate_module ( array $args, array $assoc_args ) | Activate a module. | |
deactivate_module ( array $args, array $assoc_args ) | Dectivate a module. | |
delete_index ( array $args, array $assoc_args ) | Delete the current index. !!Warning!! This removes your elasticsearch index for the entire site. | |
index ( array $args, array $assoc_args ) | Index all posts for a site or network wide | |
list_modules ( array $args, array $assoc_args ) | List modules (either active or all) | |
put_mapping ( array $args, array $assoc_args ) | Add the document mapping | |
recreate_network_alias ( array $args, array $assoc_args ) | Map network alias to every index in the network | |
stats ( ) | Get stats on the current index. | |
status ( ) | Ping the Elasticsearch server and retrieve a status. | |
stop_the_insanity ( ) | Resets some values to reduce memory footprint. |
Method | Description | |
---|---|---|
_connect_check ( ) | Provide better error messaging for common connection errors | |
_create_network_alias ( ) : array | boolean | Helper method for creating the network alias | |
_index_helper ( array $args ) : array | Helper method for indexing posts | |
bulk_index ( boolean $show_bulk_errors = false ) | Perform the bulk index operation | |
queue_post ( $post_id, $bulk_trigger, boolean $show_bulk_errors = false ) : boolean | integer | Queues up a post for bulk indexing | |
send_bulk_errors ( ) | Send any bulk indexing errors |
public activate_module ( array $args, array $assoc_args ) | ||
$args | array | |
$assoc_args | array |
public deactivate_module ( array $args, array $assoc_args ) | ||
$args | array | |
$assoc_args | array |
public delete_index ( array $args, array $assoc_args ) | ||
$args | array | |
$assoc_args | array |
public list_modules ( array $args, array $assoc_args ) | ||
$args | array | |
$assoc_args | array |
public put_mapping ( array $args, array $assoc_args ) | ||
$args | array | |
$assoc_args | array |
public recreate_network_alias ( array $args, array $assoc_args ) | ||
$args | array | |
$assoc_args | array |
public stop_the_insanity ( ) |