Lucene.Net.Search.BoostingQuery.BoostingQuery C# (CSharp) Méthode

BoostingQuery() public méthode

public BoostingQuery ( Query match, Query context, float boost ) : System
match Query
context Query
boost float
Résultat System
        public BoostingQuery(Query match, Query context, float boost)
        {
            this.match = match;
            this.context = (Query)context.Clone();        // clone before boost
            this.boost = boost;

            this.context.Boost = 0.0f;                      // ignore context-only matches
        }