searchengine/cpix/tsrc/perfmetrics/data/testvector.txt
changeset 0 671dee74050a
equal deleted inserted replaced
-1:000000000000 0:671dee74050a
       
     1 # TestVector definition file for perfmetrics.exe
       
     2 
       
     3 # name of the test. If using 'poi', the path
       
     4 # data\\indexing\\searched\\perfmetrics\\pois.txt is used instead of
       
     5 # HugeTestCorpus as well as POI schema applied to base app class "root
       
     6 # maps poi".
       
     7 plain
       
     8 #poi
       
     9 
       
    10 # (re-)create index database on start (1: yes, 0: no)
       
    11 1
       
    12 
       
    13 # RAM Buffer Size (in bytes) 
       
    14 32768 
       
    15 
       
    16 # number of preindexed (or skipped) items
       
    17 #  if positive, this many items are read from corpus, indexing
       
    18 #  if negative, this many items are read from corpus, discarding
       
    19 0
       
    20 
       
    21 # max input size - this many items are read from the corpus at most
       
    22 # (not counting the preindexed items)
       
    23 60000
       
    24 
       
    25 # lump size - measurements are organized into lumps
       
    26 5000
       
    27 
       
    28 # number of firsts - for each lump, this many items are indexed (while
       
    29 # measuring time and memory consumption). Can be zero - no addition /
       
    30 # measuring. Can also be negative, in which case abs(numOfFirsts)
       
    31 # items are read and discarded. This is useful when creating a
       
    32 # testvector where there is one lump, but no addition/deletion
       
    33 # whatsoever should happen, only searches - obviously in this case the
       
    34 # reported memory and time measurements are meaningless.
       
    35 10
       
    36 
       
    37 # number of lasts - for each lump, after indexing the firsts
       
    38 # (measuring them), and possibly (usually) indexing more, the last
       
    39 # items are also of special interest (they are added, deleted,
       
    40 # re-added, updated: all this while taking measurements)
       
    41 10
       
    42 
       
    43 # searches - for each query term, this many times the search is
       
    44 # executed in a loop (can be 0 to switch of search measurements).
       
    45 # NOTE: if you just want to take snapshots of ever growing index, you
       
    46 # want this value to be set to 1. Reason: doing search will force the
       
    47 # index database to be committed to file system, and taking snapshot
       
    48 # happens after searches (if any).
       
    49 5
       
    50 
       
    51 # incremental searches - for each query term, this many times an
       
    52 # incremental search is executed in a loop (can be 0 to switch of
       
    53 # incremental search measurements)
       
    54 # FIXME: This is not actually used to determine the number of 
       
    55 # incremental search test runs (!), it only toggles searches on/off 
       
    56 5
       
    57 
       
    58 # minimal incremental length: the minimal perfix length for each query
       
    59 # term to form a wildcard query for incremental search
       
    60 # purposes. E.g. if the query term is "character" and the minimal
       
    61 # incremental length is 2, then wildcard searches start with "ch*"
       
    62 3
       
    63 
       
    64 # suggestion searches - for each query term, this many times an
       
    65 # suggest searches is executed in a loop (can be 0 to switch of
       
    66 # suggest search measurements)
       
    67 5
       
    68 
       
    69 # minimal suggestion length: the minimal perfix length for each query
       
    70 # term to form a wildcard query for suggestion
       
    71 # purposes. E.g. if the query term is "character" and the minimal
       
    72 # incremental length is 2, then wildcard searches start with "ch*"
       
    73 3
       
    74 
       
    75 # whether to take snapshot of the index at certain points (copying the
       
    76 # physical index to c:\data\perfmetrics\idxs\NNN\... where NNN is the
       
    77 # id of the lump at the end of which the snapshot was taken. Values: 0
       
    78 # no, 1 yes.
       
    79 0
       
    80 
       
    81 # whether to add lasts. If "number of lasts" > 0 and "add lasts" == 1
       
    82 # (true) then the lasts are added. 0: no, 1: yes
       
    83 1
       
    84 
       
    85 # whether to delete and re-add lasts. If "number of lasts" > 0 and
       
    86 # "delete and re-add lasts" == 1 (true) then the lasts are deleted and
       
    87 # re-added. 0: no, 1: yes
       
    88 1
       
    89 
       
    90 # whether to update lasts. If "number of lasts" > 0 and "update lasts"
       
    91 # == 1 (true) then the lasts are updated. 0: no, 1: yes
       
    92 1
       
    93 
       
    94 # query terms - these terms will be searched for at the end of every
       
    95 # lump
       
    96 Florence
       
    97 followers
       
    98 Leonato
       
    99 women
       
   100 victory
       
   101 lion