Human names searching - how to improve results

Hello colleagues,
I would like some help. :slight_smile:

I am trying to develop a Search query for human names (two or three) in around 100k records.

I am using a 14 days trial period for cloud Elastic for my research needs.

Via NEST (7.6.2) I created an index and put my data (the people with names.)

After spending some days researching the documentation and test my best results are get via the next combination, but I need more specific.

I get too wrong results but with a high match score and I cannot ignore it automatically because in other cases/searching this limit is correct.

var resSearch = 
	client.Search<People>(s => s
		.Index(indexName)
		//.From(0)
		.Size(100)
		//.MinScore(minScore)

		.Query(q => q
			.Match(mf => mf
				.Name("SearchQuery")

				.Field(f => f.Name.FullName)
				.Query(searchPhrase)

				.Analyzer("standard")

				.Operator(Operator.Or)

				.AutoGenerateSynonymsPhraseQuery(true)

				.Fuzziness(Fuzziness.Ratio(3))
				.MaxExpansions(100)

				.FuzzyTranspositions(true)
				.MinimumShouldMatch("2<75%")
			)
		)
	);

Thanks in advance!
Cheers! :slight_smile:

Welcome!

Could you provide a full recreation script as described in About the Elasticsearch category. It will help to better understand what you are doing. Please, try to keep the example as simple as possible.

A full reproduction script will help readers to understand, reproduce and if needed fix your problem. It will also most likely help to get a faster answer.