2016-12-09 2 views
0

私はinstructions hereに従うことで、アルゴリアと私のジキルサイトを統合しようとしています。手順は、{index_name} _tmpファイルに対する書き込み権限を有効にするにはどうすればよいですか?

Note that your API key should have write access to both the index_name and _tmp suffixed version of it (eg. your_index_name and your_index_name_tmp) in the previous example). This is due to the way we do atomic pushes by pushing to a temporary index and then renaming it.

とします。ただし、index_nameおよび_tmpへの書き込みアクセスを有効にする方法は説明していません。その結果、私は私のインデックスをプッシュしようとすると、私はこのエラーを取得する:私のAlgoliaダッシュボード

Algolia Error: API key cannot write to {index_name}_tmp index In order to do atomic pushes to your Algolia index, the plugin first pushes to a temporary index (suffixed with _tmp), then renames it.

You see this error because the plugin wasn't able to push to that
{index_name}_tmp index, with the API key you provided.

Make sure the API key you're using has rights to write on both your index and its {index_name}_tmp suffixed version.

、管理APIキーは、(通常の1と_tmp)私のインデックスの両方に対して同じである1 。コマンドラインからインデックスをプッシュするときにこのエラーメッセージが表示されないように、私はどのように私のindex_tmp書き込みアクセス権を与えるのですか?

答えて

0

管理APIキーを使用しているかどうかを確認してください。これは、任意のインデックスへの書き込みアクセス権があれば十分です。

あなたが管理APIキーを使用したくない場合は、ダッシュボードにあなたのAPIキーパネルに行くと、「新しいAPIキー」をクリックすることで、具体的ジキルのための新しいキーを作成することができます。

New API key dialog

モダルの一番下にある正しいACLを選択してください!

+0

ありがとうございました。私は新しいAPIキーを作成し、完全なアクセス権を与えてくれました。 –

関連する問題