Skip to content

Commit 335e0b8

Browse files
committed
PHPLIB-1307: Don't send readConcern in listIndexes command
1 parent 1a0e7b6 commit 335e0b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Operation/ListSearchIndexes.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public function __construct(string $databaseName, string $collectionName, array
6363
$this->databaseName = $databaseName;
6464
$this->collectionName = $collectionName;
6565
$this->listSearchIndexesOptions = array_intersect_key($options, ['name' => 1]);
66-
$this->aggregateOptions = array_intersect_key($options, ['batchSize' => 1, 'codec' => 1, 'collation' => 1, 'comment' => 1, 'maxTimeMS' => 1, 'readConcern' => 1, 'readPreference' => 1, 'session' => 1, 'typeMap' => 1]);
66+
$this->aggregateOptions = array_intersect_key($options, ['batchSize' => 1, 'codec' => 1, 'collation' => 1, 'comment' => 1, 'maxTimeMS' => 1, 'readPreference' => 1, 'session' => 1, 'typeMap' => 1]);
6767

6868
$this->aggregate = $this->createAggregate();
6969
}

0 commit comments

Comments
 (0)