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

Distinguish between "TextField" and "KeywordField" #16

Open
valencik opened this issue Mar 8, 2023 · 0 comments
Open

Distinguish between "TextField" and "KeywordField" #16

valencik opened this issue Mar 8, 2023 · 0 comments
Labels
analysis Related to analyzing and tokenizing text index Related to indexing, info in the index

Comments

@valencik
Copy link
Contributor

valencik commented Mar 8, 2023

I was thinking TextField is analyzed, KeywordField is not.

KeywordField support in particular could be useful for dealing with multiple word names while we're still missing phrase search. Consider authors in the Books example, it would be nice to search author:"Dr. Suess" and have that work as expected.

Lucene Docs:

TextField - tokenized
StringField - not tokenized

Apparently Lucene didn't have a KeywordField until recently.
KeywordField - no tokenization, but sortable?

I don't really understand yet why additional work is required to sort and whether or not that makes sense for our index.

@valencik valencik added index Related to indexing, info in the index analysis Related to analyzing and tokenizing text labels Mar 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
analysis Related to analyzing and tokenizing text index Related to indexing, info in the index
Projects
None yet
Development

No branches or pull requests

1 participant