*************************************************
0. drop any existing index..
drop index on ../../bigtestdata/snp.dat *

*************************************************
1. create direct index on ordinary file..
create index (type=direct) on ../../bigtestdata/snp.dat (key)

directindex:2  directindex:3  *************************************************
2. tabdef
'../../bigtestdata/snp.dat' has these fields:
 1. snpid
 2. chr
 3. loc
 4. key
 5. c57
 6. s129
 7. balb
 8. c3h
 9. sts
10. length
11. primer5
12. primer3
Indexed fields:
  /bigtestdata/snp  (direct,  alpha order,  3 levels)
*************************************************
3. select
select snpid, chr, loc, sts from ../../bigtestdata/snp.dat where key inrange 5020000000,5020400000

snpid             chr   loc          sts        
----------------- --- -------- ---------------- 
WI WGS 5 20034418  5  20034418 S208P6530FD6.T0  
WI WGS 5 20034452  5  20034452 S208P6530FD6.T0  
WI WGS 5 20034885  5  20034885 S208P6530FD6.T0  
WI WGS 5 20038209  5  20038209 S208P6530RD6.T0  
WI WGS 5 20038219  5  20038219 S208P6530RD6.T0  
WI WGS 5 20038227  5  20038227 S208P6530RD6.T0  
WI WGS 5 20038229  5  20038229 S208P6530RD6.T0  
WI WGS 5 20038254  5  20038254 S208P6530RD6.T0  
WI WGS 5 20038356  5  20038356 S208P6530RD6.T0  
WI WGS 5 20038412  5  20038412 S208P6530RD6.T0  
WI WGS 5 20038478  5  20038478 S208P6530RD6.T0  
WI WGS 5 20038594  5  20038594 S208P6530RD6.T0  
WI WGS 5 20038620  5  20038620 S208P6530RD6.T0  
WI WGS 5 20066002  5  20066002 S208P6438RE8.T0  
WI WGS 5 20124444  5  20124444 S208P6630RD1.T0  
WI WGS 5 20124459  5  20124459 S208P6630RD1.T0  
WI WGS 5 20204849  5  20204849 S209P6271FB10.T0 
WI WGS 5 20259959  5  20259959 S208P6473FD4.T0  
WI WGS 5 20260005  5  20260005 S208P6473FD4.T0  
WI WGS 5 20260118  5  20260118 S208P6473FD4.T0  
WI WGS 5 20260149  5  20260149 S208P6473FD4.T0  
WI WGS 5 20260273  5  20260273 S208P6473FD4.T0  
WI WGS 5 20263654  5  20263654 S208P6473RD4.T0  
