C# Класс DBreeze.TextSearch.TextSearchTable

Manager for word aligned bitmap indexes
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
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