2 * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
4 * This library is free software; you can redistribute it and/or modify it under
5 * the terms of the GNU Lesser General Public License as published by the Free
6 * Software Foundation; either version 2.1 of the License, or (at your option)
9 * This library is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
15 package com.liferay.portal.search.solr.facet;
17 import com.liferay.portal.kernel.search.facet.collector.TermCollector;
20 * @author Raymond Augé
22 public class SolrTermCollector implements TermCollector {
24 public SolrTermCollector(String term, int frequency) {
26 _frequency = frequency;
29 public int getFrequency() {
33 public String getTerm() {
37 private int _frequency;