'Jhipster 6.10.5 Elasticsearch doesn't work for relationship after insert, the same work after update
The search doesn't work after inserting a new entity, the same search work after updating the entity. it seems after the updating entity the indexing has been updated.
Model
- Entity A
- Entity B
- Relationship oneToMany A to B
Steps to reproduce
- Log into backoffice
- Create the entity B with reference to A with id 100 Save is ok
- Try to search 100, no found result --> search doesn't work
- Open entity B, update and save
- Try to search 100 and found 1 result, --> search work
The issue occurs only for the relationship, if I search for a normal attribute is working fine.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
