lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ahmet Arslan <>
Subject Re: solr query result not read the latest xml file
Date Tue, 10 Aug 2010 06:55:13 GMT
> hi everyone,
> I do these steps every time the new xml file created (for
> example
> cat_978.xml has just been created):
> 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 java (stop and java -jar start.jar)
> if I'm not done those steps then the query result showed in
> the browser
> still using the old value (cat_978.xml - no changes at all)
> instead of
> reading the new cat_978.xml
> what I want to ask, is there a way so I don't need to
> restart the java since
> it consume too much resources and time?

You dont need to delete old document. Solr replaces it automaticaly. Assuming they have same

Probably HTTP caching causing you problems when testing with browser. You can disable it in
solrconfig.xml file <httpCaching never304="true">


View raw message