C# Class Lucene.Net.Analysis.Synonym.SlowSynonymMap

Afficher le fichier Open project: apache/lucenenet Class Usage Examples

Méthodes publiques

Свойство Type Description
submap CharArrayMap
synonyms Token[]

Méthodes publiques

Méthode Description
Add ( IList singleMatch, IList replacement, bool includeOrig, bool mergeExisting ) : void
MakeTokens ( IList strings ) : IList

Produces a List from a List

MergeTokens ( IList lst1, IList lst2 ) : IList

Merge two lists of tokens, producing a single list with manipulated positionIncrements so that the tokens end up at the same position. Example: [a b] merged with [c d] produces [a/b c/d] ('/' denotes tokens in the same position) Example: [a,5 b,2] merged with [c d,4 e,4] produces [c a,5/d b,2 e,2] (a,n means a has posInc=n)

SlowSynonymMap ( ) : Lucene.Net.Analysis.Util
SlowSynonymMap ( bool ignoreCase ) : Lucene.Net.Analysis.Util
ToString ( ) : string

Method Details

Add() public méthode

public Add ( IList singleMatch, IList replacement, bool includeOrig, bool mergeExisting ) : void
singleMatch IList List, the sequence of strings to match
replacement IList List the list of tokens to use on a match
includeOrig bool sets a flag on this mapping signaling the generation of matched tokens in addition to the replacement tokens
mergeExisting bool merge the replacement tokens with any other mappings that exist
Résultat void

MakeTokens() public static méthode

Produces a List from a List
public static MakeTokens ( IList strings ) : IList
strings IList
Résultat IList

MergeTokens() public static méthode

Merge two lists of tokens, producing a single list with manipulated positionIncrements so that the tokens end up at the same position. Example: [a b] merged with [c d] produces [a/b c/d] ('/' denotes tokens in the same position) Example: [a,5 b,2] merged with [c d,4 e,4] produces [c a,5/d b,2 e,2] (a,n means a has posInc=n)
public static MergeTokens ( IList lst1, IList lst2 ) : IList
lst1 IList
lst2 IList
Résultat IList

SlowSynonymMap() public méthode

public SlowSynonymMap ( ) : Lucene.Net.Analysis.Util
Résultat Lucene.Net.Analysis.Util

SlowSynonymMap() public méthode

public SlowSynonymMap ( bool ignoreCase ) : Lucene.Net.Analysis.Util
ignoreCase bool
Résultat Lucene.Net.Analysis.Util

ToString() public méthode

public ToString ( ) : string
Résultat string

Property Details

submap public_oe property

@lucene.internal
public CharArrayMap submap
Résultat CharArrayMap

synonyms public_oe property

@lucene.internal
public Token[] synonyms
Résultat Token[]