Re: Ask about the question of solr cache
Are you sure you commit after you're done? If you change the index, this should all be automatic. Although that doesn't make a lot of sense if you restart Solr because the changes would probably be lost then. But I'm a bit confused about what you mean by caches not being updated. Do you mean search results? Some details about how you're verifying that the results aren't available would be helpful. This should be all automatic, so my first guess would be that you're not doing what you think you are G. Best Erick On Mon, Dec 12, 2011 at 6:21 AM, JiaoyanChen chen00...@gmail.com wrote: When I have delete or add data by application through solrj, or have import index through command nutch solrindex, the cache of solr are not changed if I do not restart solr. Could anyone tell me how could I update solr cache without restarting using shell command? When I recreate the index by nutch, I should update data in solr. I use java -jar start.jar to publish solr. Thanks!
Re: Ask about the question of solr cache
Is it possible that your Solr client (or the way you communicate with it) is aware of HTTP caching? If you are using a navigator in order to confirm these updates and commits, try disabling HTTP caching. On Tue, Dec 13, 2011 at 3:24 PM, Erick Erickson erickerick...@gmail.comwrote: Are you sure you commit after you're done? If you change the index, this should all be automatic. Although that doesn't make a lot of sense if you restart Solr because the changes would probably be lost then. But I'm a bit confused about what you mean by caches not being updated. Do you mean search results? Some details about how you're verifying that the results aren't available would be helpful. This should be all automatic, so my first guess would be that you're not doing what you think you are G. Best Erick On Mon, Dec 12, 2011 at 6:21 AM, JiaoyanChen chen00...@gmail.com wrote: When I have delete or add data by application through solrj, or have import index through command nutch solrindex, the cache of solr are not changed if I do not restart solr. Could anyone tell me how could I update solr cache without restarting using shell command? When I recreate the index by nutch, I should update data in solr. I use java -jar start.jar to publish solr. Thanks! -- Un saludo, Samuel García.
Ask about the question of solr cache
When I have delete or add data by application through solrj, or have import index through command nutch solrindex, the cache of solr are not changed if I do not restart solr. Could anyone tell me how could I update solr cache without restarting using shell command? When I recreate the index by nutch, I should update data in solr. I use java -jar start.jar to publish solr. Thanks!