-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom ACS 7.2 ContentModel Properties of type "d:content" are not indexed with ASS 2.0.3 #403
Comments
Additional info from my side: It looks like the changes in |
Official JIRA MNT-Ticket: |
following this issue only the documentation was added : https://docs.alfresco.com/search-services/latest/upgrade/breaking-changes-1.x/ |
@kkono has a very interesting interpretation of the problem, classifying the no longer indexing of arbitrary d:content properties as enhancement. |
thx @hi-ko. that is our interpretation as well . the suggested "workaround" in the documentation not only results in reimplementing customizations but also migrating all existing nodes using that model. basically we expect a fix for this ... |
That documentation update was only the first step, to avoid potential users upgrading to Search Services 2.x experimenting this issue. We're working on getting this feature back to 2.x version, but it will take a while. |
Thanks @aborroy for the clarification. We will have to wait or consider a downgrade to ASS 1.x. The work around described in the doc will not help us in many cases if the additional content properties should be handeled as an integral part of the node. It would be a bottomless pit to solve this with associations to hidden nodes and behaviors taking care of the consistency ... |
thx @aborroy for your update |
@alexanderjakab The https://alfresco.atlassian.net/browse/MNT-23154 If I'm correct the exact code merge commit is b235787#diff-486bbf8e33aa92f77d955556566f862a0178db577259e8391d323e98791b5a74R240 which gives us the important information, that we need to change the property
in the See: Line 240 in b235787
|
Since SearchServices 2.x custom ACS Content-Model Properties of type "d:content" are no longer indexed. This is a different behaviour from previous versions (e.g. ACS 6.2 & ASS 1.4.3) where all ContentModel Properties of type "d:content" of a Repository Node are Indexed by SearchServices. In 2.x only a node´s "cm:content" Property is indexed.
@aborroy my colleague @aitseitz already discussed this issue with you. for our project this is a major blocker for the upgrade to ACS 7.x. i would be grateful for any advice on a workaround or fix for this problem.
i uploaded a sample sdk 4.4 project to reproduce
sdk-sample-project.zip
steps to reproduce:
startup the sdk docker setup from the sample project (extract and run ./run.sh build_start)
attach a debugger and set a break-point in org/alfresco/repo/web/scripts/solr/NodeContentGet.class:77 to check the indexing of the nodes content
call the sample Webscript from your browser http://localhost:8080/alfresco/s/sample/helloworld
in your nodebrowser the following node is created
the debugger stops when the solr Metadata Tracker requests the Content
observed behaviour:
expected behaviour:
additional information:
From checking the versions of the Class org.alfresco.solr.SolrInformationServer the behaviour is represented by the following implementation:
SearchServices 2.0.3
https://github.com/Alfresco/SearchServices/blob/master/search-services/alfresco-search/src/main/java/org/alfresco/solr/SolrInformationServer.java#L2714
previous SearchServices Version
SearchServices/search-services/alfresco-search/src/main/java/org/alfresco/solr/SolrInformationServer.java
Line 2443 in 6368156
The text was updated successfully, but these errors were encountered: