Lines Matching defs:like
29 * Set the "like" value.
31 * @param Document|self|string $like
35 public function setLike($like): self
37 return $this->setParam('like', $like);
167 if (!empty($array['more_like_this']['like']['_id'])) {
168 $doc = $array['more_like_this']['like'];
170 $array['more_like_this']['like'] = $doc;
171 } elseif (!empty($array['more_like_this']['like']['_source'])) {
172 $doc = $array['more_like_this']['like'];
173 $doc['doc'] = $array['more_like_this']['like']['_source'];
176 $array['more_like_this']['like'] = $doc;