pylucene 3.5.0-3
[pylucene.git] / lucene-java-3.5.0 / lucene / contrib / benchmark / conf / sort-standard.alg
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=RamDirectory
28
29 doc.stored=true
30 doc.tokenized=true
31 doc.term.vector=false
32 log.step=100000
33
34 docs.dir=reuters-out
35
36 content.source=org.apache.lucene.benchmark.byTask.feeds.SortableSingleDocSource
37
38 query.maker=org.apache.lucene.benchmark.byTask.feeds.SimpleQueryMaker
39
40 # task at this depth or less would print when they start
41 task.max.depth.log=2
42
43 log.queries=true
44 # -------------------------------------------------------------------------------------
45
46 { "Rounds"
47         { "Run"
48       ResetSystemErase
49
50       { "Populate"
51         -CreateIndex
52         { "MAddDocs" AddDoc(100) > : 500000
53         -ForcMerge(1)
54         -CloseIndex
55       }
56     
57       { "TestSortSpeed"
58         OpenReader  
59         { "LoadFieldCacheAndSearch" SearchWithSort(sort_field:int) > : 1 
60         { "SearchWithSort" SearchWithSort(sort_field:int) > : 5000
61         CloseReader 
62       
63       }
64     
65       NewRound
66      } : 4
67
68
69
70 RepSumByName
71