LoginSignup
0
0

More than 1 year has passed since last update.

[WordPress] WP Search with Algolia で作られるAlgoliaのレコードの中身

Last updated at Posted at 2022-09-22

Algolia
https://www.algolia.com/

WP Search with Algolia
https://wordpress.org/plugins/wp-search-with-algolia/

Algoliaの要素名 WordPress データ例
post_id 投稿ID 916
post_type 投稿タイプのスラッグ post
post_type_label 投稿タイプの名前 投稿
post_title 投稿のタイトル サンプルのタイトル
post_excerpt 投稿の抜粋

手動での抜粋

post_date 投稿の公開日時(UNIX Time) 1663149462
post_date_formatted 投稿の公開日時 2022年9月14日
post_modified 投稿の更新日時(UNIX Time) 1663850868
comment_count 投稿のコメント 0
menu_order 投稿の順序 0
post_author 投稿の作成者情報 配列
post_author.user_id 作成者のユーザーID 2
post_author.display_name 作成者のブログ上の表示名 五十嵐
post_author.user_url 作成者の連絡先情報のサイト https://example.com
post_author.user_login 作成者のユーザー名 gatespace
images 投稿のアイキャッチ画像 配列
images.thumbnail.url 画像URL https://example.com/wp-content/uploads/2022/09/a.png
images.thumbnail.width 画像の幅 400
images.thumbnail.height 画像の高さ 300
permalink 記事URL https://example.com/archives/916
post_mime_type 投稿のMIME タイプ(メディアライブラリの時に利用)
taxonomies 投稿に付与されているタクソノミー 配列
taxonomies.category カテゴリー(配列) ["カテゴリーA","カテゴリーB"]
taxonomies.post_tag タグ(配列) ["タグ1","タグ2"]
taxonomies_hierarchical 投稿に付与されているタクソノミーの階層(配列) "category": {"lvl0": ["カテゴリーA"],"lvl1": ["カテゴリーBの親 > カテゴリーB"]}}
is_sticky 先頭に固定表示 0
content 投稿の本文、HTMLタグは除去 テストの文章です\n改行
record_index Algolia プラグインの設定内容、変更不可
objectID Algoliaのインデックス番号、変更不可 1-0
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0