Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added condition of use_tantivy #1832

Merged
merged 1 commit into from
Jan 21, 2025
Merged

added condition of use_tantivy #1832

merged 1 commit into from
Jan 21, 2025

Conversation

ItsRoy69
Copy link
Contributor

@ItsRoy69 ItsRoy69 commented Jan 20, 2025

Description

Summary of changes:
Modified LanceDB initialization to make Tantivy dependency optional when only using vector search capabilities. The Tantivy import check is now conditional based on the search type being used.

Related issues:
Fixes #1827 - ImportError being raised for vector-only search due to missing Tantivy dependency

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Checklist

  • My code follows Phidata's style guidelines and best practices
  • I have performed a self-review of my code
  • I have added docstrings and comments for complex logic
  • My changes generate no new warnings or errors
  • I have verified my changes in a clean environment.

Signed-off-by: ItsRoy69 <jyotirmoyroy649@gmail.com>
Copy link
Contributor

@ysolanky ysolanky left a comment

Choose a reason for hiding this comment

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

Thank you @ItsRoy69. Great catch

@JyotirmoyWorks
Copy link

Thanks

@dirkbrnd dirkbrnd merged commit 429f447 into agno-agi:main Jan 21, 2025
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.

Text Search not forward compatible with latest version v2.7.8
4 participants