Debian Codegraph @

lucene/benchmark/conf/collector.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 # collector.class can be:
21 # Fully Qualified Class Name of a Collector with a empty constructor
22 # topScoreDocOrdered - Creates a TopScoreDocCollector that requires in order docs
23 # topScoreDocUnordered - Like above, but allows out of order
24 collector.class=coll:topScoreDoc
25
26 analyzer=org.apache.lucene.analysis.core.WhitespaceAnalyzer
27 directory=FSDirectory
28 #directory=ByteBuffersDirectory
29
30 doc.stored=true
31 doc.tokenized=true
32 doc.term.vector=false
33 log.step=100000
34
35 search.num.hits=1000000
36
37 content.source=org.apache.lucene.benchmark.byTask.feeds.LongToEnglishContentSource
38
39
40 query.maker=org.apache.lucene.benchmark.byTask.feeds.LongToEnglishQueryMaker
41
42 # task at this depth or less would print when they start
43 task.max.depth.log=2
44
45 log.queries=true
46 # -------------------------------------------------------------------------------------
47
48 { "Rounds"
49
50 ResetSystemErase
51
52 { "Populate"
53 CreateIndex
54 { "MAddDocs" AddDoc } : 2000000
55 ForceMerge(1)
56 CloseIndex
57 }
58
59 OpenReader
60 { "topDocs" SearchWithCollector > : 10
61 CloseReader
62
63 # OpenReader
64 #uses an array of search.num.hits size, but can also take in a parameter
65 # { "psc" SearchWithPostSortCollector > : 10
66 # { "psc100" SearchWithPostSortCollector(100) > : 10
67 # { "psc1000" SearchWithPostSortCollector(1000) > : 10
68 # { "psc10000" SearchWithPostSortCollector(10000) > : 10
69 # { "psc50000" SearchWithPostSortCollector(50000) > : 10
70 # CloseReader
71
72 RepSumByPref topDocs
73 # RepSumByPref psc
74 # RepSumByPref psc100
75 # RepSumByPref psc1000
76 # RepSumByPref psc10000
77 # RepSumByPref psc50000
78
79 NewRound
80
81 } : 4
82
83 #RepSumByNameRound
84 #RepSumByName
85 #RepSumByPrefRound topDocs
86 #RepSumByPrefRound psc
87 #RepSumByPrefRound psc100
88 #RepSumByPrefRound psc1000
89 #RepSumByPrefRound psc10000
90 #RepSumByPrefRound psc50000
91