The 'Smart search does not index custom fields' problem that i found in JD3 also is present in JD4.
J3 topic: https://www.jdownloads.com/forum/index.php?topic=11928
How long it is already not working is unclear.
- Joomla : 4.3.0
- jDownloads 3.9.8.7
- PHP 8.0.27
- Use you the standard backend template? yes
- It is a new Joomla 4 installation? no, Joomla 3.10 with jDownloads 3.9.8.7 was updated to Joomla 4
Hi Tazzios,
I will check this again.
But I wonder why you confirmed it as solved in the topic at the time. So it seems to have worked in the meantime? ::)
Edit:
I read an interview earlier from one of the developers for Joomla 5. There he lists the planned innovations, which are supposed to include support for custom fields in Smart Search!
I then tried out some tests with the search in custom fields of articles. Not a single term was found.
Quote from: Arno on 05.05.2023 14:23:22
Hi Tazzios,
I will check this again.
But I wonder why you confirmed it as solved in the topic at the time. So it seems to have worked in the meantime? ::)
Edit:
I read an interview earlier from one of the developers for Joomla 5. There he lists the planned innovations, which are supposed to include support for custom fields in Smart Search!
I then tried out some tests with the search in custom fields of articles. Not a single term was found.
It indeed worked for a while when it stopped working i do not know.
If you have old version 3.9.7 for me, i can test it to see if it is jdownloads or Joomla that broke it.
Quote from: Tazzios on 05.05.2023 15:54:05
It indeed worked for a while when it stopped working i do not know.
If you have old version 3.9.7 for me, i can test it to see if it is jdownloads or Joomla that broke it.
See attachment.
Did a lot of testing but could not create a working combination.
Did the testing with:
With J3 (3.9.22 (PHP7.4), 3.9.28, 3.10) JD3.9.7 the article custom field value also was found but the custom field value in a download was not.
J4.3.1 JD4.0.26 Joomla seems completely busted even the article custom field does not work.
Though, I have an old (It is original JD3.2 ) J3 production site where I can search older PDF files by custom field. So it did work at some point. :-\
Okay. So it seems not to exist a support for custom fields in Joomla 4 at the moment.
See also the above noted interview:
https://joomlashack.us1.list-manage.com/track/click?u=c4fe34ed80790dd773846d4e1&id=2579107dba&e=b67642b5b5
stumbled on the related github item:
https://github.com/joomla/joomla-cms/pull/36747
It all sound really weird to me because it was working. I still can find files on the custom field on my production site, do not dear to rebuild the index. ;D
I think I have found a working workaround for my case: I will copy the text of the pdf file in the long description field, for too long text I remove duplicate words.
If it works i can wait for J5
Quote from: Arno on 06.05.2023 13:41:20
Okay. So it seems not to exist a support for custom fields in Joomla 4 at the moment.
See also the above noted interview:
https://joomlashack.us1.list-manage.com/track/click?u=c4fe34ed80790dd773846d4e1&id=2579107dba&e=b67642b5b5
the missing Support seems now be added in Joomla 5. ;)