Skip to content

[pull] main from spring-projects:main#428

Merged
pull[bot] merged 5 commits intoHandleCoding:mainfrom
spring-projects:main
Apr 27, 2026
Merged

[pull] main from spring-projects:main#428
pull[bot] merged 5 commits intoHandleCoding:mainfrom
spring-projects:main

Conversation

@pull
Copy link
Copy Markdown

@pull pull Bot commented Apr 27, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

ilayaperumalg and others added 5 commits April 27, 2026 07:09
fix: fix doKey() escaping in MariaDB, Oracle, and PgVector filter expression converters

  -  MariaDB: backtick-quote the metadata column identifier in the column name, and fix doKey() to JS-escape the key (\ and " for JSONPath) before SQL-escaping via emitSqlString(), rather than only doubling single quotes.
  -  Oracle and PgVector: move SQL single-quote escaping from OracleVectorStore and PgVectorStore into their respective converters, consistent with MariaDB.

Ensure JSON metadata keys are escaped in Pinecone and Chroma filter converter

 -  PineconeFilterExpressionConverter: emit keys via emitJsonValue() so " and \ cannot break
    out of JSON object keys and inject operators (e.g. $or) into Chroma/Pinecone where documents.

 -  Adding tests in Pinecone and Chroma to ensure that the FilterExpressionConverter's doKey() implementation
    properly JSON serializes the key so that any double quotes, and \ charaters are correctly escaped in the
    generate JSON string for the key.

doKey fixes for Milvus, MongoDB, Neo4j and OpenSearch

Escape Lucene query_string metadata keys via emitLuceneString

Couchbase: JSON-escape metadata filter keys with emitJsonValue

Fix gemfire vector store filter expression doKey (escape chars by using emitLuceneString).
Add double quotes around the entire metadata.key string in ElasticSearch filter expression as emitLuceneString does not escape spaces.

Fix Weaviate vector store for filter expression key handling

Use emitJsonValue utility method instead of manual escaping

Fix inifnispan vector store for doKey() issues

Fix Redis vector store doKey() related issues

Typesense vector store doKey() fixes

Fix Couchbase vector store doKey() issues

Fix Elasticsearch doKey() implementation issues

Fix Opensearch vector store doKey() implementation issues

Maintain consistency for key handling across OpenSearch/ElasticSearch/Gemfire

  - Move escaping of space into emitLuceneString

Fix RedisFilterExpressionConverter key handling

   - Remove stripping of outer quotes
   - Handle numberic fields when handling keys

Co-Authored-by: Eric Bottard <eric.bottard@broadcom.com>
Co-Authored-by: Soby Chacko <soby.chacko@broadcom.com>
Signed-off-by: Eric Bottard <eric.bottard@broadcom.com>
Signed-off-by: Soby Chacko <soby.chacko@broadcom.com>
Signed-off-by: Ilayaperumal Gopinathan <ilayaperumal.gopinathan@broadcom.com>
This commit makes sure the conversationId equality
test is properly handled and avoids dealing with
escaping special characters like "'" in its value.

Downstream VectorStore implementations and
FilterExpressionConverter are then responsible for
its proper escaping in the target query language.

Signed-off-by: Eric Bottard <eric.bottard@broadcom.com>
This commit introduces an upper limit to the accepted
number of characters in a text line, to prevent excessive memory allocation
when processing malformed pdf documents.

This commit also puts an upper limit on the number
of lines per page (computed from pdf content).

Signed-off-by: Eric Bottard <eric.bottard@broadcom.com>
Signed-off-by: Soby Chacko <soby.chacko@broadcom.com>
Make the default cache dir for transformer model more
secure by using a non predictable, user-owned directory.

Signed-off-by: Eric Bottard <eric.bottard@broadcom.com>
@pull pull Bot locked and limited conversation to collaborators Apr 27, 2026
@pull pull Bot added the ⤵️ pull label Apr 27, 2026
@pull pull Bot merged commit ce38bfe into HandleCoding:main Apr 27, 2026
1 of 2 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants