pylucene 3.5.0-3
[pylucene.git] / lucene-java-3.5.0 / lucene / contrib / benchmark / conf / sloppy-phrase.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 # multi val params are iterated by NewRound's, added to reports, start with column name.
19
20 max.buffered=100
21 merge.factor=10
22 compound=true
23
24 analyzer=org.apache.lucene.analysis.standard.StandardAnalyzer
25 directory=FSDirectory
26 #directory=RamDirectory
27
28 doc.stored=false
29 doc.tokenized=true
30 doc.term.vector=false
31 log.step=500
32
33 docs.dir=reuters-out
34 #docs.dir=reuters-111
35
36 content.source=org.apache.lucene.benchmark.byTask.feeds.SingleDocSource
37 #content.source=org.apache.lucene.benchmark.byTask.feeds.ReutersContentSource
38
39 query.maker=org.apache.lucene.benchmark.byTask.feeds.SimpleSloppyPhraseQueryMaker
40 #query.maker=org.apache.lucene.benchmark.byTask.feeds.SimpleQueryMaker
41 #query.maker=org.apache.lucene.benchmark.byTask.feeds.ReutersQueryMaker
42
43 # task at this depth or less would print when they start
44 task.max.depth.log=1
45
46 log.queries=false
47 # -------------------------------------------------------------------------------------
48
49
50 ResetSystemErase
51
52 { "Populate"
53     CreateIndex
54     { "MAddDocs" AddDoc(2000) > : 20000     
55     ForcMerge(1)
56     CloseIndex
57 }
58
59
60 { "Round"
61
62   OpenReader  
63   { "SearchSameRdr" Search > : 6000
64   CloseReader 
65
66   ResetInputs
67   RepSumByName
68   NewRound
69 } : 4
70             
71 RepSumByPrefRound MAddDocs
72
73 RepSumByName
74 RepSumByPrefRound Search