Skip to content

Add Elasticsearch connector#467

Merged
dluc merged 2 commits intomainfrom
dev
May 8, 2024
Merged

Add Elasticsearch connector#467
dluc merged 2 commits intomainfrom
dev

Conversation

@dluc
Copy link
Copy Markdown
Collaborator

@dluc dluc commented May 8, 2024

No description provided.

afederici75 and others added 2 commits May 7, 2024 22:42
## Motivation and Context (Why the change? What's the scenario?)

@dluc here's a PR that uses the latest main with the changes to the
nuget packages.
Everything builds and the Elasticsearch tests work, too. I only included
the unittest that descends from BaseFunctionalTestCase for now. I will
include the others once I see if this is good so far.

## High level description (Approach, Design)
@dluc dluc merged commit d4f77eb into main May 8, 2024
@dluc dluc deleted the dev branch May 8, 2024 05:51
index = this._indexNameHelper.Convert(index);

this._log.LogTrace("Searching for '{Text}' on index '{IndexName}' with filters {Filters}. {MinRelevance} {Limit} {WithEmbeddings}",
text, index, filters.ToDebugString(), minRelevance, limit, withEmbeddings);

Check failure

Code scanning / CodeQL

Log entries created from user input

This log entry depends on a [user-provided value](1). This log entry depends on a [user-provided value](2).
index = this._indexNameHelper.Convert(index);

this._log.LogTrace("Searching for '{Text}' on index '{IndexName}' with filters {Filters}. {MinRelevance} {Limit} {WithEmbeddings}",
text, index, filters.ToDebugString(), minRelevance, limit, withEmbeddings);

Check failure

Code scanning / CodeQL

Log entries created from user input

This log entry depends on a [user-provided value](1). This log entry depends on a [user-provided value](2).
[EnumeratorCancellation] CancellationToken cancellationToken = default)
{
this._log.LogTrace("Querying index '{IndexName}' with filters {Filters}. {Limit} {WithEmbeddings}",
index, filters.ToDebugString(), limit, withEmbeddings);

Check failure

Code scanning / CodeQL

Log entries created from user input

This log entry depends on a [user-provided value](1). This log entry depends on a [user-provided value](2). This log entry depends on a [user-provided value](3).
[EnumeratorCancellation] CancellationToken cancellationToken = default)
{
this._log.LogTrace("Querying index '{IndexName}' with filters {Filters}. {Limit} {WithEmbeddings}",
index, filters.ToDebugString(), limit, withEmbeddings);

Check failure

Code scanning / CodeQL

Log entries created from user input

This log entry depends on a [user-provided value](1).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants