"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.duplicateIdentifier = void 0; /* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ // To optimize the `frequent_item_sets` query, we identify duplicate significant terms by count attributes. // Note this is a compromise and not 100% accurate because there could be significant terms that // have the exact same counts but still don't co-occur. const duplicateIdentifier = ['doc_count', 'bg_count', 'total_doc_count', 'total_bg_count']; exports.duplicateIdentifier = duplicateIdentifier;