WebDevStudios / wp-search-with-algolia

Improve search on your site. Autocomplete is included, along with full control over look, feel and relevance.
https://wordpress.org/plugins/wp-search-with-algolia/
146 stars 55 forks source link

Consideration: Deprecate Algolia_Settings->get_native_search_index_id() #364

Open tw2113 opened 1 year ago

tw2113 commented 1 year ago

After some internal discussion, we want to look into deprecating the Algolia_Settings->get_native_search_index_id() method.

  1. Move the filter inside the method to Algolia_Searchable_Posts_Index->get_id() method.
  2. Mark the get_native_search_index_id() as deprecated.
  3. Replace both locations that use get_native_search_index_id() with new method to get the appropriate ID.