Loading...
 
Features / Usability

Features / Usability


View PDF inline

posts: 126886 United Kingdom
Shafeeq Hamza wrote:
I did try searching, even rebuilt the search index; but could not find "pdf.js"...

Hi @Shafeeq Hamza
Glad you worked it out, the issue with not being able to find "pdf.js" in the prefs search is due to mysql having a minimal search term length of four characters. We have a similar issue i think with H5P as reported by @luciash d' being 🧙 (it works fine with elasticsearch, but that's not much help i know!)

Not sure how to fix it (you can change the mysql ft_min_word_len in the my.conf file, but only if you have root access, i suppose we could add keywords like pdfdotjs but would anyone think of searching for that?

Any better ideas any one?

posts: 3 India
Jonny Bradley wrote:

Not sure how to fix it (you can change the mysql ft_min_word_len in the my.conf file, but only if you have root access, i suppose we could add keywords like pdfdotjs but would anyone think of searching for that?

Any better ideas any one?


One of the non-elegant solutions suggested on another forum is to pre-test the keyword length and either construct a 'like' based search for text shorter than 4 characters; otherwise go with the full-text 'match'...


Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting