Skip to content

Conversation

@mpartipilo
Copy link
Collaborator

@mpartipilo mpartipilo commented May 20, 2025

Adds Filter support to all queries.

Supported filters:

  • By Property (All operators).
  • By Property Length.
  • By ID (Equals, NotEquals, ContainsAny).
  • By Created and LastUpdated times (Greater, GreaterOrEqual, Less, LessOrEqual, Equal, NotEqual, ContainsAny, ContainsAll).
  • Single Target References: ID, Property, Count, Nested Reference.

Additionally:

  • Add property/reference to existing collection.
  • Extract array of Weaviate collection properties from a C# type. Not all types supported yet.
  • Early support for Sorting.
  • Early managed Vectorizer Configurations.

Fixes:

  • Date/Times were being converted to/from local time multiple times, causing mismatches with any Date/Time filters.
  • Collections created during testing use a unique ID, should enable running tests in parallel.
  • Some tests with collection with dynamic names would fail.

Lots of tests added!

@mpartipilo mpartipilo changed the title Feat/filters feat:Filters May 20, 2025
@mpartipilo mpartipilo changed the base branch from main to mvp May 20, 2025 13:33
Copy link

@orca-security-eu orca-security-eu bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Orca Security Scan Summary

Status Check Issues by priority
Passed Passed Infrastructure as Code high 0   medium 467   low 784   info 253 View in Orca
Passed Passed SAST high 0   medium 0   low 0   info 0 View in Orca
Passed Passed Secrets high 0   medium 0   low 0   info 0 View in Orca
Passed Passed Vulnerabilities high 0   medium 0   low 0   info 0 View in Orca
🛡️ The following IaC misconfigurations have been detected
NAME FILE
medium JSON Object Schema Without Type .../Schema/openapi.json View in code
medium JSON Object Schema Without Type .../Schema/openapi.json View in code
medium JSON Object Schema Without Type .../Schema/openapi.json View in code
medium JSON Object Schema Without Type .../Schema/openapi.json View in code
medium JSON Object Schema Without Type .../Schema/openapi.json View in code
medium JSON Object Schema Without Type .../Schema/openapi.json View in code
medium JSON Object Schema Without Type .../Schema/openapi.json View in code
medium JSON Object Schema Without Type .../Schema/openapi.json View in code
medium JSON Object Schema Without Type .../Schema/openapi.json View in code
medium JSON Object Schema Without Type .../Schema/openapi.json View in code
medium JSON Object Schema Without Type .../Schema/openapi.json View in code
medium JSON Object Schema Without Type .../Schema/openapi.json View in code
medium JSON Object Schema Without Type .../Schema/openapi.json View in code
medium JSON Object Schema Without Type .../Schema/openapi.json View in code
low Numeric Schema Without Minimum (v3) .../Schema/openapi.json View in code
low Numeric Schema Without Minimum (v3) .../Schema/openapi.json View in code
low Numeric Schema Without Minimum (v3) .../Schema/openapi.json View in code
low Numeric Schema Without Minimum (v3) .../Schema/openapi.json View in code
low Numeric Schema Without Minimum (v3) .../Schema/openapi.json View in code
low Numeric Schema Without Minimum (v3) .../Schema/openapi.json View in code
low Numeric Schema Without Minimum (v3) .../Schema/openapi.json View in code
low Numeric Schema Without Minimum (v3) .../Schema/openapi.json View in code
low Numeric Schema Without Minimum (v3) .../Schema/openapi.json View in code
low Numeric Schema Without Minimum (v3) .../Schema/openapi.json View in code
low Numeric Schema Without Minimum (v3) .../Schema/openapi.json View in code
... ... ... ...

Copy link

@orca-security-eu orca-security-eu bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Orca Security Scan Summary

Status Check Issues by priority
Passed Passed Secrets high 0   medium 0   low 0   info 0 View in Orca

@mpartipilo mpartipilo marked this pull request as ready for review May 28, 2025 11:46
@mpartipilo mpartipilo changed the title feat:Filters feat:Filters (#14) May 28, 2025
@mpartipilo mpartipilo merged commit 711da3a into mvp May 28, 2025
2 checks passed
@mpartipilo mpartipilo deleted the feat/filters branch May 28, 2025 14:43
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