C# 클래스 Lucene.Net.Sandbox.Queries.SlowFuzzyQuery

상속: Lucene.Net.Search.MultiTermQuery
파일 보기 프로젝트 열기: apache/lucenenet 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
defaultMaxExpansions int
defaultMinSimilarity float
defaultPrefixLength int

보호된 프로퍼티들

프로퍼티 타입 설명
term Lucene.Net.Index.Term

공개 메소드들

메소드 설명
Equals ( object obj ) : bool
GetHashCode ( ) : int
GetTermsEnum ( Lucene.Net.Index.Terms terms, Lucene.Net.Util.AttributeSource atts ) : Lucene.Net.Index.TermsEnum
SlowFuzzyQuery ( Lucene.Net.Index.Term term ) : Lucene.Net.Index

Calls SlowFuzzyQuery(term, defaultMinSimilarity, 0, defaultMaxExpansions).

SlowFuzzyQuery ( Lucene.Net.Index.Term term, float minimumSimilarity ) : Lucene.Net.Index

Calls SlowFuzzyQuery(term, minimumSimilarity, 0, defaultMaxExpansions).

SlowFuzzyQuery ( Lucene.Net.Index.Term term, float minimumSimilarity, int prefixLength ) : Lucene.Net.Index

Calls SlowFuzzyQuery(term, minimumSimilarity, prefixLength, defaultMaxExpansions).

SlowFuzzyQuery ( Lucene.Net.Index.Term term, float minimumSimilarity, int prefixLength, int maxExpansions ) : Lucene.Net.Index

Create a new SlowFuzzyQuery that will match terms with a similarity of at least minimumSimilarity to term. If a prefixLength > 0 is specified, a common prefix of that length is also required.

ToString ( string field ) : string

메소드 상세

Equals() 공개 메소드

public Equals ( object obj ) : bool
obj object
리턴 bool

GetHashCode() 공개 메소드

public GetHashCode ( ) : int
리턴 int

GetTermsEnum() 공개 메소드

public GetTermsEnum ( Lucene.Net.Index.Terms terms, Lucene.Net.Util.AttributeSource atts ) : Lucene.Net.Index.TermsEnum
terms Lucene.Net.Index.Terms
atts Lucene.Net.Util.AttributeSource
리턴 Lucene.Net.Index.TermsEnum

SlowFuzzyQuery() 공개 메소드

Calls SlowFuzzyQuery(term, defaultMinSimilarity, 0, defaultMaxExpansions).
public SlowFuzzyQuery ( Lucene.Net.Index.Term term ) : Lucene.Net.Index
term Lucene.Net.Index.Term
리턴 Lucene.Net.Index

SlowFuzzyQuery() 공개 메소드

Calls SlowFuzzyQuery(term, minimumSimilarity, 0, defaultMaxExpansions).
public SlowFuzzyQuery ( Lucene.Net.Index.Term term, float minimumSimilarity ) : Lucene.Net.Index
term Lucene.Net.Index.Term
minimumSimilarity float
리턴 Lucene.Net.Index

SlowFuzzyQuery() 공개 메소드

Calls SlowFuzzyQuery(term, minimumSimilarity, prefixLength, defaultMaxExpansions).
public SlowFuzzyQuery ( Lucene.Net.Index.Term term, float minimumSimilarity, int prefixLength ) : Lucene.Net.Index
term Lucene.Net.Index.Term
minimumSimilarity float
prefixLength int
리턴 Lucene.Net.Index

SlowFuzzyQuery() 공개 메소드

Create a new SlowFuzzyQuery that will match terms with a similarity of at least minimumSimilarity to term. If a prefixLength > 0 is specified, a common prefix of that length is also required.
/// if is >= 1 or < 0 /// or if < 0 ///
public SlowFuzzyQuery ( Lucene.Net.Index.Term term, float minimumSimilarity, int prefixLength, int maxExpansions ) : Lucene.Net.Index
term Lucene.Net.Index.Term the term to search for
minimumSimilarity float /// a value between 0 and 1 to set the required similarity /// between the query term and the matching terms. For example, for a /// of 0.5 a term of the same length /// as the query term is considered similar to the query term if the edit distance /// between both terms is less than length(term)*0.5 /// /// Alternatively, if is >= 1f, it is interpreted /// as a pure Levenshtein edit distance. For example, a value of 2f /// will match all terms within an edit distance of 2 from the /// query term. Edit distances specified in this way may not be fractional. ///
prefixLength int length of common (non-fuzzy) prefix
maxExpansions int /// the maximum number of terms to match. If this number is /// greater than when the query is rewritten, /// then the maxClauseCount will be used instead. ///
리턴 Lucene.Net.Index

ToString() 공개 메소드

public ToString ( string field ) : string
field string
리턴 string

프로퍼티 상세

defaultMaxExpansions 공개적으로 정적으로 프로퍼티

public static int defaultMaxExpansions
리턴 int

defaultMinSimilarity 공개적으로 정적으로 프로퍼티

public static float defaultMinSimilarity
리턴 float

defaultPrefixLength 공개적으로 정적으로 프로퍼티

public static int defaultPrefixLength
리턴 int

term 보호되어 있는 프로퍼티

protected Term,Lucene.Net.Index term
리턴 Lucene.Net.Index.Term