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

Better implementation of JsonVectorCollection than the "fake words" approach #1890

Open
lintool opened this issue May 29, 2022 · 2 comments
Open

Comments

@lintool
Copy link
Member

lintool commented May 29, 2022

To index JsonVectorCollection sparse vectors, we currently use the "fake words" trick - just duplicate the word X times, where X is the score. This might be a better solution: https://lucene.apache.org/core/8_11_0/analyzers-common/org/apache/lucene/analysis/miscellaneous/DelimitedTermFrequencyTokenFilter.html

@tteofili
Copy link
Collaborator

I did an experiment for this a while ago, the behavior for some reason is not exactly the same (expected) as the fw one. I can dig into this.

@JMMackenzie
Copy link
Contributor

Possibly different due to #1843?

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

No branches or pull requests

3 participants