Debian Codegraph @

lucene/benchmark/conf/analyzer.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 merge.factor=mrg:10
21 #:100:10:100
22 max.buffered=buf:10
23 #:10:100:100
24 compound=true
25
26 analyzer=org.apache.lucene.analysis.standard.StandardAnalyzer
27 directory=FSDirectory
28 #directory=ByteBuffersDirectory
29
30 doc.stored=true
31 doc.tokenized=true
32 doc.term.vector=false
33 log.step=500
34
35 work.dir=data
36 docs.dir=reuters21578
37
38 content.source=org.apache.lucene.benchmark.byTask.feeds.ReutersContentSource
39
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=2
45
46 log.queries=true
47 # -------------------------------------------------------------------------------------
48
49 { "Rounds"
50
51 ResetSystemErase
52 #If the analyzer is in o.a.l.analysis, then just the classname can be used, otherwise the FQN must be used
53 #Standard Analyzer can be shortened to standard.StandardAnalyzer
54 {"NewAnalyzer" NewAnalyzer(WhitespaceAnalyzer, SimpleAnalyzer, StopAnalyzer, standard.StandardAnalyzer) >
55 { "Populate"
56 CreateIndex
57 { "MAddDocs" AddDoc > : 2000
58 ForceMerge(1)
59 CloseIndex
60 }
61
62 OpenReader
63 { "SearchSameRdr" Search > : 5000
64 CloseReader
65
66 { "WarmNewRdr" Warm > : 50
67
68 { "SrchNewRdr" Search > : 500
69
70 { "SrchTrvNewRdr" SearchTrav(1000) > : 300
71
72 { "SrchTrvRetNewRdr" SearchTravRet(2000) > : 100
73
74 NewRound
75
76 } : 4
77
78 RepSumByName
79 RepSumByPrefRound MAddDocs