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
9
# * http://www.apache.org/licenses/LICENSE-2.0
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.
17
# -------------------------------------------------------------------------------------
18
# multi val params are iterated by NewRound's, added to reports, start with column name.
20
# based on micro-standard
22
# modified to use wikipedia sources and index entire docs
23
# currently just used to measure ingest rate
25
analyzer=org.apache.lucene.analysis.standard.StandardAnalyzer
28
work.dir = /x/lucene/wiki.5M
33
doc.body.tokenized=true
35
log.step.AddDoc = 10000
36
log.step.Search = 10000
39
content.source=org.apache.lucene.benchmark.byTask.feeds.LineDocSource
40
content.source.forever = false
41
file.query.maker.file = queries.txt
43
query.maker=org.apache.lucene.benchmark.byTask.feeds.FileBasedQueryMaker
44
docs.file = /x/lucene/enwiki-20090306-lines-1k-fixed.txt
46
# task at this depth or less would print when they start
51
# -------------------------------------------------------------------------------------
56
# Get a new near-real-time reader, once per second:
57
NearRealtimeReader(1.0) &
62
# Index with 2 threads, each adding 100 docs per sec
63
[ "Indexing" { AddDoc > : * : 100/sec ] : 2 &
65
# Redline search (from queries.txt) with 4 threads
66
[ "Searching" { Search > : * ] : 4 &
68
# Wait 60 sec, then wrap up
73
# Don't keep any changes, so we can re-test on the same index again
77
RepSumByPref Searching
78
RepSumByPref NearRealtimeReader