Lucene.Net.Search.BoostingQuery.BoostingQuery C# (CSharp) Метод

BoostingQuery() публичный Метод

public BoostingQuery ( Query match, Query context, float boost ) : System
match Query
context Query
boost float
Результат 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
        }