parameter for docs retireved and docs used for expansion terms in expansion def