File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -22,18 +22,20 @@ public interface IConstantScoreQuery : IQuery
2222 double ? Boost { get ; set ; }
2323 }
2424
25- public class ConstantScoreQuery : PlainQuery , ICustomScoreQuery
25+ public class ConstantScoreQuery : PlainQuery , IConstantScoreQuery
2626 {
2727 protected override void WrapInContainer ( IQueryContainer container )
2828 {
29- container . CustomScore = this ;
29+ container . ConstantScore = this ;
3030 }
3131
3232 public bool IsConditionless { get { return false ; } }
3333 public string Lang { get ; set ; }
3434 public string Script { get ; set ; }
3535 public Dictionary < string , object > Params { get ; set ; }
3636 public IQueryContainer Query { get ; set ; }
37+ public IFilterContainer Filter { get ; set ; }
38+ public double ? Boost { get ; set ; }
3739 }
3840
3941 public class ConstantScoreQueryDescriptor < T > : IConstantScoreQuery where T : class
You can’t perform that action at this time.
0 commit comments