1
package org.apache.lucene.facet.example;
5
import org.apache.lucene.facet.search.results.FacetResult;
8
* Licensed to the Apache Software Foundation (ASF) under one or more
9
* contributor license agreements. See the NOTICE file distributed with
10
* this work for additional information regarding copyright ownership.
11
* The ASF licenses this file to You under the Apache License, Version 2.0
12
* (the "License"); you may not use this file except in compliance with
13
* the License. You may obtain a copy of the License at
15
* http://www.apache.org/licenses/LICENSE-2.0
17
* Unless required by applicable law or agreed to in writing, software
18
* distributed under the License is distributed on an "AS IS" BASIS,
19
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20
* See the License for the specific language governing permissions and
21
* limitations under the License.
25
* Result of running an example program.
26
* This is a general object for allowing to write a test
27
* that runs an example and verifies its results.
29
* @lucene.experimental
31
public class ExampleResult {
33
private List<FacetResult> facetResults;
36
* @return the facet results
38
public List<FacetResult> getFacetResults() {
43
* @param facetResults the facet results to set
45
public void setFacetResults(List<FacetResult> facetResults) {
46
this.facetResults = facetResults;