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

implement matched-elements-only for indexed arrays #33285

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

arnej27959
Copy link
Member

@toregge please review
@havardpe please review
@geirst FYI

Note: this won't work for weighted set terms.

toregge
toregge previously approved these changes Feb 9, 2025
@@ -30,6 +30,28 @@ namespace search::fef {

namespace proton::matching {

class FieldIdToNameMapper {
Copy link
Member

Choose a reason for hiding this comment

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

Consider moving thisclass to a separate header file.

@@ -30,6 +30,28 @@ namespace search::fef {

namespace proton::matching {

class FieldIdToNameMapper {
public:
const std::string & lookup(uint32_t fieldId) const {
Copy link
Member

Choose a reason for hiding this comment

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

Consider deinlining the implementation of lookup

}
return lookupFailed;
}
uint32_t lookup(const std::string& fieldName) const {
Copy link
Member

Choose a reason for hiding this comment

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

This version of lookup appears to be unused. Consider removing it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants