If backtracking occurs through the call of recordz/2 the associated Value is not removed from the indexed database.
Success: [eclipse]: recordz(whiskey,jameson), > recordz(whiskey,[scotch,irish,canadian,american]), > recordz(whiskey,bushmills). yes. [eclipse]: recorded(whiskey,Value). Value = jameson More (;) Value = [scotch,irish,canadian,american] More (;) Value = bushmills More (;) no (more) solution. recordz(a(compound,term),value1). recordz([a,compound,term],value2). Error: recordz(Key, anything). (Error 4) recordz("key",anything). (Error 5) recordz(1,anything). (Error 5)