Feature Language Change Documentation Required PR-5.0-dev Pending

User tests: Successful: Unsuccessful:

avatar Hackwar
Hackwar
27 Jan 2022

Pull Request for Issue #26233.

Summary of Changes

This allows you to set which taxonomies should be indexed by a finder plugin.

Testing Instructions

  1. Setup a site with some content.
  2. Disable all finder plugins except for one (to test them one by one)
  3. Edit the last active finder plugin and select which taxonomies to index from the list of checkboxes.
  4. Run the indexer

Actual result BEFORE applying this Pull Request

All taxonomies were indexed each time.

Expected result AFTER applying this Pull Request

Only the selected taxonomies are indexed.

avatar Hackwar Hackwar - open - 27 Jan 2022
avatar Hackwar Hackwar - change - 27 Jan 2022
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 27 Jan 2022
Category Administration com_finder Language & Strings Front End Plugins
avatar Hackwar Hackwar - change - 27 Jan 2022
Labels Added: Language Change ?
avatar nadjak77 nadjak77 - test_item - 20 May 2022 - Tested successfully
avatar nadjak77
nadjak77 - comment - 20 May 2022

I have tested this item successfully on beff9ea


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/36867.

avatar joomdonation
joomdonation - comment - 21 May 2022

The index behavior when the category which the item belong to is missing is inconsistent in finder plugins. In contact plugin, we stop indexing item if category not found, while in content plugin, the index process is continued

I think if category not found, we should not index the item, not depend on Category is selected to index or not. I tried to delete a category from database, the article still being indexed and searchable. However, the link to that article throws 404 error, so I don't think it is right.

Could you please check it?

avatar Hackwar Hackwar - change - 5 Jun 2022
Labels Added: ?
avatar richard67
richard67 - comment - 6 Jun 2022

@Hackwar Could you check the comment above #36867 (comment) ?

avatar joomla-bot
joomla-bot - comment - 27 Jun 2022

This pull requests has been automatically converted to the PSR-12 coding standard.

avatar HLeithner HLeithner - change - 27 Jun 2022
Labels Added: ?
avatar Hackwar
Hackwar - comment - 4 Jul 2022

I looked into this and my first reaction was to refuse a change, but @joomdonation is right here. We should not index an item if it doesn't have a category or a category can't be loaded. I changed the code accordingly. I would be really gratefull for tests to maybe still get this into 4.2?

avatar Hackwar Hackwar - change - 30 Aug 2022
Title
[4.2] Finder: Allow to select which taxonomies to index
[4.3] Finder: Allow to select which taxonomies to index
avatar Hackwar Hackwar - edited - 30 Aug 2022
avatar Hackwar Hackwar - change - 30 Aug 2022
Labels Added: PR-4.3-dev
Removed: ?
avatar Hackwar Hackwar - change - 29 Sep 2022
Labels Removed: ?
avatar Hackwar Hackwar - change - 27 Oct 2022
Labels Removed: ?
avatar Hackwar Hackwar - change - 21 Feb 2023
Labels Added: Conflicting Files
avatar Quy Quy - change - 28 Feb 2023
Labels Removed: Conflicting Files
avatar Quy Quy - test_item - 2 Mar 2023 - Tested successfully
avatar Quy
Quy - comment - 2 Mar 2023

I have tested this item successfully on 93dd349


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/36867.

avatar Hackwar Hackwar - change - 3 Mar 2023
Title
[4.3] Finder: Allow to select which taxonomies to index
[4.3] Smart Search: Allow to select which taxonomies to index
avatar Hackwar Hackwar - edited - 3 Mar 2023
avatar carlitorweb carlitorweb - test_item - 6 Mar 2023 - Tested successfully
avatar carlitorweb
carlitorweb - comment - 6 Mar 2023

I have tested this item successfully on 93dd349


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/36867.

avatar richard67 richard67 - change - 6 Mar 2023
Status Pending Ready to Commit
avatar richard67
richard67 - comment - 6 Mar 2023

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/36867.

avatar Hackwar Hackwar - change - 23 Mar 2023
Title
[4.3] Smart Search: Allow to select which taxonomies to index
[4.4] Smart Search: Allow to select which taxonomies to index
avatar Hackwar Hackwar - edited - 23 Mar 2023
avatar laoneo
laoneo - comment - 28 Mar 2023

Thank you for your contribution, unfortunately the 4.4-dev branch doesn't get new features. When #40181 is merged this pr should be rebased to 5.0-dev. Thanks for understanding.

avatar Hackwar Hackwar - change - 28 Mar 2023
Title
[4.4] Smart Search: Allow to select which taxonomies to index
[5.0] Smart Search: Allow to select which taxonomies to index
avatar Hackwar Hackwar - edited - 28 Mar 2023
avatar Hackwar Hackwar - change - 28 Mar 2023
Labels Added: ? Documentation Required PR-5.0-dev PR-4.4-dev
Removed: PR-4.3-dev
avatar HLeithner
HLeithner - comment - 7 Apr 2023

How would this look like for custom fields (in the future)? Would we add this option as custom field attribute?

avatar HLeithner HLeithner - change - 7 Apr 2023
Labels Added: ?
Removed: PR-4.4-dev
avatar Hackwar
Hackwar - comment - 7 Apr 2023

#38650 adds options to set if a custom field should be indexed as text or taxonomy or none.

avatar Hackwar Hackwar - change - 18 Apr 2023
Status Ready to Commit Closed
Closed_Date 0000-00-00 00:00:00 2023-04-18 12:06:26
Closed_By Hackwar
avatar Hackwar Hackwar - close - 18 Apr 2023
avatar richard67
richard67 - comment - 18 Apr 2023

Why closed? Should we reopen the original issue?

avatar Hackwar Hackwar - change - 18 Apr 2023
Status Closed New
Closed_Date 2023-04-18 12:06:26
Closed_By Hackwar
Labels Removed: ?
avatar Hackwar Hackwar - change - 18 Apr 2023
Status New Pending
avatar Hackwar Hackwar - reopen - 18 Apr 2023
avatar HLeithner HLeithner - change - 29 May 2023
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2023-05-29 08:17:55
Closed_By HLeithner
Labels Added: Feature
Removed: ?
avatar HLeithner HLeithner - close - 29 May 2023
avatar HLeithner HLeithner - merge - 29 May 2023
avatar HLeithner
HLeithner - comment - 29 May 2023

thanks

avatar HLeithner
HLeithner - comment - 29 May 2023

We need documentation for this

Add a Comment

Login with GitHub to post a comment