Nodes/ComfyUI-ZMongo/06 Document Index Selector
ComfyUI Node

06 Document Index Selector

A ComfyUI node in ZMongo/03 Documents with 7 inputs and 13 outputs.

By CentralFloridaAttorney·Created 5 months ago·Updated 2 months ago· 1
06 Document Index Selector
  • items_list
  • selected_items
  • document_id_links
  • first_item
  • first_document_id_link
  • first_field_path_link
  • first_file_path_link
  • first_filename_link
  • first_text_link
  • selected_json
  • indexed_selected_items
  • count
  • success
  • status
selection0
fallback
clamp_indexestrue
dedupetrue
semantic_hintdocument_id
refresh_token
CategoryZMongo/03 Documents

Inputs (7)

NameTypeDefaultDescription
items_list*
selectionSTRING0Index expression: 0, 2-7, 0,2,5, 0,2-5,9, *, or all.
fallbackSTRINGReturned only when the input list is empty or no selection matches.
clamp_indexesBOOLEANtrueClamp out-of-range indexes to the nearest valid item instead of dropping them.
dedupeBOOLEANtrueRemove duplicate selected items while preserving order.
semantic_hintCOMBOdocument_idControls the guarded semantic link outputs.
refresh_tokenoptSTRING

Outputs (13)

NameTypeDescription
selected_items*
document_id_linksZMONGO_DOCUMENT_ID
first_itemSTRING
first_document_id_linkZMONGO_DOCUMENT_ID
first_field_path_linkZMONGO_FIELD_PATH
first_file_path_linkZMONGO_FILE_PATH
first_filename_linkZMONGO_FILENAME
first_text_linkZMONGO_TEXT
selected_jsonSTRING
indexed_selected_itemsSTRING
countINT
successBOOLEAN
statusSTRING