We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 845aa3c commit 66633e1Copy full SHA for 66633e1
src/Mapping/Settings.php
100755
100644
@@ -16,6 +16,7 @@ class Settings implements \Spameri\ElasticQuery\Entity\ArrayInterface
16
17
public function __construct(
18
private string $indexName,
19
+ private bool $hasSti = false,
20
\Spameri\ElasticQuery\Mapping\Settings\Analysis|null $analysis = null,
21
\Spameri\ElasticQuery\Mapping\Settings\Mapping|null $mapping = null,
22
\Spameri\ElasticQuery\Mapping\Settings\AliasCollection|null $alias = null,
@@ -42,6 +43,10 @@ public function indexName(): string
42
43
return $this->indexName;
44
}
45
46
+ public function hasSti(): bool
47
+ {
48
+ return $this->hasSti;
49
+ }
50
51
public function changeIndexName(string $index): void
52
{
0 commit comments