Skip to content

Commit

Permalink
Fix RangeQueryProvider to correctly assign nodeKind for 'lt' and 'lte…
Browse files Browse the repository at this point in the history
…' cases (#16965)

Co-authored-by: emrah.tokalak <[email protected]>
  • Loading branch information
emrahtokalak and emrah.tokalak authored Nov 7, 2024
1 parent 949a550 commit d08a99d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@ public Query CreateQuery(ILuceneQueryService builder, LuceneQueryContext context
break;
case "lt":
lt = element.Value;
nodeKind = gt.GetValueKind();
nodeKind = lt.GetValueKind();
break;
case "lte":
lt = element.Value;
nodeKind = gt.GetValueKind();
nodeKind = lt.GetValueKind();
includeUpper = true;
break;
case "boost":
Expand Down

0 comments on commit d08a99d

Please sign in to comment.