\define AtoZfilter() ...
\define glue123() ...
<$button> Create alphabetical TOC structure
<$list A-Z variable=letr1
<$list A-Z variable=letr2
<$list A-Z variable=letr3
<$list Use regular expression to to match by letr1-letr2-letr3. Use rest[10] to make sure there's at least 10 items
<$action-setfield create new tiddler with letr1-letr2-letr3 tagged with letr1.
<$list Use regular expression to match by letr1-letr2-letr3
<$fieldmangler>
<$action-sendmessage tm-remove-tag Remove existing letr1 tag from matching items
</$fieldmangler>
</$list>
</$list>
</$list>
</$list>
</$list>
</$button>\define min-per-group() 10
\define ABC() A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
\define xABC() A B C D E F
\define regexpABC() (?i)^$(letr1)$$(letr2)$$(letr3)$
\define glueABC() $(letr1)$$(letr2)$$(letr3)$
<$button> Create alphabetical TOC structure
<$list filter="[enlist<ABC>]" variable=letr1>
<$list filter="[enlist<ABC>]" variable=letr2>
<$list filter="[enlist<ABC>]" variable=letr3>
<$list filter="[all[tiddlers]!has[draft.of]regexp<regexpABC>rest<min-per-group>limit[1]]" variable="dummy">
<$action-setfield $tiddler=<<glueABC>> tags=<<letr1>> />
<$list filter="[all[tiddlers]regexp<regexpABC>]" >
<$fieldmangler>
<$action-sendmessage $message="tm-remove-tag" $param=<<letr1>>/>
<$action-sendmessage $message="tm-add-tag" $param=<<glueABC>>/>
</$fieldmangler>[all[tiddlers]..." you can append your own specific tag operator.Without access to your data it is hard to map a usefull breakdown structure to apply.
Could you describe what they are?
Is there any other ways you do or can subdivide your tiddlers?
This may be a case of where search is best used to first reduce the size of the set before placing it in an alphabetical index.
Regards
Tony
Allowing the application of a filter or search to reduce the set that you then browse is a common strategy for large datasets.
What people tend to forget is once built our queries of such data sets often already start with some fact that we can use to reduce the set we are looking at
Try and make a list of reasons you may want to browse the list for and see if you can find information you can use to limit it on, eg state, city businss type etc which is much more useful than the semi random decisions naming businesses.
Regards
Tony