assume we have the following results:
product_1,merchant_A
product_2,merchant_A
product_3,merchant_B
product_4,merchant_B
product_5,merchant_C
product_6,merchant_C
Is there a way to alternate the merchants ?
product_1,merchant_A
product_3,merchant_B
product_5,merchant_C
product_2,merchant_A
product_4,merchant_B
product_6,merchant_C
This is not possible no matter what application you use unless you write your own code. First, the application has to know that the set A,B,C is already returned and have to start from a new set and recognize the A,B,C order.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.