I'm focusing on adding the search abilities to have an e-commerce project and I have to integrate the Apache Solr search server for that searching. I could index the website quite happy with Apache Solr, the main problem is each time a user is searching all of the product submissions are indexed within the apache solr even when it's been indexed already. Can there be any means by that we can discover if my content was already listed in Apache Solr to ensure that I do not need to index this content again
If you're holding data in DB after which indexing it with Solr the answer is simple. Add timestamp column towards the data in DB, and Solr. Then periodically check latest timestamps both in. When they're not equal, increase index quite happy with more recent timestamp.
It can be done with correct query in DIH. For additional read: