Skip to content

Commit

Permalink
fix php docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Nexucis committed Jun 23, 2019
1 parent 8b41e20 commit c6d7b6e
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ public function getSettings($alias);

/**
* @param $alias string [REQUIRED] the name of the index or the name of the alias
* @param @deprecated $type string [REQUIRED] the type of the document
* @param $type string [REQUIRED] the type of the document. This parameter will be removed in the next major release
* @param $id string|int [REQUIRED] the document ID
* @param $refresh bool
* @return callable|array
Expand All @@ -155,7 +155,7 @@ public function getAllDocuments($alias, $from = 0, $size = 10);
/**
* @param string $alias [REQUIRED]
* @param array|null $query
* @param string $type
* @param string $type. This parameter will be removed in the next major release
* @param int $from the offset from the first result you want to fetch (0 by default)
* @param int $size allows you to configure the maximum amount of hits to be returned. (10 by default)
* @return callable|array
Expand All @@ -165,7 +165,7 @@ public function searchDocuments($alias, $query = null, $type = null, $from = 0,

/**
* @param $alias
* @param string $type
* @param string $type. This parameter will be removed in the next major release
* @param array|null $body
* @param SearchParameter $searchParameter
* @return callable|array
Expand All @@ -176,7 +176,7 @@ public function advancedSearchDocument($alias, $type = null, $body = null, $sear
/**
* @param string $index [REQUIRED] If the alias is associated to an unique index, you can pass an alias rather than an index
* @param $id [REQUIRED]
* @param string $type [REQUIRED]
* @param string $type [REQUIRED]. This parameter will be removed in the next major release
* @param array $body [REQUIRED] : actual document to update
* @param bool $refresh wait until the result are visible to search
* @return boolean : true if the document has been updated. Otherwise, the document has been created.
Expand All @@ -187,7 +187,7 @@ public function updateDocument($index, $id, $type, $body, $refresh = false);
/**
* @param string $index [REQUIRED] If the alias is associated to an unique index, you can pass an alias rather than an index
* @param $id [REQUIRED]
* @param string $type [REQUIRED]
* @param string $type [REQUIRED]. This parameter will be removed in the next major release
* @param array $body [REQUIRED] : actual document to create
* @param bool $refresh wait until the result are visible to search
* @return boolean : true if the document has been created.
Expand All @@ -206,7 +206,7 @@ public function deleteAllDocuments($alias);
/**
* @param $alias [REQUIRED]
* @param $id [REQUIRED]
* @param string $type [REQUIRED]
* @param string $type [REQUIRED]. This parameter will be removed in the next major release
* @param boolean $refresh , Refresh the index after performing the operation
* @return void
* @throws IndexNotFoundException
Expand Down

0 comments on commit c6d7b6e

Please sign in to comment.