feat(ts/classes.lucene.adapter): Expose luceneWildcardToRegex method to allow external usage and enhance regex transformation capabilities.

This commit is contained in:
2025-04-21 15:29:11 +00:00
parent 87c930121c
commit d0cc2a0ed2
3 changed files with 7 additions and 2 deletions

View File

@@ -640,7 +640,7 @@ export class LuceneToMongoTransformer {
/**
* Convert Lucene wildcards to MongoDB regex patterns
*/
private luceneWildcardToRegex(wildcardPattern: string): string {
public luceneWildcardToRegex(wildcardPattern: string): string {
// Replace Lucene wildcards with regex equivalents
// * => .*
// ? => .