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

index_format = "elasticlunr_json" is using the default_language for all indexes #2193

Closed
Jieiku opened this issue Apr 27, 2023 · 1 comment
Closed
Labels
bug done in pr Already done in a PR

Comments

@Jieiku
Copy link
Contributor

Jieiku commented Apr 27, 2023

Bug Report

A new json index_format was added: #1998

The problem is this new json index generation does not seem to support multiple languages, the indexes are identical:

2023-04-27_10-14-14

Environment

Zola version: 0.17.2

Expected Behavior

It should generate a different index per language.

Current Behavior

All the indexes are the default language.

Step to reproduce

git clone --branch refactor https://github.com/Jieiku/abridge
cd abridge
zola serve

Fix

I believe I spotted the problem: Jieiku@7af04b2

This does indeed create the separate indexes:

2023-04-27_11-12-27

@Jieiku Jieiku changed the title index_format = "elasticlunr_json" is generating idintical indexes for all languages. index_format = "elasticlunr_json" is using the default_language for all indexes Apr 27, 2023
@Keats Keats added the bug label Apr 28, 2023
@Jieiku
Copy link
Contributor Author

Jieiku commented Oct 11, 2023

Fixed in pull request. (already merged in next)

@Keats Keats added the done in pr Already done in a PR label Dec 7, 2023
@Keats Keats closed this as completed Dec 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug done in pr Already done in a PR
Projects
None yet
Development

No branches or pull requests

2 participants