Thanks Ray,

I had done some troubleshooting using the status attribute and it only
ever showed 0 records being affected. The litFile variable is
identical and I've even tried to delete a key by manually adding the
key name in the delete action. I have also used the Solr server
interface to pull the stored key and manually used that in the cfindex
delete key. It's been really frustrating.

Dean

On Mon, Oct 31, 2011 at 5:04 PM, Raymond Camden <[email protected]> wrote:
>
> 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:348375
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to