pylucene 3.5.0-3
[pylucene.git] / lucene-java-3.5.0 / lucene / contrib / facet / src / java / org / apache / lucene / facet / index / categorypolicy / package.html
1 <html>
2 <head>
3 <title>Policies for indexing categories</title>
4 </head>
5 <body>
6 <h1>Policies for indexing categories</h1>
7
8 There are two kinds of policies: 
9 <ul>
10   <li>Path policies are based on the path of the category.</li>
11   <li>Ordinal policies are based on the ordinal of the category.</li>
12 </ul>
13
14 Policies are "consulted" with during indexing, for deciding whether a category should
15 be added to the index or not. The two kinds of policies can be used for different purposes.
16 For example, path policies dictates which categories can participate in a drill-down operation, 
17 while ordinal policies affect which can be accumulated (e.g. counted).    
18
19
20 </body>
21 </html>