? J3 Issue
avatar saraheagle
saraheagle
26 Oct 2018

Steps to reproduce the issue

In an article, create a page break like this

<hr class="system-pagebreak" title="Nutrition as you grow older" />

Add some other text, do not include the word "nutrition" anywhere else.

Expected result

After the content has been indexed, and "nutrition" searched for the page should show in the search results

Actual result

This page does not show in the search results unless the word "nutrition" is included somewhere in "ordinary" text.

System information (as much as possible)

PHP Built On Linux uk15.siteground.eu 3.12.18-clouder0 #20 SMP Mon Feb 26 12:15:53 EET 2018 x86_64
Database Type mysql
Database Version 5.6.40-84.0-log
Database Collation utf8_general_ci
Database Connection Collation utf8mb4_general_ci
PHP Version 5.6.38
Web Server Apache
WebServer to PHP Interface cgi-fcgi
Joomla! Version Joomla! 3.8.13 Stable [ Amani ] 9-October-2018 14:00 GMT
Joomla! Platform Version Joomla Platform 13.1.0 Stable [ Curiosity ] 24-Apr-2013 00:00 GMT
User Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36

Additional comments

I'm not sure if this is possible to achieve, my clients are very surprised it does not work as from a users point of view, when you look at your site on the front-end, it's clearly there in the text! (They are not overly happy about the thought of going through their content and checking that such "keywords" are in ordinary text, but they'll just have to do that for now) Thanks

avatar saraheagle saraheagle - open - 26 Oct 2018
avatar joomla-cms-bot joomla-cms-bot - labeled - 26 Oct 2018
avatar mbabker mbabker - change - 26 Oct 2018
The description was changed
avatar mbabker mbabker - edited - 26 Oct 2018
avatar mbabker
mbabker - comment - 26 Oct 2018

Text that is contained within HTML attributes (such as this title) isn't included in the indexed content. The pagebreak plugin would need to be updated to basically render out these <hr> tags in the way they would for a regular page request in order for the titles to become visible content for the indexer.

avatar brianteeman brianteeman - change - 30 Oct 2018
Labels Added: J3 Issue
avatar brianteeman brianteeman - labeled - 30 Oct 2018
avatar franz-wohlkoenig franz-wohlkoenig - change - 4 Mar 2019
Status New Discussion
avatar Quy
Quy - comment - 3 Jun 2019

Is this an expected behavior and won't fix? Even the title attribute of an img tag in contents is not indexed.

avatar SharkyKZ
SharkyKZ - comment - 3 Jun 2019

Attributes could be indexed. But what should and shouldn't be indexed is a matter of discussion.

avatar alikon
alikon - comment - 5 Jun 2019

imo matter for 4.x.....closing

avatar joomla-cms-bot joomla-cms-bot - change - 5 Jun 2019
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2019-06-05 17:22:09
Closed_By joomla-cms-bot
avatar joomla-cms-bot joomla-cms-bot - close - 5 Jun 2019
avatar alikon alikon - change - 5 Jun 2019
Closed_Date 2019-06-05 17:22:09 2019-06-05 17:22:10
Closed_By joomla-cms-bot alikon
Labels
avatar joomla-cms-bot
joomla-cms-bot - comment - 5 Jun 2019

Set to "closed" on behalf of @alikon by The JTracker Application at issues.joomla.org/joomla-cms/22828

Add a Comment

Login with GitHub to post a comment