pylucene 3.5.0-3
[pylucene.git] / lucene-java-3.5.0 / lucene / contrib / benchmark / conf / facets.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
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 docs.dir=reuters-out
34
35 content.source=org.apache.lucene.benchmark.byTask.feeds.ReutersContentSource
36
37 facet.source=org.apache.lucene.benchmark.byTask.feeds.RandomFacetSource
38 rand.seed=10
39 max.doc.facets=20
40 max.facet.depth=3
41
42 query.maker=org.apache.lucene.benchmark.byTask.feeds.ReutersQueryMaker
43
44 task.max.depth.log=2
45
46 #log.queries=true
47 # -------------------------------------------------------------------------------------
48
49 { "Rounds"
50   ResetSystemErase
51   { "Populate"
52       -CreateIndex
53       -CreateTaxonomyIndex
54       { "MAddDocs" AddFacetedDoc > : *
55       -ForcMerge(1)
56       -CloseIndex
57       -CloseTaxonomyIndex
58   }
59
60   OpenReader  
61   { "SearchSameRdr" Search > : 40
62   CloseReader 
63
64   #RepSumByNameRound
65   ResetSystemErase
66   NewRound
67 } : 4
68
69 RepSumByPrefRound Search
70 RepSumByPrefRound Populate
71 RepSumByPrefRound MAddDocs
72