File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -56,16 +56,24 @@ public function indexName(): string
5656 }
5757
5858
59+ public function changeIndexName (string $ index ): void
60+ {
61+ $ this ->indexName = $ index ;
62+ }
63+
64+
5965 public function analysis (): \Spameri \ElasticQuery \Mapping \Settings \Analysis
6066 {
6167 return $ this ->analysis ;
6268 }
6369
70+
6471 public function mapping (): \Spameri \ElasticQuery \Mapping \Settings \Mapping
6572 {
6673 return $ this ->mapping ;
6774 }
6875
76+
6977 public function addMappingField (\Spameri \ElasticQuery \Mapping \Settings \Mapping \Field $ field ): void
7078 {
7179 $ this ->mapping ->addField ($ field );
@@ -185,7 +193,6 @@ public function removeFilter(\Spameri\ElasticQuery\Mapping\FilterInterface $filt
185193 $ this ->analysis ->filter ()->remove ($ filter ->key ());
186194 }
187195
188-
189196 public function toArray (): array
190197 {
191198 $ array = [
You can’t perform that action at this time.
0 commit comments