namespace AxCopilot.Services;

public class SearchResult
{
	public string FilePath { get; init; } = "";

	public int StartLine { get; init; }

	public int EndLine { get; init; }

	public double Score { get; init; }

	public string Preview { get; init; } = "";

	public override string ToString()
	{
		return $"{FilePath}:{StartLine}-{EndLine} (score: {Score:F3})";
	}
}
