In the Elastic Search, we have two fields called startid and endid. For example, startid is 3061410 and endid is 3061450. Whenever a number between 3061410 and 3061450 is inputted, the query should retrieve that specific item. To view the elastic index snapshot, please visit this link: Elastic index snapshot
The expected result snapshot can be found by clicking here: Click here
I attempted the following query but unfortunately did not obtain the anticipated outcome:
{ "range": { "startid": { "gte": parseInt(this.selectedOP_no),"lte":+parseInt(this.selectedOP_no)+40 } } }
Here, this.selectedOP_no represents a number within the range of startid and endid, such as 3061411