Hello Justin,
Ahahahhahahahahhahah :-) ok my little boy, dady will explain you the world :-D
sorry, I couldn't resist!!! :-D
In PDF you cannot have all the index you might want, you might for example write them white over white and then index them via PDF Indexer.
But sometimes such trick don't work, or the customer doesn't want to use them, or any other reasons.
And the PDF Index is too limited, I mean you have 7-8 fields like Author, Document Name, Last change, Date of creation, ... and nothing more, and if you add some extra fields, then the PDF Indexer will simply ignore them.
And sometimes using the Generic index is the way to go in order to have the flexibility to have all the index in the world.
Unfortunately using the Generic index, you lose the benefit of the AFP/PDF Indexe to split the resources (or at least I don't know how to do it :-D).
So my answer was to use the best of both world, the power of Generic index, and at the same time using the PDF/AFP Indexer to have the ressource splitting capability.
With the option -j of arsload, you can add informations to the AFP/PDF indexer on the fly, and that was what I was trying to explain in my answer.
So in order to work, you must have the following:
1) Have a trigger so the document is recognized
2) That's it, no index, no field, nothing expect the setting to remove all the ressources in the ACID/PDF Indexer
3) On the loader side, you create a simple text file, and you create something like :
FIELD01='01/01/2012'
FIELD02='SECRET DOC'
...
INDEX01='myindex1',FIELD01
INDEX02='myindex2',FIELD02
4) you simply use arsload with the normal options for the ACIF/PDF Indexer with the additional -j option with the file create in 3),
And then magically you have for your document the power of generic index, with the power of PDF/ACIF Indexer.
Well that works well with 1 document per index... so if you have let say 100000 pages to index, and each page needs to be indexed that way, it doesn't work, it cannot work, or you use a user exit for that.
And for your questions, the resources that are stored in CMOD, could be already in CMOD or not. CMOD will check itself if he needs to store them, or if he has them already... the normal behavior in fact!
I hope I've answered your concern and questions!!!
Sincerely yours,
Alessandro