Query results differ
ddu2019 opened this issue · 2 comments
ddu2019 commented
First of all, thank you for this excellent beginner's crash course.
On Part 4 of the tutorial, I did not get the same results as desribed in this repo or in the video.
However, if I replace the 0 with a 1 in the STEP 3 query, the results were again matching.
STEP 3: Remove the negative values from the field "UnitPrice".
ORIGINAL
POST ecommerce_data/_delete_by_query
{
"query": {
"range": {
"UnitPrice": {
"lte": 0
}
}
}
}
MODIFIED
POST ecommerce_data/_delete_by_query
{
"query": {
"range": {
"UnitPrice": {
"lte": 1
}
}
}
}
Keep up the good work 👍 !!!
Moandh81 commented
Thank you so much for mentioning this.
I have now the same values as in the repo
nickchomey commented
Yeah, I just discovered the same thing - assumed she had used 1 since her min value was 1.01 rather than the 0.001 that I was receiving.