C# Class SearchLib.Search.IndexQuery

Inheritance: ISearch, IDisposable
Show file Open project: viren85/moviemirchi Class Usage Examples

Protected Properties

Property Type Description
MaxCount int
_location string
_searcher Lucene.Net.Search.IndexSearcher

Public Methods

Method Description
Dispose ( ) : void
GetAllMoviesWith ( string textSearch, int maxCount, List &movies, List &reviews, IList filters = null ) : void
GetIndexReader ( string location ) : IndexQuery

Protected Methods

Method Description
Dispose ( bool disposing ) : void
IndexQuery ( string indexLocation ) : System

Private Methods

Method Description
GetIdsFromSearchQueries ( Lucene.Net.Documents.Document doc, IList movieIds, IList reviewIds ) : void
LoadIndex ( ) : void
ParseQuery ( string query, IList filters, Analyzer analyzer ) : Query

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

GetAllMoviesWith() public method

public GetAllMoviesWith ( string textSearch, int maxCount, List &movies, List &reviews, IList filters = null ) : void
textSearch string
maxCount int
movies List
reviews List
filters IList
return void

GetIndexReader() public static method

public static GetIndexReader ( string location ) : IndexQuery
location string
return IndexQuery

IndexQuery() protected method

protected IndexQuery ( string indexLocation ) : System
indexLocation string
return System

Property Details

MaxCount protected property

protected int MaxCount
return int

_location protected property

protected string _location
return string

_searcher protected property

protected IndexSearcher,Lucene.Net.Search _searcher
return Lucene.Net.Search.IndexSearcher