Behaviour : -
Record spotlight cartridge record object returns all the dimension/properties from Endeca Dgraph and consumes memory. This is one of the performance concern to load extremely heavy object. Average response size of one Endeca record(Erec) would be 100 KB.
Solution :-
/atg/endeca/assembler/cartridge/handler/config/RecordSpotlightConfig component is responsible to set which properties to be returned from endeca query response.
Query without Rollup :-
Set RecordSpotlightConfig.fieldNames property. List of properties can be defined to be returned from Endeca. Setting null would bring all dimension and properties.
Query with Rollup :-
Note: For Rollup query, fieldNames and subRecordFieldNames both needs to be defined otherwise response Erec object would return all record properties and dimensions for Record spotlight cartridge .
Click here to get more information related to ATG-Endeca Integration.
From Author
Was this post resolve the solution you are looking for? Do you want an author to cover more topics and what are those?
Provide your comments
Record spotlight cartridge record object returns all the dimension/properties from Endeca Dgraph and consumes memory. This is one of the performance concern to load extremely heavy object. Average response size of one Endeca record(Erec) would be 100 KB.
Solution :-
/atg/endeca/assembler/cartridge/handler/config/RecordSpotlightConfig component is responsible to set which properties to be returned from endeca query response.
Query without Rollup :-
Set RecordSpotlightConfig.fieldNames property. List of properties can be defined to be returned from Endeca. Setting null would bring all dimension and properties.
Query with Rollup :-
- Set RecordSpotlightConfig.fieldNames property for representative records. List of properties can be defined to be returned from Dgraph/MDEX.
- Set RecordSpotlightConfig.subRecordFieldNames property for aggregated records. This is the list of properties for aggregated record.
Note: For Rollup query, fieldNames and subRecordFieldNames both needs to be defined otherwise response Erec object would return all record properties and dimensions for Record spotlight cartridge .
Click here to get more information related to ATG-Endeca Integration.
From Author
Was this post resolve the solution you are looking for? Do you want an author to cover more topics and what are those?
Provide your comments
No comments
Post a Comment
Note: Only a member of this blog may post a comment.