Debian Codegraph @

lucene/benchmark/conf/facets.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
19 with.facets=facets:true:false
20
21 content.source.forever=false
22
23 compound=true
24 analyzer=org.apache.lucene.analysis.standard.StandardAnalyzer
25 directory=FSDirectory
26 taxonomy.directory=FSDirectory
27
28 doc.stored=true
29 doc.tokenized=true
30 doc.term.vector=false
31 log.step=1000
32
33 work.dir=data
34 docs.dir=reuters21578
35
36 content.source=org.apache.lucene.benchmark.byTask.feeds.ReutersContentSource
37
38 facet.source=org.apache.lucene.benchmark.byTask.feeds.RandomFacetSource
39 rand.seed=10
40 max.doc.facets=20
41 max.facet.depth=3
42
43 query.maker=org.apache.lucene.benchmark.byTask.feeds.ReutersQueryMaker
44
45 task.max.depth.log=2
46
47 #log.queries=true
48 # -------------------------------------------------------------------------------------
49
50 { "Rounds"
51 ResetSystemErase
52 { "Populate"
53 -CreateIndex
54 -CreateTaxonomyIndex
55 { "MAddDocs" AddFacetedDoc > : *
56 -ForceMerge(1)
57 -CloseIndex
58 -CloseTaxonomyIndex
59 }
60
61 OpenReader
62 { "SearchSameRdr" Search > : 40
63 CloseReader
64
65 #RepSumByNameRound
66 ResetSystemErase
67 NewRound
68 } : 4
69
70 RepSumByPrefRound Search
71 RepSumByPrefRound Populate
72 RepSumByPrefRound MAddDocs
73