Цей плагін не перевірявся з останніми 3-ма основними випусками WordPress. Можливо, він більше не може розроблятися або підтримуватися, і він може мати проблеми сумісності при використанні з більш новими версіями WordPress.

Search with Algolia Bogo extension

Опис

The plugin will put the locale attribute into the Index created by WP Search wit Algolia depends on the Bogo settings.

Встановлення

  1. Install the plugin
  2. Activate it and WP Search with Algolia plugin
  3. Configure WP Search with Algolia plugin settings
  4. Create indices by WP Search with Algolia
  5. The plugin will add the locale attributes automatically.

Часті питання

The facet has not the locale attributes!

Probably you have been created the indices before activate the plugin.
You need to delete the indices and re-index it.

Or, you can manually add the facet in the Algolia dashboard.
https://www.algolia.com/doc/guides/managing-results/refine-results/faceting/

How can we search by the locale attribute?

You can search by the following query.

index.search("", {
 "getRankingInfo": true,
 "analytics": false,
 "enableABTest": false,
 "hitsPerPage": 10,
 "attributesToRetrieve": "*",
 "attributesToSnippet": "*:20",
 "snippetEllipsisText": "…",
 "responseFields": "*",
 "maxValuesPerFacet": 100,
 "page": 0,
 "facets": [
  "*",
  "locale",
 ],
 "facetFilters": [
  [
   "locale:en_US"
  ]
 ]
});

When the Bogo plugin deactivated, what the behavior will changes?

Bogo will put the _locale attributes into the post_meta, and the plugin uses it.
So the plugin still put the locale attributes if exists.

But, if the post has no _locale post_meta attribute, the plugin does not put the locale attributes.

Відгуки

Для цього плагіна немає відгуків.

Учасники та розробники

“Search with Algolia Bogo extension” — проект з відкритим вихідним кодом. В розвиток плагіну внесли свій вклад наступні учасники:

Учасники

Перекладіть “Search with Algolia Bogo extension” на вашу мову.

Цікавитесь розробкою?

Перегляньте код, перегляньте сховище SVN або підпишіться на журнал розробки за допомогою RSS.

Журнал змін

0.1.2

  • Release