Skip to content

Commit

Permalink
Fix RangeQueryProvider to correctly assign nodeKind based on 'lt' value
Browse files Browse the repository at this point in the history
  • Loading branch information
emrah.tokalak committed Nov 7, 2024
1 parent f13d257 commit 05ad285
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 05ad285

Please sign in to comment.