Skip to content

Instantly share code, notes, and snippets.

@BartDM
Created January 13, 2014 16:07
Show Gist options
  • Save BartDM/8402868 to your computer and use it in GitHub Desktop.
Save BartDM/8402868 to your computer and use it in GitHub Desktop.
using System.Collections.Generic;
namespace LuceneWrapper
{
/// <summary>
/// Class to represent the Searh results
/// </summary>
public class SearchResult
{
public string SearchTerm { get; set; }
public List<SearchResultItem> SearchResultItems { get; set; }
public int Hits { get; set; }
}
/// <summary>
/// Class to represent the Search result item
/// </summary>
public class SearchResultItem
{
public int Id { get; set; }
public float Score { get; set; }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment