Question: To filter by date, I use the following queries:

```
'body'  => [
    'query' => [
        'bool' => [
             'filter' => [
                  'range' => [
                      'expire_at' => [
                          'gte' => now()
                      ]
                 ]
             ]
         ]
    ]
]

```

UPD: All records have another date field - last\_checked. The question is how to select records in which, for example, (expire\_at - 7 days) > last\_checked?

Answer: 
try this :

```
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python3 get-pip.py --force-reinstall

```
Installation behavior On Windows 11 is different from
that on Windows 10.
Installing Python3.9 using miniconda is different from
installing Python3.8 on Windowds 11.
pip install -U did not work in Python3.8 on Windowd 11.
Install Python3.9 on Windows 11.
On WSL on Windows 11 and 10, all Python versions such as python3.8 and 3.9 work fine.