C# 클래스 Kooboo.Commerce.Search.IndexQuery

파일 보기 프로젝트 열기: Kooboo/Ecommerce 1 사용 예제들

Private Properties

프로퍼티 타입 설명
And IndexQuery
Boolean IndexQuery
CreateNumericRangeQuery Lucene.Net.Search.Query
CreateTermQuery Lucene.Net.Search.TermQuery
Or IndexQuery

공개 메소드들

메소드 설명
AddOrderBy ( string field ) : IndexQuery

Add sort field. Use + prefix for asc sorting, or use - prefix for desc sorting.

And ( Action action ) : IndexQuery
IndexQuery ( Type modelType, IndexSearcher searcher, Analyzer analyzer ) : System
Or ( Action action ) : IndexQuery
Paginate ( int pageIndex, int pageSize ) : Pagination
Search ( string field, string keywords ) : IndexQuery
ToFacets ( IEnumerable facets ) : IList
Where ( Query query ) : IndexQuery
WhereBetween ( string field, object fromValue, object toValue, bool fromInclusive, bool toInclusive ) : IndexQuery
WhereEquals ( string field, object value ) : IndexQuery
WhereGreaterThan ( string field, object value ) : IndexQuery
WhereGreaterThanOrEqual ( string field, object value ) : IndexQuery
WhereLessThan ( string field, object value ) : IndexQuery
WhereLessThanOrEqual ( string field, object value ) : IndexQuery

비공개 메소드들

메소드 설명
And ( Query query ) : IndexQuery
Boolean ( Query query, Occur occur ) : IndexQuery
CreateNumericRangeQuery ( string property, Type propType, object fromValue, object toValue, bool minInclusive, bool maxInclusive ) : Query
CreateTermQuery ( string field, object value ) : TermQuery
Or ( Query query ) : IndexQuery

메소드 상세

AddOrderBy() 공개 메소드

Add sort field. Use + prefix for asc sorting, or use - prefix for desc sorting.
public AddOrderBy ( string field ) : IndexQuery
field string
리턴 IndexQuery

And() 공개 메소드

public And ( Action action ) : IndexQuery
action Action
리턴 IndexQuery

IndexQuery() 공개 메소드

public IndexQuery ( Type modelType, IndexSearcher searcher, Analyzer analyzer ) : System
modelType System.Type
searcher Lucene.Net.Search.IndexSearcher
analyzer Lucene.Net.Analysis.Analyzer
리턴 System

Or() 공개 메소드

public Or ( Action action ) : IndexQuery
action Action
리턴 IndexQuery

Paginate() 공개 메소드

public Paginate ( int pageIndex, int pageSize ) : Pagination
pageIndex int
pageSize int
리턴 Pagination

Search() 공개 메소드

public Search ( string field, string keywords ) : IndexQuery
field string
keywords string
리턴 IndexQuery

ToFacets() 공개 메소드

public ToFacets ( IEnumerable facets ) : IList
facets IEnumerable
리턴 IList

Where() 공개 메소드

public Where ( Query query ) : IndexQuery
query Lucene.Net.Search.Query
리턴 IndexQuery

WhereBetween() 공개 메소드

public WhereBetween ( string field, object fromValue, object toValue, bool fromInclusive, bool toInclusive ) : IndexQuery
field string
fromValue object
toValue object
fromInclusive bool
toInclusive bool
리턴 IndexQuery

WhereEquals() 공개 메소드

public WhereEquals ( string field, object value ) : IndexQuery
field string
value object
리턴 IndexQuery

WhereGreaterThan() 공개 메소드

public WhereGreaterThan ( string field, object value ) : IndexQuery
field string
value object
리턴 IndexQuery

WhereGreaterThanOrEqual() 공개 메소드

public WhereGreaterThanOrEqual ( string field, object value ) : IndexQuery
field string
value object
리턴 IndexQuery

WhereLessThan() 공개 메소드

public WhereLessThan ( string field, object value ) : IndexQuery
field string
value object
리턴 IndexQuery

WhereLessThanOrEqual() 공개 메소드

public WhereLessThanOrEqual ( string field, object value ) : IndexQuery
field string
value object
리턴 IndexQuery