示例#1
0
        public FloatListResult Extract(Func <TResult, FloatResult> logic)
        {
            TResult     itemField = NewResult(t => "item", new object[0], typeof(double));
            FloatResult result    = logic.Invoke(itemField);

            return(new FloatListResult(this, t => t.FnListExtract, new object[] { result }, typeof(double)));
        }
示例#2
0
        public IBlankQuery UnionSearch(bool duplicates, Parameter searchWords, SearchOperator searchOperator, Node searchNodeType, out FloatResult scoreAlias, params FieldResult[] searchFields)
        {
            AliasResult scoreResult = new AliasResult();

            scoreAlias = new FloatResult(scoreResult, null, null, typeof(double));
            Aliases    = new[] { scoreResult };

            return(UnionSearch(duplicates, searchWords, searchOperator, searchNodeType, searchFields));
        }