AAFC-BICoE / dina-planning

AAFC-DINA planning repository
3 stars 2 forks source link

Partial search not working on object store? #356

Open rintoult opened 1 year ago

rintoult commented 1 year ago

I think I did it correctly - but it seems that partial search on file name in the object store is not working. In the DEV instance right now there are only 2 images both with 1326 in the title.

When I search that as partial - it brings up no results.

I think the partial search is still wanting the text to be at the start of the name?

But that doesn't work either - searching "img" gives no results either.

Tara

cgendreau commented 1 year ago

This search is like primary identifier at the moment so per words. IMG_1326.JPG is composed of 2 words (IMG_1326 and JPG) so it won't find by prefix (img) or in between (1326) but will work with suffix (jpg) since the dot is a word separator. Quite technical but that's the reason. This will be changed when time will allow it.