You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/store/src/Document/Transformer/TextSplitTransformer.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,7 @@ public function __construct(
34
34
privateint$overlap = 200,
35
35
) {
36
36
if ($this->overlap < 0 || $this->overlap >= $this->chunkSize) {
37
-
thrownewInvalidArgumentException(sprintf('Overlap must be non-negative and less than chunk size. Got chunk size: %d, overlap: %d.', $this->chunkSize, $this->overlap));
37
+
thrownewInvalidArgumentException(\sprintf('Overlap must be non-negative and less than chunk size. Got chunk size: %d, overlap: %d.', $this->chunkSize, $this->overlap));
thrownew \LogicException('Cannot provide a source when indexer already has a configured source. Use a different indexer instance or call index() without arguments.');
Copy file name to clipboardExpand all lines: src/store/src/IndexerInterface.php
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -20,9 +20,9 @@ interface IndexerInterface
20
20
{
21
21
/**
22
22
* Process sources through the complete document pipeline: load → transform → vectorize → store.
23
-
*
24
-
* @param null|string|array<string> $source Source identifier (file path, URL, etc.), array of sources, or null if the loader does not need a source, e.g. InMemoryLoader
* @param string|array<string>|null $source Source identifier (file path, URL, etc.), array of sources, or null if the loader does not need a source, e.g. InMemoryLoader
0 commit comments