-
Notifications
You must be signed in to change notification settings - Fork 474
docs: add json to full text search document #4865
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
base: main
Are you sure you want to change the base?
Conversation
1397aa7
to
98dbbab
Compare
Hi @jackye1995 , could you help review this document update when you have time, thanks very much! |
|
||
The full text search index supports multiple tokenizer types for different text processing needs: | ||
The full text search index supports multiple tokenizer types for different text processing needs. | ||
There are two different tokenizer configurations: ```lance_tokenizer``` and ```base_tokenizer```. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no need to do triple backquotes, single backquotes are fine.
|
||
#### Text Tokenizer | ||
Text Tokenizer is responsible for handling TEXT-type data, which is Utf8, LargeUtf8 or List of them in arrow format. | ||
The Text Tokenizer behaves consistently in both "query" and "document parsing" scenarios, which means that if a document |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we need double quotes for "query"
and "document parsing"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also same comment to a few other cases below
#### Text Tokenizer | ||
Text Tokenizer is responsible for handling TEXT-type data, which is Utf8, LargeUtf8 or List of them in arrow format. | ||
The Text Tokenizer behaves consistently in both "query" and "document parsing" scenarios, which means that if a document | ||
contains the word "lance," we can retrieve it using a query with "lance." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"lance",
and "lance".
?
age,number,30 | ||
address.city,str,San | ||
address.city,str,Francisco | ||
address.zip,number,94102 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should define and handle what if the document path contains .
or :
for parsing and querying
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks your nice suggestion! I have updated the example, adding .
and :
to json text with the corresponding triplets. I also added a unit test to .
and :
.
98dbbab
to
7fb8468
Compare
e1bbd02
to
9e66d90
Compare
9e66d90
to
d7c83b0
Compare
No description provided.