Skip to content

Commit

Permalink
docs: manage index
Browse files Browse the repository at this point in the history
  • Loading branch information
faustoq committed Jul 8, 2024
1 parent 2045b98 commit 59830b9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,9 @@ $results = $client->search($query);
use OramaCloud\Manager\CloudManager;
use OramaCloud\Manager\IndexManager;

$apiKey = 'HDks8Hkao82-ha9daj';
$manager = new CloudManager($apiKey);
$manager = new CloudManager("<Your Orama Cloud Private API Key>");

$indexId = 'h7asdjk9d12kdlofabsha123';
$indexId = '<Index-ID>';
$index = new IndexManager($indexId, $manager);

// Empty data
Expand Down

0 comments on commit 59830b9

Please sign in to comment.