ComfyUI Node
06 Document Index Selector
A ComfyUI node in ZMongo/03 Documents with 7 inputs and 13 outputs.
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)
| Name | Type | Default | Description |
|---|---|---|---|
| items_list | * | — | |
| selection | STRING | 0 | Index expression: 0, 2-7, 0,2,5, 0,2-5,9, *, or all. |
| fallback | STRING | Returned only when the input list is empty or no selection matches. | |
| clamp_indexes | BOOLEAN | true | Clamp out-of-range indexes to the nearest valid item instead of dropping them. |
| dedupe | BOOLEAN | true | Remove duplicate selected items while preserving order. |
| semantic_hint | COMBO | document_id | Controls the guarded semantic link outputs. |
| refresh_tokenopt | STRING | — |
Outputs (13)
| Name | Type | Description |
|---|---|---|
| selected_items | * | — |
| document_id_links | ZMONGO_DOCUMENT_ID | — |
| first_item | STRING | — |
| first_document_id_link | ZMONGO_DOCUMENT_ID | — |
| first_field_path_link | ZMONGO_FIELD_PATH | — |
| first_file_path_link | ZMONGO_FILE_PATH | — |
| first_filename_link | ZMONGO_FILENAME | — |
| first_text_link | ZMONGO_TEXT | — |
| selected_json | STRING | — |
| indexed_selected_items | STRING | — |
| count | INT | — |
| success | BOOLEAN | — |
| status | STRING | — |