xref: /Lucene/lucene/benchmark/conf/sloppy-phrase.alg (revision d7dc53ff7c3a16110aac4120e5bfdf7721b21bcd)
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
20max.buffered=100
21merge.factor=10
22compound=true
23
24analyzer=org.apache.lucene.analysis.standard.StandardAnalyzer
25directory=FSDirectory
26#directory=ByteBuffersDirectory
27
28doc.stored=false
29doc.tokenized=true
30doc.term.vector=false
31log.step=500
32
33docs.dir=reuters-out
34#docs.dir=reuters-111
35
36content.source=org.apache.lucene.benchmark.byTask.feeds.SingleDocSource
37#content.source=org.apache.lucene.benchmark.byTask.feeds.ReutersContentSource
38
39query.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
44task.max.depth.log=1
45
46log.queries=false
47# -------------------------------------------------------------------------------------
48
49
50ResetSystemErase
51
52{ "Populate"
53    CreateIndex
54    { "MAddDocs" AddDoc(2000) > : 20000
55    ForceMerge(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
71RepSumByPrefRound MAddDocs
72
73RepSumByName
74RepSumByPrefRound Search
75