Skip to content

Commit ef4e448

Browse files
westey-mglorious-beard
authored andcommitted
.Net: Fix bug in sqlite filter logic (microsoft#11356)
### Motivation and Context microsoft#11132 ### Description Fix bug in sqlite filter logic ### Contribution Checklist <!-- Before submitting this PR, please make sure: --> - [ ] The code builds clean without any errors or warnings - [ ] The PR follows the [SK Contribution Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md) and the [pre-submission formatting script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts) raises no violations - [ ] All unit tests pass, and I have added new tests where possible - [ ] I didn't break anyone 😄
1 parent a940709 commit ef4e448

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dotnet/src/Connectors/Connectors.Memory.Sqlite/SqliteVectorStoreRecordCollection.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ public virtual Task<VectorSearchResults<TRecord>> VectorizedSearchAsync<TVector>
187187
string? extraWhereFilter = null;
188188
Dictionary<string, object>? extraParameters = null;
189189

190-
if (searchOptions.Filter is not null)
190+
if (searchOptions.OldFilter is not null)
191191
{
192192
if (searchOptions.Filter is not null)
193193
{

0 commit comments

Comments
 (0)