Re: number of matching documents incorrect during postOptimize

2008-08-12 Thread Shalin Shekhar Mangar
Hi Tom, There will be no clean way of doing this with scripts. A way would be to write a newSearcher event listener in Java and use one of the SolrIndexSearcher#getDocList methods to do the query. If successful, execute your scripts for snapshoot. However, I think it should be fine if you want to

number of matching documents incorrect during postOptimize

2008-08-11 Thread Tom Morton
Hi all, I'm trying to check that an import using the dataImportHandler was clean before I take a snapshot of the index to be pulled via snappuller to query nodes. One of the checks I do is verify that a certain minimum number of documents are returned for a query. I do this in a script that I'