Debian Codegraph @

lucene/benchmark/conf/sort-standard.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:50
21 compound=false
22
23 sort.rng=20000:10000:20000:10000
24
25 analyzer=org.apache.lucene.analysis.standard.StandardAnalyzer
26 directory=FSDirectory
27 #directory=ByteBuffersDirectory
28
29 doc.stored=true
30 doc.tokenized=true
31 doc.term.vector=false
32 log.step=100000
33
34 work.dir=data
35 docs.dir=reuters21578
36
37 content.source=org.apache.lucene.benchmark.byTask.feeds.SortableSingleDocSource
38
39 query.maker=org.apache.lucene.benchmark.byTask.feeds.SimpleQueryMaker
40
41 # task at this depth or less would print when they start
42 task.max.depth.log=2
43
44 log.queries=true
45 # -------------------------------------------------------------------------------------
46
47 { "Rounds"
48 { "Run"
49 ResetSystemErase
50
51 { "Populate"
52 -CreateIndex
53 { "MAddDocs" AddDoc(100) > : 500000
54 -ForceMerge(1)
55 -CloseIndex
56 }
57
58 { "TestSortSpeed"
59 OpenReader
60 { "LoadFieldCacheAndSearch" SearchWithSort(sort_field:int) > : 1
61 { "SearchWithSort" SearchWithSort(sort_field:int) > : 5000
62 CloseReader
63
64 }
65
66 NewRound
67 } : 4
68
69 }
70
71 RepSumByName
72