Created
January 13, 2014 16:07
-
-
Save BartDM/8402868 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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