pylucene 3.5.0-3
[pylucene.git] / lucene-java-3.5.0 / lucene / contrib / benchmark / conf / compound-penalty.alg
1 #/**
2 # * Licensed to the Apache Software Foundation (ASF) under one or more
3 # * contributor license agreements.  See the NOTICE file distributed with
4 # * this work for additional information regarding copyright ownership.
5 # * The ASF licenses this file to You under the Apache License, Version 2.0
6 # * (the "License"); you may not use this file except in compliance with
7 # * the License.  You may obtain a copy of the License at
8 # *
9 # *     http://www.apache.org/licenses/LICENSE-2.0
10 # *
11 # * Unless required by applicable law or agreed to in writing, software
12 # * distributed under the License is distributed on an "AS IS" BASIS,
13 # * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 # * See the License for the specific language governing permissions and
15 # * limitations under the License.
16 # */
17
18 # --------------------------------------------------------
19 # Compound: what is the cost of compound format in indexing?
20 # It does twice as much IO, is it twice slower? (no)
21 # --------------------------------------------------------
22
23 # -------------------------------------------------------------------------------------
24 # multi val params are iterated by NewRound's, added to reports, start with column name.
25
26 merge.factor=mrg:10
27 max.buffered=buf:10
28 compound=compnd:true:false
29
30 analyzer=org.apache.lucene.analysis.standard.StandardAnalyzer
31 directory=FSDirectory
32 #directory=RamDirectory
33
34 doc.stored=stored:true:true:false:false
35 doc.tokenized=true
36 doc.term.vector=vector:true:true:false:false
37 log.step=500
38 log.step.DeleteDoc=100
39
40 docs.dir=reuters-out
41 #docs.dir=reuters-111
42
43 content.source=org.apache.lucene.benchmark.byTask.feeds.ReutersContentSource
44
45 #query.maker=org.apache.lucene.benchmark.byTask.feeds.SimpleQueryMaker
46 query.maker=org.apache.lucene.benchmark.byTask.feeds.ReutersQueryMaker
47
48 # task at this depth or less would print when they start
49 task.max.depth.log=1
50
51 log.queries=false
52 # -------------------------------------------------------------------------------------
53
54 ResetSystemErase
55
56 { "Round"
57   CreateIndex
58   { "AddDocs" AddDoc > : 10000
59   CloseIndex
60
61   OpenReader  
62   { "SearchSameRdr" Search > : 500
63   CloseReader 
64               
65   { "WarmNewRdr" Warm > : 50
66               
67   { "SrchNewRdr" Search > : 500
68               
69   { "SrchTrvNewRdr" SearchTrav > : 300
70               
71   { "SrchTrvRetNewRdr" SearchTravRet > : 100
72
73   [ "WarmNewRdr" Warm > : 50
74               
75   [ "SrchNewRdr" Search > : 500
76               
77   [ "SrchTrvNewRdr" SearchTrav > : 300
78               
79   [ "SrchTrvRetNewRdr" SearchTravRet > : 100
80
81   ResetInputs
82   RepSumByName
83   NewRound
84 } : 4
85             
86 RepSumByName
87 RepSumByNameRound
88 RepSumByPrefRound AddDocs
89 RepSumByPrefRound SearchSameRdr
90 RepSumByPrefRound WarmNewRdr
91 RepSumByPrefRound SrchTrvNewRdr
92 RepSumByPrefRound SrchTrvRetNewRdr