Lines Matching defs:search
209 * Adds the given document to the search index.
283 * Get the document from search index.
532 $search = new Search($this->getClient(), $builder);
533 $search->addIndex($this);
534 $search->setOptionsAndQuery($options, $query);
536 return $search;
542 public function search($query = '', $options = null, string $method = Request::POST): ResultSet
544 $search = $this->createSearch($query, $options);
546 return $search->search('', null, $method);
554 $search = $this->createSearch($query);
556 return $search->count('', false, $method);