~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/myisam/ftbench/README

MergedĀ fromĀ trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
1. should be run from myisam/ftbench/
2
 
2. myisam/ftdefs.h should NOT be locked (bk get, not bk edit!)
3
 
3. there should be ./data/ subdir with test collections, files:
4
 
     test1.d
5
 
     test1.q
6
 
     test1.r
7
 
     test2.d
8
 
     test2.q
9
 
     test2.r
10
 
   where test1, test2, etc - are arbitrary test names
11
 
 
12
 
  *.[dq] files contain documents/queries one item per line.
13
 
 
14
 
   *.r files have the structure:
15
 
   1 16 .....blablabla
16
 
   1 09 .....blablabla
17
 
   2 116 .....blablabla
18
 
   ...
19
 
 
20
 
  that is /^\d+\s+\d+/
21
 
  and are sorted by the first number (not necessarily by the second)
22
 
   
23
 
4. there should be ./t/ subdir with test directories
24
 
 
25
 
  ./t
26
 
  ./t/BEST/
27
 
  ./t/testdir1/
28
 
  ./t/testdir2/
29
 
  ...
30
 
 
31
 
  there *must* be ./t/BEST/ subdir or a symlink to one of other dirs in ./t
32
 
  all other names (besides BEST) can be arbitrary
33
 
 
34
 
  all test results are compared with BEST results.
35
 
  
36
 
  test directories may contain ftdefs.h, my.cnf, ft_mode
37
 
  (the last one is used as in ... MATCH ... AGAINST ("..." $ft_mode) ...)
38
 
  NOTE: all *.out files in test directories will NOT be overwritten!
39
 
  delete them to re-test
40
 
 
41
 
5. run ./ft-test-run.sh
42
 
6. go make some coffee
43