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

Update to elasticlunr-rs 3.0.0 #1873

Merged
merged 1 commit into from
Jun 3, 2022
Merged

Update to elasticlunr-rs 3.0.0 #1873

merged 1 commit into from
Jun 3, 2022

Conversation

mattico
Copy link
Contributor

@mattico mattico commented May 23, 2022

I'm planning to release elasticlunr-rs 3.0.0 soon. The one noticeable change for you is the new IndexBuilder::add_field_with_tokenizer function.

I wanted to give a chance for feedback before I release the final version.

@Keats Keats marked this pull request as ready for review May 23, 2022 08:35
Copy link
Collaborator

@Keats Keats left a comment

Choose a reason for hiding this comment

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

lgtm

#[cfg(feature = "indexing-ja")]
Language::Japanese => pipeline::tokenize_japanese,
_ => pipeline::tokenize,
};
Copy link
Collaborator

Choose a reason for hiding this comment

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

Additional languages gated by features work automatically now?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Tokenization is now included in the language trait.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Looks good then, I'll merge it when 3.0 is released

@mattico mattico changed the title [WIP] Update to elasticlunr-rs 3.0.0 Update to elasticlunr-rs 3.0.0 Jun 2, 2022
@Keats Keats merged commit e9e6cad into getzola:next Jun 3, 2022
@mattico mattico deleted the el-v3 branch June 4, 2022 01:45
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