I have a serie of documents like this:
timestamp | CAR.keyword | ENGINE_SERIAL_NUMBER.keyword |
---|---|---|
20-02-2017 | CAR1 | A0001 |
20-02-2017 | CAR2 | B0001 |
21-02-2017 | CAR1 | A0001 |
21-02-2017 | CAR2 | B0001 |
22-02-2017 | CAR1 | A0001 |
22-02-2017 | CAR2 | B0002 |
23-02-2017 | CAR1 | A0001 |
23-02-2017 | CAR2 | B0002 |
24-02-2017 | CAR1 | A0002 |
24-02-2017 | CAR2 | B0002 |
As you can see,
- the 22nd, the ENGINE_SERIAL_NUMBER of CAR2 has changed.
- the 24th, the ENGINE_SERIAL_NUMBER of CAR1 has changed.
I'd like to query for those changes. Something to be able to identify:
22-02-2017 CAR2 replaced engine B0001 by B0002
24-02-2017 CAR1 replaced engine A0001 by A0002
Is it possible and how?