File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -81,6 +81,11 @@ public function indicesRefresh()
8181 return $ this ->resolveClient ()->indicesRefresh ($ this ->indexName ());
8282 }
8383
84+ public function indicesSearchAnalyzers ()
85+ {
86+ return $ this ->resolveClient ()->indicesSearchAnalyzers ($ this ->indexName ());
87+ }
88+
8489 public static function query (): SearchQuery
8590 {
8691 return new SearchQuery (new static ());
Original file line number Diff line number Diff line change @@ -92,6 +92,11 @@ public function indicesRefresh(string $indexName)
9292 return $ this ->client ->indices ()->refresh (['index ' => $ indexName ]);
9393 }
9494
95+ public function indicesSearchAnalyzers (string $ indexName )
96+ {
97+ return $ this ->client ->indices ()->reloadSearchAnalyzers (['index ' => $ indexName ]);
98+ }
99+
95100 public function enableQueryLog (): void
96101 {
97102 $ this ->queryLog ??= new QueryLog ();
You can’t perform that action at this time.
0 commit comments