I followed the Web Crawler Guide - Configuring Web crawls to write output to a Record Store. The record store was created successfully. Then I ran recordstore-cmd.bat set-configuration -a WebCrawlerOutput -f C:\..\recordstore-configuration.xml, but I got "Failed: Error loading Record Store configuration from C:\..\recordstore-configuration.xml". The recordstore-configuration.xml was exactly the same as the one written in the guide.
Any advices on this error?
Thank you for your replying. I did run run-sample which resulted in success. In my original run, I used the recordstore-configuration.xml given in the guide wihch had
But the sample does not have this one. After I removed the above, my run was successfully.
Do we need the above?
Thank you again!
I tried the steps in the Web Crawler guide and it worked. Is the XML above a direct copy-and-paste? If so then the XML is malformed ("<changePropertyNames/>"), and that might be it. If you are wondering what the changePropertyNames entries do, by default (empty <changePropertyNames />) when the crawl runs it will compare all properties on the crawled record against the record in the CAS record store, and create a new generation of the record if any are different. You can optimise this by adding specific properties to check (in the example above, the last modified date and the content).