Debian Codegraph @

lucene/benchmark/conf/sloppy-phrase.alg

raw
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=ByteBuffersDirectory
27
28 doc.stored=false
29 doc.tokenized=true
30 doc.term.vector=false
31 log.step=500
32
33 work.dir=data
34 docs.dir=reuters21578
35 #docs.dir=reuters-111
36
37 content.source=org.apache.lucene.benchmark.byTask.feeds.SingleDocSource
38 #content.source=org.apache.lucene.benchmark.byTask.feeds.ReutersContentSource
39
40 query.maker=org.apache.lucene.benchmark.byTask.feeds.SimpleSloppyPhraseQueryMaker
41 #query.maker=org.apache.lucene.benchmark.byTask.feeds.SimpleQueryMaker
42 #query.maker=org.apache.lucene.benchmark.byTask.feeds.ReutersQueryMaker
43
44 # task at this depth or less would print when they start
45 task.max.depth.log=1
46
47 log.queries=false
48 # -------------------------------------------------------------------------------------
49
50
51 ResetSystemErase
52
53 { "Populate"
54 CreateIndex
55 { "MAddDocs" AddDoc(2000) > : 20000
56 ForceMerge(1)
57 CloseIndex
58 }
59
60
61 { "Round"
62
63 OpenReader
64 { "SearchSameRdr" Search > : 6000
65 CloseReader
66
67 ResetInputs
68 RepSumByName
69 NewRound
70 } : 4
71
72 RepSumByPrefRound MAddDocs
73
74 RepSumByName
75 RepSumByPrefRound Search