(Translated by https://www.hiragana.jp/)
Question re multiple search shards · Issue #498 · olivernn/lunr.js · GitHub
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

Question re multiple search shards #498

Open
alexlangeprvacera opened this issue Apr 19, 2021 · 0 comments
Open

Question re multiple search shards #498

alexlangeprvacera opened this issue Apr 19, 2021 · 0 comments

Comments

@alexlangeprvacera
Copy link

alexlangeprvacera commented Apr 19, 2021

Hello, olivernn and others

In #76 you wrote:

Perhaps a simpler approach is to have multiple indexes or shards, that each contain a subset of the documents you need to search.

Can you give me some guidance, please: how do I create multiple shards? Is a shard simply a separate index? as shown in your example at https://lunrjs.com/guides/getting_started.html#creating-an%0D-index ? on the idx.search function, how do a pass in the name of an index/shard?

Also is there any more concrete documentation about customizing lunr.js with mkdocs?

Please excuse my newbie questions. I am a techwriter, not a super programmer. So any kindly replies will be most appreciated. Thank you!

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