Skip to content

Conversation

developerEinpix
Copy link

No description provided.

@developerEinpix developerEinpix force-pushed the add-support-to-enable-sorting-on-string-column branch from 27b2115 to 4d5223f Compare April 21, 2023 10:23
@npotier
Copy link
Member

npotier commented Oct 10, 2023

Hello @developerEinpix thank you for this PR.

I don't see the option "sort" that you propose in Typesense documentation : https://typesense.org/docs/0.25.1/api/collections.html#schema-parameters

But this PR show that we could add and use other parameters for each field of a collection 👍

Declaring a field as optional
A field can be declared as optional by setting "optional": true.

Declaring a field as un-indexed
You can set a field as un-indexed by setting "index": false. This is useful when used along with [auto schema detection](https://typesense.org/docs/0.25.1/api/collections.html#with-auto-schema-detection) and you need to [exclude certain fields from indexing](https://typesense.org/docs/0.25.1/api/collections.html#indexing-all-but-some-fields).

Configuring language-specific tokenization:
The default tokenizer that Typesense uses works for most languages, especially ones that separate words by spaces. However, based on feedback from users, we've added locale specific customizations for the following languages. You can enable these customizations for a field, by setting a field called locale inside the field definition. Eg: {name: 'title', type: 'string', locale: 'ja'} will enable the Japanese locale customizations for the field named title.

@npotier npotier added the wip work in progress label Oct 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

wip work in progress

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants