I have another folder where i had pdfs but i dont want those indexed hence i have set IndexParentId which I am assuming will only index pdfs contained in that dir. So if i create a pdf in my other folder it should not index i have checked the index it does not. However if i move pdf from non indexed folder to indexed folder i.e. 2188 i would expect to appear in index however it does not. It does however if after move I do full index rebuild.
I noticed in the code in UmbracoEventManager class we have media events AfterDelete and AfterSave not one for Move. Does there need to be one after move?
I have checked into svn a quick fix for the media move event that now picks on an index call when media item is moved. However for a move and for newly created media item its not honouring the parentid set in the config so all pdf files are getting indexed. if you do full rebuild then it does honour the parentid.
move media event in umbraco examine
Just been playing with the pdf indexing and its all working nicely. Something I have noticed. In my config i have
<IndexSet SetName="PDFIndexSet" IndexPath="~/App_Data/ExamineIndexes/PDFIndexSet" IndexParentId="2188"/>
I have another folder where i had pdfs but i dont want those indexed hence i have set IndexParentId which I am assuming will only index pdfs contained in that dir. So if i create a pdf in my other folder it should not index i have checked the index it does not. However if i move pdf from non indexed folder to indexed folder i.e. 2188 i would expect to appear in index however it does not. It does however if after move I do full index rebuild.
I noticed in the code in UmbracoEventManager class we have media events AfterDelete and AfterSave not one for Move. Does there need to be one after move?
Regards
Ismail
Shannon,
I have checked into svn a quick fix for the media move event that now picks on an index call when media item is moved. However for a move and for newly created media item its not honouring the parentid set in the config so all pdf files are getting indexed. if you do full rebuild then it does honour the parentid.
Regards
Ismail
Shannon,
Do you want to reply to this post and i can mark the updates you have made as solution to the problem and get yourself some well deserved karma.
Regards
Ismail
is working on a reply...