Skip to content

Instantly share code, notes, and snippets.

@BartDM
Created January 13, 2014 16:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BartDM/8403422 to your computer and use it in GitHub Desktop.
Save BartDM/8403422 to your computer and use it in GitHub Desktop.
namespace LuceneWrapper.TestApp
{
public class PersonSearcher:BaseSearcher
{
public PersonSearcher(string dataFolder) : base(dataFolder)
{
}
public SearchResult SearchPeople(string searchTerm, string field)
{
return Search<PersonDocument>(field, searchTerm);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment