C# Class Lucene.Net.Search.Payloads.PayloadHelper

Exibir arquivo Open project: synhershko/lucene.net Class Usage Examples

Public Methods

Method Description
SetUp ( Lucene.Net.Search.Similarity similarity, int numDocs ) : Lucene.Net.Search.IndexSearcher

Sets up a RAMDirectory, and adds documents (using English.intToEnglish()) with two fields: field and multiField and analyzes them using the PayloadAnalyzer

Method Details

SetUp() public method

Sets up a RAMDirectory, and adds documents (using English.intToEnglish()) with two fields: field and multiField and analyzes them using the PayloadAnalyzer
public SetUp ( Lucene.Net.Search.Similarity similarity, int numDocs ) : Lucene.Net.Search.IndexSearcher
similarity Lucene.Net.Search.Similarity The Similarity class to use in the Searcher ///
numDocs int The num docs to add ///
return Lucene.Net.Search.IndexSearcher