Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/reference.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -9225,7 +9225,7 @@ client.textStructure.findStructure({ ... })
==== test_grok_pattern
Tests a Grok pattern on some text.

{ref}/test-grok-pattern-api.html[Endpoint documentation]
{ref}/test-grok-pattern.html[Endpoint documentation]
[source,ts]
----
client.textStructure.testGrokPattern({ grok_pattern, text })
Expand Down
2 changes: 1 addition & 1 deletion src/api/api/text_structure.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export default class TextStructure {

/**
* Tests a Grok pattern on some text.
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.13/test-grok-pattern-api.html | Elasticsearch API documentation}
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.13/test-grok-pattern.html | Elasticsearch API documentation}
*/
async testGrokPattern (this: That, params: T.TextStructureTestGrokPatternRequest | TB.TextStructureTestGrokPatternRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.TextStructureTestGrokPatternResponse>
async testGrokPattern (this: That, params: T.TextStructureTestGrokPatternRequest | TB.TextStructureTestGrokPatternRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.TextStructureTestGrokPatternResponse, unknown>>
Expand Down