|
Re: [dtsearch] Per-index alphabet files?
>Is it possible to have different indexes use different alphabet
>files, or is it only possible to
>have one that applies to all indexes?
>
>We would like to be able to define the hyphen differently for
>different indexes, and have not
>been able to find a way to do this.
When you create an index, a copy of the current alphabet and hyphen
settings is copied into the index folder, in the index_a.ix
file. From then on, that index will always use those settings,
ignoring any changes you make to either the alphabet or the hyphen
settings. Therefore, you can create an index, change the settings,
and then create another index, and the indexes will have different settings.
Also, if you have two sets of standard settings that you use often,
the following hack will work:
(1) Create index "A" with the first set of settings.
(2) Create index "B" with the second set of settings.
(3) Copy the index_a.ix file from index "A" to a file named
"SettingsA.txt" and copy the index_a.ix file from index "B" to a file
named "SettingsB.txt"
(4) When you want to create an index with one of the two settings,
create an index normally and then copy either SettingsA.txt or
SettingsB.txt over the index_a.ix file in the index folder.
This eliminates the need to go through the GUI to change the alphabet
and hyphen settings every time you create an index. Copying over the
index_a.ix file is fine as long as you have not indexed any documents
in that index yet.
David Thede
dtSearch Corp.
|