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);
Connect kubernetes pod to a GCS bucket using JS
To connect from a Kubernetes pod to a Google Cloud Storage (GCS)…Easiest way to run an LLM locally on your Mac
I recently sought an efficient method for local experimentation with Language Model…EKS cluster using an existing VPC
The eksctl command line tool can create a cluster by either command-line options or…kubectl Unable to connect to the server
When working with Kubernetes if you are getting Unable to conntect to…