forked from apache/solr
-
Notifications
You must be signed in to change notification settings - Fork 0
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
SOLR-16667 #4
Open
aruggero
wants to merge
38
commits into
main
Choose a base branch
from
alternative_solution_for_feature_vector_cache
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
SOLR-16667 #4
Changes from 33 commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
9e9ae26
First changes for cache integration in ltr ranking
aruggero dbb2931
Added cache in sparse model scorer
aruggero 5e3895f
Removed logSingleHit
aruggero 5e81f2c
Removed throws error because not arisen
aruggero 84a4646
Added the new featureVectorCache in the SolrIndexSearcher
aruggero d137fd1
Merge remote-tracking branch 'UpStream/main' into ltr_feature_vector_…
aruggero b6bdba8
Removed unuseful piece of code in scoreSingleHit
aruggero 27ed1cc
added comments for topN parameter
aruggero f78fead
Removed unthrown exceptions
aruggero f6415a2
Fixed cache usage in LTRScoringQuery score of both sparse and dense s…
aruggero ca30f38
Alternative approach with only floats in the feature vector to cache …
aruggero 0ec2533
Merge remote-tracking branch 'upstream/main' into alternative_solutio…
alessandrobenedetti 09ec0b7
first draft
alessandrobenedetti 01a09d3
Reversed changes not related to feature vector cache
aruggero f5ea825
Refactoring
aruggero bad9950
Adjusted tests with dense returned feature format and fixed document …
aruggero 61740bc
Fixed another test with dense format
aruggero 07c4bbc
moved context to featureTraversalRescorer
aruggero 5a745bf
Reversed randomic format tests
aruggero c125c1b
Fixed tests with random feature format
aruggero 6b8e01f
Added NaN check also in vector extraction for isUsed condition
aruggero 25ea7ac
Gradlew tidy
aruggero b198688
Changes cache key for feature vector: features definition + efi + docId
aruggero 62af786
Divided query part of the feature vector key from the document part
aruggero 8c07a05
Fixed problem with fvKey. Put featureStoreName instead of features (w…
aruggero 0433606
Added features definition in the feature vector key
aruggero a80baaa
added space
aruggero c579b02
Added test for feature vector cache and checked if enabled in LTRScor…
aruggero fb934d7
Removed last featureVectorCache configuration from config test files
aruggero d5161f6
Added documentation for new cache and sparse format
aruggero b020225
minor changes to start pipeline
alessandrobenedetti e67af0c
minor changes to start pipeline
alessandrobenedetti 00db16b
minor changes to start pipeline
alessandrobenedetti bb5cdcf
refactor
alessandrobenedetti c9900b1
fixed test
1d3f326
gradlew tidy
aruggero f8f068e
Created a separate method for efi hash
aruggero a6d459f
Changed isUsed in isDefaultValue
aruggero File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the generation of the cache key has been moved from this class, motivation?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this method is no longer invoked inside the Logger (see row 81 below), therefore I moved it where it is called (in LTRScoringQuery)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also this is now called when creating the LTRScoringQuery (query part of the key) and added as a private variable in the LTRScoringQuery object