Hi Andrei, yes that's what I meant, the query result reflect the changes that I or the script made in cat_978.xml which is not happen right now I already commit it after the cat_987.xml changed, but the old xml file still showed in query result, in other words the ID: 618436123 still there.
I tried these steps and the query resulted correct: 1. delete the index (<delete><query>AUC_CAT:978</query></delete>) 2. commit the new cat_978.xml (java -jar post.jar cat_978.xml) 3. restart the solr (stop and java -jar start.jar) the problem is how I can send those command from my php script since the script is run periodically every half minute via cron? this the full process of my php script and solr search to make you easier to understand: php script read the database -> php script create cat_978.xml -> php script delete the index -> commit the cat_978.xml -> restart the solr service those process run every half minute is there any simpler process? thanks in advance -- View this message in context: http://lucene.472066.n3.nabble.com/Query-Result-is-not-updated-based-on-the-new-XML-files-tp1028575p1031009.html Sent from the Solr - User mailing list archive at Nabble.com.