I have Content entity which is saved to database and Lucene for full text search.
In that entities i have field Rating which is updated when user + or – rating.
So rating can be updated any time and i need to show correct Rating value how to do it better? should i save rating to Lucene document and update it each time when user updates it?
I have Content entity which is saved to database and Lucene for full text
Share
Usually approach is following: