<commit_before>﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Elasticsearch.Net;
using FluentAssertions;
using Nest;
using Newtonsoft.Json.Linq;
using Tests.Framework;
using Tests.Framework.Integration;
using Tests.Framework.ManagedElasticsearch.Clusters;
using Tests.Framework.MockData;
using Xunit;

namespace Tests.Search.MultiSearch
{
	public class MultiSearchLowLevelPostDataTests : IClusterFixture<ReadOnlyCluster>
	{
		private IElasticClient _client;

		public MultiSearchLowLevelPostDataTests(ReadOnlyCluster cluster, EndpointUsage usage)
		{
			_client = cluster.Client;
		}

		protected List<object> Search => new object[]
		{
			new {},
			new { from = 0, size = 10, query = new { match_all = new {} } },
			new { search_type = "query_and_fetch" },
			new {},<commit_msg>fix multisearchlowlevelpostdatatests still using query AND fetch vs query THEN fetch<commit_after>﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Elasticsearch.Net;
using FluentAssertions;
using Nest;
using Newtonsoft.Json.Linq;
using Tests.Framework;
using Tests.Framework.Integration;
using Tests.Framework.ManagedElasticsearch.Clusters;
using Tests.Framework.MockData;
using Xunit;

namespace Tests.Search.MultiSearch
{
	public class MultiSearchLowLevelPostDataTests : IClusterFixture<ReadOnlyCluster>
	{
		private IElasticClient _client;

		public MultiSearchLowLevelPostDataTests(ReadOnlyCluster cluster, EndpointUsage usage)
		{
			_client = cluster.Client;
		}

		protected List<object> Search => new object[]
		{
			new {},
			new { from = 0, size = 10, query = new { match_all = new {} } },
			new { search_type = "query_then_fetch" },
			new {},
{'fraction_non_alphanumeric': 0.09284116331096197, 'fraction_numerical': 0.003355704697986577, 'mean_word_length': 5.321554770318021, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3402215', 'n_tokens_mistral': 566, 'n_tokens_neox': 534, 'n_words': 136}