-
-
Notifications
You must be signed in to change notification settings - Fork 38
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
Cannot set locale:zh when using docsearch-scraper #12
Comments
In addition, I also tried to export the collection, manually set the scheme, and then import the same jsonl file, but failed with this error:
|
I modified
I am not sure if the problem has been solved, for the following error is displayed during the operation.,and I don't know if it matters.
|
I am using docsearch scraper to index my website. In order to automatically segment Chinese characters, I need to add
locale:zh
to the field ofcontent
。First,I tried to add
locale:zh
in the config file`of docsearch scraper, but it doesn’t work.Then,I tried to add a tag in the meta data, and it doesn’t work either.
<meta name="docsearch:locale_tag" content="zh" />
Finally, I tried to update the field''s definition, but it is not supported to do so.
Typesense currently does not support in-place updates to a field's definition once it is added to the schema.
I hope there could be a locale option in the config file of docsearch scraper, and after setting
locale:zh
to a specific selector or set it globally, the field generated by the docsearch scraper can automatically have such definition.The text was updated successfully, but these errors were encountered: