Skip to content

Add Hfresh support#142

Merged
rlmanrique merged 7 commits intomainfrom
rod/spfresh
Mar 20, 2026
Merged

Add Hfresh support#142
rlmanrique merged 7 commits intomainfrom
rod/spfresh

Conversation

@rlmanrique
Copy link
Copy Markdown
Collaborator

No description provided.

Copy link
Copy Markdown

@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 0   low 0   info 0 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

@rlmanrique rlmanrique changed the title WIP: Add spfresh support WIP: Add Hfresh support Jan 28, 2026
@rlmanrique rlmanrique changed the title WIP: Add Hfresh support Add Hfresh support Mar 19, 2026
@rlmanrique rlmanrique requested a review from jfrancoa March 19, 2026 12:54
hfresh_search_probe: Optional[
int
] = CreateCollectionDefaults.hfresh_search_probe,
distance_metric: Optional[str] = CreateCollectionDefaults.distance_metric,
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I know this is out of topic for this PR...but as we are already adding both parameters distance_metric and rescore_limit we should also pass it to other vector indeces...what do you think? would it be too much effort? I think all of them support these two arguments, it would be just bypassing it (if it's None it will use the default value anyway)

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Good suggestion. Done!

"--hfresh_replicas",
default=CreateCollectionDefaults.hfresh_replicas,
type=int,
help="hfresh replicas (default: None).",
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Make a reference to the posting lists, so that users do not think it has anything to do with shard replicas

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Done

@rlmanrique
Copy link
Copy Markdown
Collaborator Author

Thanks for the comments. I addressed them all

@rlmanrique rlmanrique requested a review from jfrancoa March 20, 2026 12:26
@rlmanrique rlmanrique merged commit 1434bc5 into main Mar 20, 2026
18 checks passed
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.

2 participants