public IndexKeysBuilder AddLong(String key, Boolean?docValue = null, String alias = null)
        {
            var longKeyInfo = new IndexLongKeyInfo
            {
                DocValue = docValue,
                Alias    = alias
            };

            this.keys.Add(key, longKeyInfo);

            return(this);
        }
예제 #2
0
        public IndexKeysBuilder AddLong(string key, bool?docValue = null, string alias = null)
        {
            var longKeyInfo = new IndexLongKeyInfo
            {
                DocValue = docValue,
                Alias    = alias
            };

            keys.Add(key, longKeyInfo);

            return(this);
        }