Use the status attribute of cfindex. Look at the result. It should show how many items were deleted. You may also want to double check to ensure litFile is matching case-wise.
On Mon, Oct 31, 2011 at 4:01 PM, Dean Lawrence <[email protected]> wrote: > > I have a Solr collection for literature which I store both a reference to the > original file in a database and the physical file on the filesystem. When a > new piece of literature is added to the system, I update the Solr collection > with the following code: > > > <cfoutput query="literatureQuery"> > <cfset litFile = litpath & "#literatureID#.pdf" / ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:348374 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

