mirror of
https://github.com/Alfresco/SearchServices.git
synced 2026-09-16 18:12:56 +00:00
SEARCH-313: Add contentPropertyMetadata when isContentIndexedForNode=false
This commit is contained in:
+14
-6
@@ -2744,11 +2744,15 @@ public class SolrInformationServer implements InformationServer
|
||||
}
|
||||
else if (value instanceof ContentPropertyValue)
|
||||
{
|
||||
if (isContentIndexedForNode)
|
||||
boolean transform = transformContentFlag;
|
||||
if (!isContentIndexedForNode)
|
||||
{
|
||||
addContentPropertyToDocUsingCache(newDoc, cachedDoc, propertyQName,
|
||||
(ContentPropertyValue) value, transformContentFlag);
|
||||
transform = false;
|
||||
}
|
||||
|
||||
addContentPropertyToDocUsingCache(newDoc, cachedDoc, propertyQName,
|
||||
(ContentPropertyValue) value, transform);
|
||||
|
||||
}
|
||||
else if (value instanceof MultiPropertyValue)
|
||||
{
|
||||
@@ -2774,11 +2778,15 @@ public class SolrInformationServer implements InformationServer
|
||||
}
|
||||
else if (singleValue instanceof ContentPropertyValue)
|
||||
{
|
||||
if (isContentIndexedForNode)
|
||||
boolean transform = transformContentFlag;
|
||||
if (!isContentIndexedForNode)
|
||||
{
|
||||
addContentPropertyToDocUsingCache(newDoc, cachedDoc, propertyQName,
|
||||
(ContentPropertyValue) singleValue, transformContentFlag);
|
||||
transform = false;
|
||||
}
|
||||
|
||||
addContentPropertyToDocUsingCache(newDoc, cachedDoc, propertyQName,
|
||||
(ContentPropertyValue) singleValue, transform);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user