C# Class DBreeze.TextSearch.TextSearchTable

Manager for word aligned bitmap indexes
Afficher le fichier Open project: hhblaze/DBreeze

Méthodes publiques

Свойство Type Description
Descending bool
ExternalDocumentIdStart byte[]
ExternalDocumentIdStop byte[]
NoisyQuantity int
SearchCriteriaIsNoisy bool

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
ComputeWordsOrigin ( ) : void

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

Method Details

Block() public méthode

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
Résultat SBlock

BlockAnd() public méthode

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
Résultat SBlock

BlockAnd() public méthode

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
Résultat SBlock

BlockOr() public méthode

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
Résultat SBlock

BlockOr() public méthode

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
Résultat SBlock

TextSearchTable() public méthode

public TextSearchTable ( Transactions tran, string tableName ) : System
tran Transactions
tableName string
Résultat System

Property Details

Descending public_oe property

Default found documents will be returned descending (last added document first)
public bool Descending
Résultat bool

ExternalDocumentIdStart public_oe property

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
Résultat byte[]

ExternalDocumentIdStop public_oe property

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
Résultat byte[]

NoisyQuantity public_oe property

Default value is 1000
public int NoisyQuantity
Résultat int

SearchCriteriaIsNoisy public_oe property

public bool SearchCriteriaIsNoisy
Résultat bool