Arto
Wed Dec 31 12:12:42 CST 2003
This is a multi-part message in MIME format.
------=_NextPart_000_0024_01C3CFDA.72A59420
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
All indexes are located in one CDX file contrary to the IDX format where =
you have one IDX file per index.
You can think compound CDX files as a group of indexes. Where IDX needs =
multiple files
compound needs only one file which contains multiple indexes.
In other words - If you store multiple-key tags to the single index =
file, it has an extensiond CDX I.e. you can store more than one key tag
to the CDX file when you can store only single-key tag to the IDX file
You have two different kind of IDX files. Compact IDX and non-compact =
stand-alone IDX. Non-compact stand-alone IDX is used mainly for=20
backward compatibility. =
(
http://msdn.microsoft.com/library/default.asp?url=3D/library/en-us/dv_fo=
xhelp/html/dgtskusingotherindextypes.asp) and has=20
a different file header than compact IDX.
>All compound indexes are compact indexes. One file structure exists to =
track all the tags in the .cdx file
Indicates that structure of compound CDX file is identical to the =
compact IDX file except the leaf nodes at the lowest level=20
>leaf nodes...
Browse Index File Structure (.idx) page to see basic idea of nodes or =
click the following direct link:
http://msdn.microsoft.com/library/default.asp?url=3D/library/en-us/dv_fox=
help/html/conindex_file_structure_lpidxrp.asp
You can find excellent info about nodes and how to use nodes just GOOGLE =
for words index right left root leaf node
or google for structure compact index right left root leaf node
F.ex.=20
http://clicketyclick.dk/docs/cdx.html
http://en.wikipedia.org/wiki/Binary_tree
http://www.experts-exchange.com/Databases/FoxPro/Q_20812405.html
http://cpp.datastructures.net/presentations/Tries.pdf
etc...
Hope this will help you.
AT
"M Mordkovych" <jcberg_no_spam_@compuserve.com> wrote in message =
news:bsuu7e$kl6$1@ngspool-d02.news.aol.com...
Thanks for everybody but docs are very crypric for CDX
This is the whole info :
All compound indexes are compact indexes.
One file structure exists to track all the tags in the .cdx file. This =
structure is identical to the compact index file structure with one =
exception - the leaf nodes at the lowest level of this structure point =
to one of the tags in the compound index.
All tags in the index have their own complete structure that is =
identical to the compact index structure for an .idx file.
------=_NextPart_000_0024_01C3CFDA.72A59420
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1276" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV>
<DIV><FONT face=3DArial size=3D2>All indexes are located in one CDX=20
file contrary to the IDX format where you have one IDX file =
per=20
index.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>You can think compound CDX files =
as a group of=20
indexes. Where IDX needs multiple files</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>compound needs only one file which =
contains=20
multiple indexes.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>In other words - If you store =
multiple-key tags to=20
the single index file, it has an extensiond CDX I.e. you can store more =
than one=20
key tag</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>to the CDX file when you can store only =
single-key=20
tag to the IDX file</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>You have two different kind of IDX =
files. Compact=20
IDX and non-compact stand-alone IDX. Non-compact stand-alone IDX is used =
mainly=20
for </FONT></DIV>
<DIV><FONT face=3DArial size=3D2>backward compatibility. (<A=20
href=3D"
http://msdn.microsoft.com/library/default.asp?url=3D/library/en-u=
s/dv_foxhelp/html/dgtskusingotherindextypes.asp">
http://msdn.microsoft.co=
m/library/default.asp?url=3D/library/en-us/dv_foxhelp/html/dgtskusingothe=
rindextypes.asp</A>)=20
and has </FONT></DIV>
<DIV><FONT face=3DArial size=3D2>a different file header than compact=20
IDX.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV>
<DIV><FONT size=3D2><FONT face=3DArial><EM><STRONG>>All compound =
indexes are=20
compact indexes. </STRONG></EM><EM><STRONG>One file structure exists to =
track=20
all the tags in the .cdx file</STRONG></EM></FONT></FONT></DIV></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Indicates that structure of compound =
CDX file is=20
identical to the compact IDX file except the leaf nodes at the lowest =
level=20
</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><STRONG><EM>>leaf=20
nodes...</EM></STRONG></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Browse <A=20
href=3D"
http://msdn.microsoft.com/library/en-us/dv_foxhelp/html/conindex_=
file_structure_lpidxrp.asp"><FONT=20
size=3D3>Index File Structure (.idx)</FONT></A> page to see basic =
idea of=20
nodes or click the following direct link:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2><A=20
href=3D"
http://msdn.microsoft.com/library/default.asp?url=3D/library/en-u=
s/dv_foxhelp/html/conindex_file_structure_lpidxrp.asp">
http://msdn.micros=
oft.com/library/default.asp?url=3D/library/en-us/dv_foxhelp/html/conindex=
_file_structure_lpidxrp.asp</A></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>You can find excellent info about =
nodes and=20
how to use nodes just GOOGLE for words <STRONG>index right left root =
leaf=20
node</STRONG></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>or google for <STRONG>structure =
compact index=20
right left root leaf node</STRONG></FONT></DIV>
<DIV><STRONG><FONT face=3DArial size=3D2></FONT></STRONG> </DIV>
<DIV><FONT face=3DArial size=3D2>F.ex.<STRONG> </STRONG></FONT></DIV>
<DIV><STRONG><FONT face=3DArial size=3D2></FONT></STRONG> </DIV>
<DIV><FONT face=3DArial size=3D2><A=20
href=3D"
http://clicketyclick.dk/docs/cdx.html">http://clicketyclick.dk/do=
cs/cdx.html</A></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><A=20
href=3D"
http://en.wikipedia.org/wiki/Binary_tree">http://en.wikipedia.org=
/wiki/Binary_tree</A></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><A=20
href=3D"
http://www.experts-exchange.com/Databases/FoxPro/Q_20812405.html"=
>
http://www.experts-exchange.com/Databases/FoxPro/Q_20812405.html</A></FO=
NT></DIV>
<DIV><FONT face=3DArial size=3D2><A=20
href=3D"
http://cpp.datastructures.net/presentations/Tries.pdf">http://cpp=
.datastructures.net/presentations/Tries.pdf</A></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>etc...</FONT></DIV>
<DIV><STRONG><FONT face=3DArial size=3D2></FONT></STRONG> </DIV>
<DIV><STRONG><FONT face=3DArial size=3D2></FONT></STRONG> </DIV>
<DIV><FONT face=3DArial size=3D2>Hope this will help you.</FONT></DIV>
<DIV><STRONG><FONT face=3DArial size=3D2></FONT></STRONG> </DIV>
<DIV><FONT face=3DArial size=3D2>AT</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV>"M Mordkovych" <<A=20
=
href=3D"mailto:jcberg_no_spam_@compuserve.com">jcberg_no_spam_@compuserve=
.com</A>>=20
wrote in message <A=20
=
href=3D"news:bsuu7e$kl6$1@ngspool-d02.news.aol.com">news:bsuu7e$kl6$1@ngs=
pool-d02.news.aol.com</A>...</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks for everybody but docs are =
very crypric=20
for CDX</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>This is the whole info :</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><EM><STRONG>All compound indexes are =
compact=20
indexes.</STRONG></EM></FONT></DIV>
<DIV><FONT face=3DArial =
size=3D2><EM><STRONG></STRONG></EM></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><EM><STRONG>One file structure exists =
to track=20
all the tags in the .cdx file. This structure is identical to the =
compact=20
index file structure with one exception =97 the leaf nodes at the =
lowest level=20
of this structure point to one of the tags in the compound=20
index.</STRONG></EM></FONT></DIV>
<DIV><FONT face=3DArial =
size=3D2><EM><STRONG></STRONG></EM></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><EM><STRONG>All tags in the index =
have their own=20
complete structure that is identical to the compact index structure =
for an=20
.idx file.</STRONG></EM></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial =
size=3D2></FONT> </DIV></BLOCKQUOTE></BODY></HTML>
------=_NextPart_000_0024_01C3CFDA.72A59420--