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

refactor doc mapper #5522

Merged
merged 2 commits into from
Oct 24, 2024
Merged

refactor doc mapper #5522

merged 2 commits into from
Oct 24, 2024

Conversation

PSeitz
Copy link
Contributor

@PSeitz PSeitz commented Oct 24, 2024

move tantivy val to json to own module
remove duplicated conversion logic

move field_presence to own module

move tantivy val to json to own module
remove duplicated conversion logic

move field_presence to own module
@PSeitz PSeitz requested a review from fulmicoton October 24, 2024 04:50
Copy link

github-actions bot commented Oct 24, 2024

On SSD:

Average search latency is 1.0x that of the reference (lower is better).
Ref run id: 4012, ref commit: 3254064
Link

On GCS:

Average search latency is 1.03x that of the reference (lower is better).
Ref run id: 4013, ref commit: 3254064
Link

TantivyValue::Object(object) => tantivy_object_to_json_value(object),
// we shouldn't have these types inside a json field in quickwit
TantivyValue::PreTokStr(pretok) => JsonValue::String(pretok.text),
TantivyValue::Date(date) => quickwit_datetime::DateTimeOutputFormat::Rfc3339
Copy link
Contributor

Choose a reason for hiding this comment

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

This is not what was done before. (this is better)

@PSeitz PSeitz merged commit 312f5c3 into main Oct 24, 2024
5 checks passed
@PSeitz PSeitz deleted the refactor_mapping branch October 24, 2024 12:58
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