mattporritt / moodle-search_elastic

An Elasticsearch engine plugin for Moodle's Global Search
https://moodle.org/plugins/search_elastic
GNU General Public License v3.0
16 stars 13 forks source link

How to validate that Tika is working #95

Open dvdcastro opened 1 year ago

dvdcastro commented 1 year ago

Hello,

We have connected Tika but the plugin is not sending files to it or they are not showing up when doing global search.

Is there a way to validate from the plugin that Tika is indeed working?

dvdcastro commented 1 year ago

Also, I see the connection to tika is being validated.:

https://github.com/catalyst/moodle-search_elastic/blob/MOODLE_310_STABLE/classes/enrich/text/tika.php#L102-L106

It verifies that the tika host and port are set but then it makes a request towards the elastic host and port. Is this correct?

dvdcastro commented 1 year ago

96

Here is a proposal for this.