Reputation: 19494
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?
Upvotes: 0
Views: 308
Reputation: 1712
Usually approach is following:
Upvotes: 1