Use a State Token with Index Actions

You can use the StateID and StateMatchID parameters to pass a state token in the DREDELETEDOC, DREEXPORTIDX, DREEXPORTXML, DREEXPORTREMOTE, and DRECHANGEMETA actions.

Index action State parameters supported
DREDELETEDOC StateID
DREEXPORTIDX StateMatchID
DREEXPORTXML StateMatchID
DREEXPORTREMOTE StateMatchID
DRECHANGEMETA StateID

Examples:

  • Change document database. Use the StateID parameter to assign all 100 documents identified by state token CTBJ1V4QO4I5-100 (as well as the indexed documents with document IDs 1 and 2) to the archive database:

    DRECHANGEMETA?Type=database&NewValue=archive&Docs=1+2&StateID=CTBJ1V4QO4I5-100
  • Delete documents. Use the StateID parameter to delete the first five documents identified by state token CTBJ1V4QO4I5-100:

    DREDELETEDOC?StateID=CTBJ1V4QO4I5-100[0-4]
  • Export documents. Use the StateMatchID parameter to export the second, fourth, and sixth documents identified by state token CTBJ1V4QO4I5-100:

    DREEXPORTXML?StateMatchID=CTBJ1V4QO4I5-100[1+3+5]