add --shared
[pylucene.git] / lucene-java-3.4.0 / lucene / contrib / benchmark / conf / deletes.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 # Deletes: what is the cost of deleting documents?
19 # --------------------------------------------------------
20
21 # -------------------------------------------------------------------------------------
22 # multi val params are iterated by NewRound's, added to reports, start with column name.
23
24 merge.factor=mrg:10
25 max.buffered=buf:100
26 compound=true
27
28 analyzer=org.apache.lucene.analysis.standard.StandardAnalyzer
29 directory=FSDirectory
30 #directory=RamDirectory
31
32 doc.stored=true
33 doc.tokenized=true
34 doc.term.vector=false
35 log.step=10000
36 log.step.DeleteDoc=100
37
38 docs.dir=reuters-out
39 #docs.dir=reuters-111
40
41 content.source=org.apache.lucene.benchmark.byTask.feeds.SingleDocSource
42 #content.source=org.apache.lucene.benchmark.byTask.feeds.ReutersContentSource
43
44 query.maker=org.apache.lucene.benchmark.byTask.feeds.SimpleQueryMaker
45 #query.maker=org.apache.lucene.benchmark.byTask.feeds.ReutersQueryMaker
46
47 # task at this depth or less would print when they start
48 task.max.depth.log=1
49
50 log.queries=false
51 # -------------------------------------------------------------------------------------
52
53 ResetSystemErase
54
55 CreateIndex
56 CloseIndex
57
58 { "Populate"
59     OpenIndex
60     { AddDoc(10) > : 200000
61     Optimize
62     CloseIndex
63
64
65 { "Deletions"
66    OpenReader(false)  DeleteDoc   CloseReader
67 } : 4000
68
69 RepSumByName
70