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
I'm currently experimenting itemsjs for the search, some things to note:
The aggregation feature can be used for filter, but it's case sensitive and need exact term. Some of the data contain trailing spaces and same text with different variations (eg. Jakarta Barat, Jakarta barat). Need to decide whether the data will be cleaned on the source or on the application.
Sort can be easily set up (can be helpful if we add sort by feature)
There's no function like extractField in Mini Search, so if need it then we need to extend it ourselves. (for example when adding Verified column on the data to be indexed)
Need to decide whether the data will be cleaned on the source or on the application.
For the first phase, we can't rely on the cleaning up from the source sheets, because it is done manually. We should try cleaning it up on our side as much as possible.
However, in the future, we can try to implement a proper Data Validation mechanism in the Google Sheet. I need to talk to Mas Awe about it.
Sort can be easily set up (can be helpful if we add sort by feature)
Yes, please. Btw, based on #131, we shouldn't provide Terverifikasi filter and sort options for the users, but we should always prioritise the verified ones over the non-verified ones.
There's no function like extractField in Mini Search, so if need it then we need to extend it ourselves. (for example when adding Verified column on the data to be indexed)
Then let's focus on the itemsjs first. Moreover, please try to minimize its performance impact into our website by importing the library dynamically if possible. Thanks!
Btw, could you please submit a Draft Pull Request and link it to this issue to signal other contributors that you have started working on it? Thanks, Mbak @ekamuktia!
For better search results, maybe a full-text search can be used?
The potential libraries are:
The text was updated successfully, but these errors were encountered: