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

Test fixes and more local mode #873

Merged
merged 1 commit into from
Oct 4, 2024
Merged

Conversation

baitsguy
Copy link
Contributor

@baitsguy baitsguy commented Oct 3, 2024

Fix an integ test I broke in 0a3ad99

Add local mode for limit and sort

@baitsguy baitsguy marked this pull request as ready for review October 3, 2024 21:56
Copy link
Collaborator

@HenryL27 HenryL27 left a comment

Choose a reason for hiding this comment

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

where id versus _element_id?

Comment on lines +23 to +24
{"id": 7, "properties": {"_element_index": 7}, "text_representation": "this is a cat"},
{"id": 1, "properties": {"_element_index": 1}, "text_representation": "here is an animal that moos"},
Copy link
Collaborator

Choose a reason for hiding this comment

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

ids here?

],
},
{ # handle element with not text
"doc_id": 4,
"elements": [
{"id": 1},
{"id": 1, "properties": {"_element_index": 1}},
Copy link
Collaborator

Choose a reason for hiding this comment

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

id here?

{ # drop because of limit
"doc_id": 6,
"elements": [
{"id": 1},
{"id": 1, "properties": {"_element_index": 1}},
Copy link
Collaborator

Choose a reason for hiding this comment

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

id here?

@baitsguy
Copy link
Contributor Author

baitsguy commented Oct 3, 2024

where id versus _element_id?

they're just no-ops here, I had them to indicate that element_index isn't an id

@baitsguy baitsguy requested a review from HenryL27 October 3, 2024 22:49
@baitsguy baitsguy merged commit 61b66a2 into main Oct 4, 2024
10 of 11 checks passed
@baitsguy baitsguy deleted the test-fixes-more-local-mode branch October 4, 2024 00:25
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.

2 participants