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

TermOffsetPopulator isn't clear state properly #2239

Open
d-hwang opened this issue Jan 30, 2024 · 0 comments
Open

TermOffsetPopulator isn't clear state properly #2239

d-hwang opened this issue Jan 30, 2024 · 0 comments
Assignees

Comments

@d-hwang
Copy link
Collaborator

d-hwang commented Jan 30, 2024

When the 2nd hit in the same range doesn't have any content functions to evaluate, we aren't clearing the collected state/document for the subsequent record which can lead to invalid result.

@d-hwang d-hwang self-assigned this Jan 30, 2024
d-hwang added a commit that referenced this issue Jan 30, 2024
d-hwang added a commit that referenced this issue Jan 30, 2024
hgklohr pushed a commit that referenced this issue Jan 31, 2024
* re #2239: clear the document before exiting the method. empty keys are expected in some cases

* Add unit test for TermOffsetPopulator

---------

Co-authored-by: Moriarty <22225248+apmoriarty@users.noreply.github.com>
hgklohr pushed a commit that referenced this issue Feb 2, 2024
* re #2239: clear the document before exiting the method. empty keys are expected in some cases

* Add unit test for TermOffsetPopulator

---------

Co-authored-by: Moriarty <22225248+apmoriarty@users.noreply.github.com>
hgklohr pushed a commit that referenced this issue Feb 2, 2024
* re #2239: clear the document before exiting the method. empty keys are expected in some cases

* Add unit test for TermOffsetPopulator

---------

Co-authored-by: Moriarty <22225248+apmoriarty@users.noreply.github.com>
hgklohr pushed a commit that referenced this issue Feb 2, 2024
* re #2239: clear the document before exiting the method. empty keys are expected in some cases

* Add unit test for TermOffsetPopulator

---------

Co-authored-by: Moriarty <22225248+apmoriarty@users.noreply.github.com>
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

1 participant