C# 클래스 DBreeze.TextSearch.TextSearchTable

Manager for word aligned bitmap indexes
파일 보기 프로젝트 열기: hhblaze/DBreeze

공개 프로퍼티들

프로퍼티 타입 설명
Descending bool
ExternalDocumentIdStart byte[]
ExternalDocumentIdStop byte[]
NoisyQuantity int
SearchCriteriaIsNoisy bool

공개 메소드들

메소드 설명
Block ( string containsWords, string fullMatchWords = "", bool blockAnd = true ) : SBlock

Generates a logical block: var tsm = tran.TextSearch("MyTextSearchTable"); tsm.Block("choose").And(new DBreeze.TextSearch.BlockAnd("pill")).Or(tsm.BlockOr("blue red")) .GetDocumentIDs

BlockAnd ( IEnumerable containsWords, IEnumerable fullMatchWords ) : SBlock

Generates a logical block: var tsm = tran.TextSearch("MyTextSearchTable"); tsm.Block("choose").And(new DBreeze.TextSearch.BlockAnd("pill")).Or(tsm.BlockOr("blue red")) .GetDocumentIDs

BlockAnd ( string containsWords, string fullMatchWords = "" ) : SBlock

Generates a logical block: var tsm = tran.TextSearch("MyTextSearchTable"); tsm.Block("choose").And(new DBreeze.TextSearch.BlockAnd("pill")).Or(tsm.BlockOr("blue red")) .GetDocumentIDs

BlockOr ( IEnumerable containsWords, IEnumerable fullMatchWords ) : SBlock

Generates a logical block: var tsm = tran.TextSearch("MyTextSearchTable"); tsm.Block("choose").And(new DBreeze.TextSearch.BlockAnd("pill")).Or(tsm.BlockOr("blue red")) .GetDocumentIDs

BlockOr ( string containsWords, string fullMatchWords = "" ) : SBlock

Generates a logical block: var tsm = tran.TextSearch("MyTextSearchTable"); tsm.Block("choose").And(new DBreeze.TextSearch.BlockAnd("pill")).Or(tsm.BlockOr("blue red")) .GetDocumentIDs

TextSearchTable ( Transactions tran, string tableName ) : System

비공개 메소드들

메소드 설명
ComputeWordsOrigin ( ) : void

WordsPrepare ( IEnumerable searchKeywords, bool fullMatch, bool>.Dictionary &wordsList ) : void

메소드 상세

Block() 공개 메소드

Generates a logical block: var tsm = tran.TextSearch("MyTextSearchTable"); tsm.Block("choose").And(new DBreeze.TextSearch.BlockAnd("pill")).Or(tsm.BlockOr("blue red")) .GetDocumentIDs
public Block ( string containsWords, string fullMatchWords = "", bool blockAnd = true ) : SBlock
containsWords string space separated words to be used by "contains" logic
fullMatchWords string space separated words to be used by "full-match" logic
blockAnd bool default value is true, indicating BlockAnd
리턴 SBlock

BlockAnd() 공개 메소드

Generates a logical block: var tsm = tran.TextSearch("MyTextSearchTable"); tsm.Block("choose").And(new DBreeze.TextSearch.BlockAnd("pill")).Or(tsm.BlockOr("blue red")) .GetDocumentIDs
public BlockAnd ( IEnumerable containsWords, IEnumerable fullMatchWords ) : SBlock
containsWords IEnumerable space separated words to be used by "contains" logic
fullMatchWords IEnumerable space separated words to be used by "full-match" logic
리턴 SBlock

BlockAnd() 공개 메소드

Generates a logical block: var tsm = tran.TextSearch("MyTextSearchTable"); tsm.Block("choose").And(new DBreeze.TextSearch.BlockAnd("pill")).Or(tsm.BlockOr("blue red")) .GetDocumentIDs
public BlockAnd ( string containsWords, string fullMatchWords = "" ) : SBlock
containsWords string space separated words to be used by "contains" logic
fullMatchWords string space separated words to be used by "full-match" logic
리턴 SBlock

BlockOr() 공개 메소드

Generates a logical block: var tsm = tran.TextSearch("MyTextSearchTable"); tsm.Block("choose").And(new DBreeze.TextSearch.BlockAnd("pill")).Or(tsm.BlockOr("blue red")) .GetDocumentIDs
public BlockOr ( IEnumerable containsWords, IEnumerable fullMatchWords ) : SBlock
containsWords IEnumerable space separated words to be used by "contains" logic
fullMatchWords IEnumerable space separated words to be used by "full-match" logic
리턴 SBlock

BlockOr() 공개 메소드

Generates a logical block: var tsm = tran.TextSearch("MyTextSearchTable"); tsm.Block("choose").And(new DBreeze.TextSearch.BlockAnd("pill")).Or(tsm.BlockOr("blue red")) .GetDocumentIDs
public BlockOr ( string containsWords, string fullMatchWords = "" ) : SBlock
containsWords string space separated words to be used by "contains" logic
fullMatchWords string space separated words to be used by "full-match" logic
리턴 SBlock

TextSearchTable() 공개 메소드

public TextSearchTable ( Transactions tran, string tableName ) : System
tran Transactions
tableName string
리턴 System

프로퍼티 상세

Descending 공개적으로 프로퍼티

Default found documents will be returned descending (last added document first)
public bool Descending
리턴 bool

ExternalDocumentIdStart 공개적으로 프로퍼티

If not null limits the search range of the documents. ExternalDocumentID will be converted into InternalID and will be used as a ranges start
public byte[] ExternalDocumentIdStart
리턴 byte[]

ExternalDocumentIdStop 공개적으로 프로퍼티

If not null limits the search range of the documents. ExternalDocumentID will be converted into InternalID and will be used as a ranges stop
public byte[] ExternalDocumentIdStop
리턴 byte[]

NoisyQuantity 공개적으로 프로퍼티

Default value is 1000
public int NoisyQuantity
리턴 int

SearchCriteriaIsNoisy 공개적으로 프로퍼티

public bool SearchCriteriaIsNoisy
리턴 bool