Skip to content

Commit 2081b66

Browse files
committed
Merge branch 'master' of github.com:henkish/NEST into async-connection-improvements
Conflicts: src/Nest/Domain/Connection/AsyncRequestOperation.cs src/Nest/Domain/Connection/Connection.cs src/Nest/Nest.csproj
2 parents 943d6ca + 4709561 commit 2081b66

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

src/Nest/DSL/Query/RangeQueryDescriptor.cs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,16 @@ public RangeQueryDescriptor<T> FromExclusive()
6262
this._FromInclusive = false;
6363
return this;
6464
}
65+
66+
/// <summary>
67+
/// Boosts the range query by the specified boost factor
68+
/// </summary>
69+
/// <param name="boost">Boost factor</param>
70+
public RangeQueryDescriptor<T> Boost(double boost)
71+
{
72+
this._Boost = boost;
73+
return this;
74+
}
6575

6676

6777
#region int

src/Nest/Domain/Connection/Connection.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public class Connection : IConnection
1515
{
1616
const int BUFFER_SIZE = 1024;
1717

18-
private IConnectionSettings _ConnectionSettings { get; set; }
18+
protected IConnectionSettings _ConnectionSettings { get; set; }
1919
private Semaphore _ResourceLock;
2020
private readonly bool _enableTrace;
2121

0 commit comments

Comments
 (0)