How to submit a list of objects for indexing

Instead of using the API to send the objects for indexing, one-by-one, there is a simpler and more efficient way of doing things.

  1. Generate the list of r_object_id by this DQL:
    • select r_object_id from dm_document
  2. Copy the list into a TXT file (filename: ids.txt)
  3. Save the TXT file @ :\Documentum\jboss4.2.0\server\DctmServer_IndexAgent1\deploy\IndexAgent1.war\WEB-INF\classes
  4. Once the resubmission is completed, the TXT file is renamed from: ids.txt >> ids.txt.done

Now, how do you actually get the list of r_object_id since the query potentially returns you millions of entries? Look out for the next post.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: