Krzysztof Gołębiowski 3 Years Ago - Edited I upgraded our microsite to GA5 and I noticed one problem - all the Web Content structure fields are gone from Fulltext Index and they are just a part of a common "content" field that stores all the fields merged together. In GA4 and all the previous versions, they were represented as a separate field called something like "ddm__[keyword/text]__[structure_id]__[field_name]_en_US_Number_sortable". We used it heavily to do searching and sorting in custom portlets since the times of Liferay 6.2 and since 7.3 we use it also with the new Custom Filter Widget. I'll do some investigation around it tomorrow to find the actual code change but I hope that's just a bug, not an intentional change. Otherwise, please put it back in the index, we really need it :) All the rest seems really nice, we'll keep testing the new features in the next week. Please sign in to reply. Reply as... Cancel Jorge Diaz Krzysztof Gołębiowski 3 Years Ago Hi Krzysztof It isn't a bug, it is an improvement to avoid issues in Elasticsearch related to "Limit of total fields has been exceeded" see https://issues.liferay.com/browse/LPS-103224 Now, the ddm_* fields are stored as a nested document called ddmFieldsArray, more information see this breaking change: - https://github.com/liferay/liferay-portal/blob/master/readme/BREAKING_CHANGES.markdown#dynamic-data-mapping-fields-in-elasticsearch-have-changed-to-a-nested-document For now, you can activate the "legacy" behavior from "System Settings" => "Dynamic Data Mapping" => "Dynamic Data Mapping Indexer" I am going to investigate how to use the new ddmFieldsArray in the Custom Filter Widget . Besides the custom filter widget, are you using this ddm fields in a custom code or anywhere else? Thank you, Jorge Please sign in to reply. Reply as... Cancel Krzysztof Gołębiowski Jorge Diaz 3 Years Ago - Edited Hi Jorge, Thank you very much for your reply. I installed Kibana and looked closer to how it's done right now and unfortunately, it seems to be much more difficult to use than before. { "ddmFieldName": "ddm__keyword__77955__Year_en_US", "ddmValueFieldName": "ddmFieldValueKeyword_en_US", "ddmFieldValueKeyword_en_US": "2010-01-01", "ddmFieldValueKeyword_en_US_String_sortable": "2010-01-01" }, { "ddmFieldName": "ddm__keyword__77955__SessionNumber_en_US", "ddmValueFieldName": "ddmFieldValueKeyword_en_US", "ddmFieldValueKeyword_en_US_Number_sortable": 36, "ddmFieldValueKeyword_en_US": "36" } I don't see a way how could it be used in Custom Filter widget because each search and aggregation should be run on two different fields at the same time - ddmFieldName for the actual field name and ddmFieldValueKeyword_en_US for the field value. I'll continue testing next week, have a great weekend :) KG Please sign in to reply. Reply as... Cancel Jorge Diaz Krzysztof Gołębiowski 2 Years Ago Hi Krzysztof GołębiowskiSearch team has opened https://issues.liferay.com/browse/LPS-123694 to handle this problem with the Custom Filter widget Please sign in to reply. Reply as... Cancel Jorge Diaz Jorge Diaz 2 Years Ago For the record: there is a typo in my previous comment: the nested document field is called ddmFieldArray (singular) instead of ddmFieldsArray Please sign in to reply. Reply as... Cancel
Jorge Diaz Krzysztof Gołębiowski 3 Years Ago Hi Krzysztof It isn't a bug, it is an improvement to avoid issues in Elasticsearch related to "Limit of total fields has been exceeded" see https://issues.liferay.com/browse/LPS-103224 Now, the ddm_* fields are stored as a nested document called ddmFieldsArray, more information see this breaking change: - https://github.com/liferay/liferay-portal/blob/master/readme/BREAKING_CHANGES.markdown#dynamic-data-mapping-fields-in-elasticsearch-have-changed-to-a-nested-document For now, you can activate the "legacy" behavior from "System Settings" => "Dynamic Data Mapping" => "Dynamic Data Mapping Indexer" I am going to investigate how to use the new ddmFieldsArray in the Custom Filter Widget . Besides the custom filter widget, are you using this ddm fields in a custom code or anywhere else? Thank you, Jorge Please sign in to reply. Reply as... Cancel Krzysztof Gołębiowski Jorge Diaz 3 Years Ago - Edited Hi Jorge, Thank you very much for your reply. I installed Kibana and looked closer to how it's done right now and unfortunately, it seems to be much more difficult to use than before. { "ddmFieldName": "ddm__keyword__77955__Year_en_US", "ddmValueFieldName": "ddmFieldValueKeyword_en_US", "ddmFieldValueKeyword_en_US": "2010-01-01", "ddmFieldValueKeyword_en_US_String_sortable": "2010-01-01" }, { "ddmFieldName": "ddm__keyword__77955__SessionNumber_en_US", "ddmValueFieldName": "ddmFieldValueKeyword_en_US", "ddmFieldValueKeyword_en_US_Number_sortable": 36, "ddmFieldValueKeyword_en_US": "36" } I don't see a way how could it be used in Custom Filter widget because each search and aggregation should be run on two different fields at the same time - ddmFieldName for the actual field name and ddmFieldValueKeyword_en_US for the field value. I'll continue testing next week, have a great weekend :) KG Please sign in to reply. Reply as... Cancel Jorge Diaz Krzysztof Gołębiowski 2 Years Ago Hi Krzysztof GołębiowskiSearch team has opened https://issues.liferay.com/browse/LPS-123694 to handle this problem with the Custom Filter widget Please sign in to reply. Reply as... Cancel Jorge Diaz Jorge Diaz 2 Years Ago For the record: there is a typo in my previous comment: the nested document field is called ddmFieldArray (singular) instead of ddmFieldsArray Please sign in to reply. Reply as... Cancel
Krzysztof Gołębiowski Jorge Diaz 3 Years Ago - Edited Hi Jorge, Thank you very much for your reply. I installed Kibana and looked closer to how it's done right now and unfortunately, it seems to be much more difficult to use than before. { "ddmFieldName": "ddm__keyword__77955__Year_en_US", "ddmValueFieldName": "ddmFieldValueKeyword_en_US", "ddmFieldValueKeyword_en_US": "2010-01-01", "ddmFieldValueKeyword_en_US_String_sortable": "2010-01-01" }, { "ddmFieldName": "ddm__keyword__77955__SessionNumber_en_US", "ddmValueFieldName": "ddmFieldValueKeyword_en_US", "ddmFieldValueKeyword_en_US_Number_sortable": 36, "ddmFieldValueKeyword_en_US": "36" } I don't see a way how could it be used in Custom Filter widget because each search and aggregation should be run on two different fields at the same time - ddmFieldName for the actual field name and ddmFieldValueKeyword_en_US for the field value. I'll continue testing next week, have a great weekend :) KG Please sign in to reply. Reply as... Cancel Jorge Diaz Krzysztof Gołębiowski 2 Years Ago Hi Krzysztof GołębiowskiSearch team has opened https://issues.liferay.com/browse/LPS-123694 to handle this problem with the Custom Filter widget Please sign in to reply. Reply as... Cancel
Jorge Diaz Krzysztof Gołębiowski 2 Years Ago Hi Krzysztof GołębiowskiSearch team has opened https://issues.liferay.com/browse/LPS-123694 to handle this problem with the Custom Filter widget Please sign in to reply. Reply as... Cancel
Jorge Diaz Jorge Diaz 2 Years Ago For the record: there is a typo in my previous comment: the nested document field is called ddmFieldArray (singular) instead of ddmFieldsArray Please sign in to reply. Reply as... Cancel
lau gavin 3 Years Ago - Edited I used docker in mac. An error occured,Then the server was down: usr/local/bin/start_liferay.sh: line 3: 8 Killed ${LIFERAY_HOME}/tomcat/bin/catalina.sh run Please sign in to reply. Reply as... Cancel lau gavin lau gavin 3 Years Ago - Edited We should increase the memory to 8G. Please sign in to reply. Reply as... Cancel
lau gavin lau gavin 3 Years Ago - Edited We should increase the memory to 8G. Please sign in to reply. Reply as... Cancel
Erik Strauß 3 Years Ago - Edited Where exactly do I have to set the platform version ("liferay.workspace.target.platform.version=7.3.4")? So far I do not have a gradle.properties file. I have a build.gradle and a settings.gradle in my root folder. In the root folder there is a folder modules with my Portlets/Services/Apis. Please sign in to reply. Reply as... Cancel Jorge Diaz Erik Strauß 3 Years Ago Have a look to: - Setting the Target Platform: https://help.liferay.com/hc/es/articles/360028834272-Setting-the-Target-Platform - Targeting a Platform Outside of Workspace: https://help.liferay.com/hc/es/articles/360028834292-Targeting-a-Platform-Outside-of-Workspace In the second link there are instructions about updating the build.gradle file. Please sign in to reply. Reply as... Cancel
Jorge Diaz Erik Strauß 3 Years Ago Have a look to: - Setting the Target Platform: https://help.liferay.com/hc/es/articles/360028834272-Setting-the-Target-Platform - Targeting a Platform Outside of Workspace: https://help.liferay.com/hc/es/articles/360028834292-Targeting-a-Platform-Outside-of-Workspace In the second link there are instructions about updating the build.gradle file. Please sign in to reply. Reply as... Cancel
Lee Jordan 3 Years Ago - Edited Another great GA with lots of new features. The major issue I foresee is that the platform is exploding in complexity and is spreading itself thin. It still seems to be getting less and less intuitive by the day and I can't see how documentation can keep up. For developers and admins I can see this huge mountain in front of us, struggling to find use cases for these features. Evaluating and providing feedback on the GA's is actually becoming impossible because so much is changing and the changes are not being documented enough for us to evaluate if the feature is, good, bad, neutral and if we should care about it. It's a LOT of information to process within a few weeks. I don't think Liferay is being designed for real world content creators. It seems that 90% of this stuff is way too complex for the average user. Take the responsive columns, it is great that users could rearrange their layouts for mobile devices. Will they? Most likely not no, that's a lot of design considerations to make that the average user will not want to do. What we'd need there are layout templates so that columns auto flow downwards to fit the space. I don't have the time to teach content creators good mobile design and they won't care about it either. Our users I think will struggle even more under the weight of Liferay. Content creation is not their sole job, infact it's mostly a side thing that they have to do. It's a secondary task of their job to put content on to the Intranet and that's why getting copy and paste from Word to work correctly is so much more valuable than content pages ever would be. I really don't think that as Liferay developers and system admins we are the right people to give feedback on these features. Give these GA's to content creators directly and I think the problem of usability will become too obvious to ignore. Please sign in to reply. Reply as... Cancel Fredi B Lee Jordan 3 Years Ago - Edited Lee Jordan added some good points here. Most of the time our customers want us to setup the initial content - because it's just to complex to teach some office-secretary how to fill Liferay with content. All our fragments, webcontents need to override fonts and spaces applied by Microsoft Word all the time - because at a minimum one time a customer will copy paste text from Microsoft Word directly into Liferay. We even started to hide features - simply by hiding with css - in the backend to move things the customer doesn't want to use or doesn't know about out of his way. If we would not do that a customer is trying to place the Liferay Knowledgebase on a Content Page and Boom: Not working. Why? Because it's not working on content pages on 7.2. We don't want to test everything - so we better hide features that MIGHT not work. Please sign in to reply. Reply as... Cancel
Fredi B Lee Jordan 3 Years Ago - Edited Lee Jordan added some good points here. Most of the time our customers want us to setup the initial content - because it's just to complex to teach some office-secretary how to fill Liferay with content. All our fragments, webcontents need to override fonts and spaces applied by Microsoft Word all the time - because at a minimum one time a customer will copy paste text from Microsoft Word directly into Liferay. We even started to hide features - simply by hiding with css - in the backend to move things the customer doesn't want to use or doesn't know about out of his way. If we would not do that a customer is trying to place the Liferay Knowledgebase on a Content Page and Boom: Not working. Why? Because it's not working on content pages on 7.2. We don't want to test everything - so we better hide features that MIGHT not work. Please sign in to reply. Reply as... Cancel