You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1.First I created search form and search view for searching posts.Also I created searchvertor from postgres by searching blog and body.
2.I define searchrank in view.It allow users that when them search any post they will see the results by relevancy.
3.I define config parametr in searchview.It do possible for us emove stop words in any language or ect.
4.Also searchview provide us to give weith by field.SearchVector() has a default weights are D, C, B, and A, and they refer to the numbers 0.1, 0.2, 0.4, and 1.0,
respectively.Also we can define with for search rank to title and body.
5.Also we can use trigram similarity.Trigram similarity
provide users when they type different words what is matches 2 letter by our post titles,they can see that post.
0 commit comments