C# 클래스 Lucene.Net.Search.TermQuery

A Query that matches documents containing a term. this may be combined with other terms with a BooleanQuery.
상속: Query
파일 보기 프로젝트 열기: paulirwin/lucene.net 1 사용 예제들

공개 메소드들

메소드 설명
CreateWeight ( IndexSearcher searcher ) : Weight
Equals ( object o ) : bool

Returns true iff o is equal to this.

ExtractTerms ( ISet terms ) : void
GetHashCode ( ) : int

Returns a hash code value for this object.

TermQuery ( Term t ) : System.Diagnostics

Constructs a query for the term t.

TermQuery ( Term t, TermContext states ) : System.Diagnostics

Expert: constructs a TermQuery that will use the provided docFreq instead of looking up the docFreq against the searcher.

TermQuery ( Term t, int docFreq ) : System.Diagnostics

Expert: constructs a TermQuery that will use the provided docFreq instead of looking up the docFreq against the searcher.

ToString ( string field ) : string

Prints a user-readable version of this query.

메소드 상세

CreateWeight() 공개 메소드

public CreateWeight ( IndexSearcher searcher ) : Weight
searcher IndexSearcher
리턴 Weight

Equals() 공개 메소드

Returns true iff o is equal to this.
public Equals ( object o ) : bool
o object
리턴 bool

ExtractTerms() 공개 메소드

public ExtractTerms ( ISet terms ) : void
terms ISet
리턴 void

GetHashCode() 공개 메소드

Returns a hash code value for this object.
public GetHashCode ( ) : int
리턴 int

TermQuery() 공개 메소드

Constructs a query for the term t.
public TermQuery ( Term t ) : System.Diagnostics
t Term
리턴 System.Diagnostics

TermQuery() 공개 메소드

Expert: constructs a TermQuery that will use the provided docFreq instead of looking up the docFreq against the searcher.
public TermQuery ( Term t, TermContext states ) : System.Diagnostics
t Term
states TermContext
리턴 System.Diagnostics

TermQuery() 공개 메소드

Expert: constructs a TermQuery that will use the provided docFreq instead of looking up the docFreq against the searcher.
public TermQuery ( Term t, int docFreq ) : System.Diagnostics
t Term
docFreq int
리턴 System.Diagnostics

ToString() 공개 메소드

Prints a user-readable version of this query.
public ToString ( string field ) : string
field string
리턴 string