-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Add full text search in autocomplete #659
Conversation
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.
LGTM.
@SiriusXT , could you please add more details on how to access this feature, esp. screenshots? It's not immediately obvious for a user what has been introduced here.
Relevant information has been added above |
By default, it still searches by name. The added feature is to return full-text search results when you press shift+enter or click the button.
For example, the default search by name does not find the required notes.
![图片](https://private-user-images.githubusercontent.com/37627919/390952128-d88c2e32-94d5-42b3-8298-35bf4f9cc2d2.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyMzQ4OTgsIm5iZiI6MTczOTIzNDU5OCwicGF0aCI6Ii8zNzYyNzkxOS8zOTA5NTIxMjgtZDg4YzJlMzItOTRkNS00MmIzLTgyOTgtMzViZjRmOWNjMmQyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjExVDAwNDMxOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTk1Zjk4NjlkYmEyYTllN2U4MjFiNTMwNWFhODgzZTZiNTM2MjMyNTUyYzljODE2NGFiMTY3ZWMyNGUyNDEyMzMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.6G4uIt8K_BtagVtiwwhDN73GPl19bruNKZEiR4GwvxA)
But when you click the search button or press Shift+Enter, a full-text search will be performed to search for the required notes:
![图片](https://private-user-images.githubusercontent.com/37627919/390952345-696b9aef-ef9b-42a2-9490-bf6e30fcd2ba.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyMzQ4OTgsIm5iZiI6MTczOTIzNDU5OCwicGF0aCI6Ii8zNzYyNzkxOS8zOTA5NTIzNDUtNjk2YjlhZWYtZWY5Yi00MmEyLTk0OTAtYmY2ZTMwZmNkMmJhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjExVDAwNDMxOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWU0ODFkZTU5OGRjMjA4M2IyZGJmNDA5M2IwZTIxNDNiN2I0N2E1MTE0OTc5ZWQ1NTY4N2Y2NmZjYzgwN2RiMWImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.zdVtheKL3sglLvMRTk3wl5WUDeAZ4EeF3FheFkwa6wI)