• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
Jetpack a2z

Jetpack a2z

Jetpack a2z

  • Home
  • Plugins
  • Blocks
  • Shortcodes
  • APIs
  • Classes
  • Files
  • Hooks
  • Sitemap
  • Blog
Home / Classes / Classic_Search

Methods

1 to 30 of 39
  • Classic_Search::__clone() – Prevent __clone()’ing of this class.
  • Classic_Search::__wakeup() – Prevent __wakeup()’ing of this class.
  • Classic_Search::_apply_boosts_multiplier() – Apply a multiplier to boost values.
  • Classic_Search::_get_caret_boosted_fields() – Transforms an array with fields name as keys and boosts as value into shorthand "caret" format.
  • Classic_Search::action__widgets_init() – Initialize widgets for the Search module (on wp.com only).
  • Classic_Search::add_aggregations_to_es_query_builder() – Given an array of aggregations, parse and add them onto the query builder object for use in Elasticsearch.
  • Classic_Search::add_date_histogram_aggregation_to_es_query_builder() – Given an individual date_histogram aggregation, add it to the query builder object for use in Elasticsearch.
  • Classic_Search::add_post_type_aggregation_to_es_query_builder() – Given an individual post_type aggregation, add it to the query builder object for use in Elasticsearch.
  • Classic_Search::add_taxonomy_aggregation_to_es_query_builder() – Given an individual taxonomy aggregation, add it to the query builder object for use in Elasticsearch.
  • Classic_Search::and_es_filters() – And an existing filter object with a list of additional filters.
  • Classic_Search::are_filters_by_widget_disabled() – Wraps a WordPress filter called "jetpack_search_disable_widget_filters" that allows developers to disable filters supplied by the search widget. Useful if filters are being defined at the code level.
  • Classic_Search::convert_wp_es_to_es_args() – Converts WP_Query style args to Elasticsearch args.
  • Classic_Search::do_search() – Build up the search, then run it against the Jetpack servers.
  • Classic_Search::filter__add_date_filter_to_query() – Add the date portion of a WP_Query onto the query args.
  • Classic_Search::fix_aggregation_ordering() – Takes an array of aggregation results, and ensures the array key ordering matches the key order in $desired which is the input order.
  • Classic_Search::get_active_filter_buckets() – Get the filters that are currently applied to this search.
  • Classic_Search::get_es_wp_query_post_type_for_query() – Parse out the post type from a WP_Query.
  • Classic_Search::get_es_wp_query_terms_for_query() – Given a WP_Query, convert its WP_Tax_Query (if present) into the WP-style Elasticsearch term arguments for the search.
  • Classic_Search::get_filters() – Get the results of the Filters performed, including the number of matching documents.
  • Classic_Search::get_last_query_failure_info() – Returns the last query failure information, or false if no failure information was stored.
  • Classic_Search::get_last_query_info() – Returns the last query information, or false if no information was stored.
  • Classic_Search::get_search_aggregations_results() – Get the raw Aggregation results from the Elasticsearch response.
  • Classic_Search::get_search_result() – Get the Elasticsearch result.
  • Classic_Search::get_taxonomy_query_var() – Calculate the right query var to use for a given taxonomy.
  • Classic_Search::has_vip_index() – Does this site have a VIP index Get the version number to use when loading the file. Allows us to bypass cache when developing.
  • Classic_Search::init_hooks() – Setup the various hooks needed for the plugin to take over search duties.
  • Classic_Search::initialize() – Alias of the instance function.
  • Classic_Search::move_search_widgets_to_inactive() – Moves any active search widgets to the inactive category.
  • Classic_Search::print_query_failure() – Outputs information about the last Elasticsearch failure.
  • Classic_Search::print_query_success() – Outputs information about the last Elasticsearch search.
[1] [2] Next »

Extended by

Class name: Classic_Search
Plugin ref: Jetpack
Version: 11.0
Sourcefile: jetpack_vendor/automattic/jetpack-search/src/classic-search/class-classic-search.php
File ref: jetpack_vendor/automattic/jetpack-search/src/classic-search/class-classic-search.php
API Letters: C,S

Related

Published: 7 February 2022 | Last updated: 9 June 2022

Primary Sidebar

Information

Class name: Classic_Search
Plugin ref: Jetpack
Version: 11.0
Sourcefile: jetpack_vendor/automattic/jetpack-search/src/classic-search/class-classic-search.php
File ref: jetpack_vendor/automattic/jetpack-search/src/classic-search/class-classic-search.php
API Letters: C,S

Footer

Jetpack a2z
Jetpack a2z
Jetpack a2z
WordPress 6.0
WordPress a2z
WordPress core a2z
Genesis Theme Framework a2z
Jetpack a2z
WordPress develop tests
Easy Digital Downloads a2z
WooCommerce a2z
Yoast SEO a2z
WordPress Blocks

Site:  jetpack.wp-a2z.org
© Copyright Jetpack a2z 2014-2022. All rights reserved.


Website designed and developed by Herb Miller
Proudly powered by WordPress and oik plugins

  • Home
  • Blog
  • Sitemap
  • Sites