C# Class Lucene.Net.Queries.Mlt.MoreLikeThisQuery

A simple wrapper for MoreLikeThis for use in scenarios where a Query object is required eg in custom QueryParser extensions. At query.rewrite() time the reader is used to construct the actual MoreLikeThis object and obtain the real Query object.
Inheritance: Lucene.Net.Search.Query
Afficher le fichier Open project: apache/lucenenet Class Usage Examples

Méthodes publiques

Méthode Description
Equals ( object obj ) : bool
GetHashCode ( ) : int
MoreLikeThisQuery ( string likeText, string moreLikeFields, Analyzer analyzer, string fieldName ) : System.Collections.Generic
Rewrite ( IndexReader reader ) : Query
ToString ( string field ) : string

Method Details

Equals() public méthode

public Equals ( object obj ) : bool
obj object
Résultat bool

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

MoreLikeThisQuery() public méthode

public MoreLikeThisQuery ( string likeText, string moreLikeFields, Analyzer analyzer, string fieldName ) : System.Collections.Generic
likeText string
moreLikeFields string fields used for similarity measure
analyzer Lucene.Net.Analysis.Analyzer
fieldName string
Résultat System.Collections.Generic

Rewrite() public méthode

public Rewrite ( IndexReader reader ) : Query
reader Lucene.Net.Index.IndexReader
Résultat Lucene.Net.Search.Query

ToString() public méthode

public ToString ( string field ) : string
field string
Résultat string