Lines Matching refs:this
61 $this->_index = $index;
86 $requestData = $this->request([], Request::GET, $queryParameters)->getData();
91 throw new NotFoundException('Index '.$this->getIndex()->getName().' not found');
141 $data = $this->get($setting);
159 return $this->set(['number_of_replicas' => $replicas]);
175 return $this->get('number_of_replicas') ?? self::DEFAULT_NUMBER_OF_REPLICAS;
191 return $this->get('number_of_shards') ?? self::DEFAULT_NUMBER_OF_SHARDS;
205 return $this->set(['blocks.read_only' => $readOnly]);
215 return $this->getBool('blocks.read_only');
225 return $this->getBool('blocks.read');
237 return $this->set(['blocks.read' => $state]);
247 return $this->getBool('blocks.write');
259 return $this->set(['blocks.write' => $state]);
272 return $this->getBool('blocks.metadata');
293 return $this->set(['blocks.metadata' => $state]);
312 return $this->set(['refresh_interval' => $interval]);
328 return $this->get('refresh_interval') ?? self::DEFAULT_REFRESH_INTERVAL;
334 * To have this changes made the index has to be closed and reopened
347 $this->_index->close();
348 $response = $this->set(['merge.policy.'.$key => $value]);
349 $this->_index->open();
369 $settings = $this->get();
387 return $this->request($data, Request::PUT);
397 return $this->_index;
430 return $this->getIndex()->request($path, $method, $data, $queryParameters);