Ejemplo n.º 1
0
        /// <summary>
        /// Allows to set how inner children matching affects scoring of parent.
        /// </summary>
        public NestedQuery <T> ScoreMode(ScoreMode scoreMode = Net.Queries.ScoreMode.avg)
        {
            RegisterJsonPart("'score_mode': {0}", scoreMode.AsString().Quotate());

            return(this);
        }