? Success

User tests: Successful: Unsuccessful:

avatar Hackwar
Hackwar
3 Apr 2019

Smart Search has the ability to parse different formats of data, be it HTML, TXT or RTF. And in theory you could extend that to parse also PDFs or DOCX. Unfortunately, right now you are forced to decide which format the whole result item is in for all properties when calling index() in your finder plugin. This prevents us from having results that contain normal HTML and then maybe a file in PDF and another in DOCX format. It is a bit the Highlander issue...

This PR changes that so that you can set the format of the property when telling the indexer how to index that part.

How to test?

In core Joomla, this should not have any impact at all. So simply run the indexer and/or use finder how you did before and you should not notice a difference. I'm asking however for a codereview on this to make sure that my idea is sane. Thus I'm calling for the powers of @chrisdavenport and @wilsonge 😉

In another PR, I would also like to add the possibility to point to a file path. If we really want to allow indexing of PDF files for example, we have to change the system a bit to not add the whole file to the result object, too.

avatar Hackwar Hackwar - open - 3 Apr 2019
avatar Hackwar Hackwar - change - 3 Apr 2019
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 3 Apr 2019
Category Administration com_finder
avatar Hackwar Hackwar - change - 3 Apr 2019
Labels Added: ?
avatar Hackwar
Hackwar - comment - 26 Apr 2019

After some more thought, this will need further changes. Please don't merge this yet.

avatar wilsonge
wilsonge - comment - 20 Aug 2019

@Hackwar final call on things for 4.0 - i intend to beta in october

avatar wilsonge
wilsonge - comment - 19 Oct 2019

@Hackwar final final call

avatar Hackwar
Hackwar - comment - 21 Oct 2019

This will not be part of 4.0. Maybe we can do this for 4.1 or something like that.

avatar Hackwar Hackwar - change - 23 Oct 2020
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2020-10-23 19:58:18
Closed_By Hackwar
avatar Hackwar Hackwar - close - 23 Oct 2020

Add a Comment

Login with GitHub to post a comment