Oracle Endeca Commerce Record Boost And Burry

Records Boost and Burry feature allow you to show products at the top or bottom depending on the values set for boost and burry.

Endeca also allows you to set multiple sorting parameters when querying MDEX engine. For example “N=0&Ns=Price|1||Location(27,72)”. We can use this during Boost and Burry as well.

How to add other sort parameter to records Boost and Burry ?

Boost and Bury:

N=0&Ns=Endeca.stratify(collection()/record[Brand="Apple"],*)

Boost and Bury and adding sort by price:

N=0&Ns=Endeca.stratify(collection()/record[Brand="Apple"],*)||price|0

How to do it using JAVA API?

String stratify = "Endeca.stratify(collection()/record[Brand="Apple"],*)" ERecSortKey stratifySortKey = new ERecSortKey(stratify); 
String price = "price"; 
ERecSortKeyList sortKey = EndecaUtil.getSortKeyList(price); 
//we want stratifySortkey to be the first on the list 
ERecSortKeyList ret = new ERecSortKeyList(); 
ret.add(stratifySortKey); 
ret.add(price, true);
1 2 3 20
Let's Share
Exit mobile version