1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
---|
2 | <!--NewPage--> |
---|
3 | <HTML> |
---|
4 | <HEAD> |
---|
5 | <!-- Generated by javadoc (build 1.6.0_24) on Mon Jun 25 15:26:24 EDT 2012 --> |
---|
6 | <META http-equiv="Content-Type" content="text/html; charset=utf-8"> |
---|
7 | <TITLE> |
---|
8 | SimpleFacets (Solr 4.0.0-ALPHA API) |
---|
9 | </TITLE> |
---|
10 | |
---|
11 | <META NAME="date" CONTENT="2012-06-25"> |
---|
12 | |
---|
13 | <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> |
---|
14 | |
---|
15 | <SCRIPT type="text/javascript"> |
---|
16 | function windowTitle() |
---|
17 | { |
---|
18 | if (location.href.indexOf('is-external=true') == -1) { |
---|
19 | parent.document.title="SimpleFacets (Solr 4.0.0-ALPHA API)"; |
---|
20 | } |
---|
21 | } |
---|
22 | </SCRIPT> |
---|
23 | <NOSCRIPT> |
---|
24 | </NOSCRIPT> |
---|
25 | |
---|
26 | </HEAD> |
---|
27 | |
---|
28 | <BODY BGCOLOR="white" onload="windowTitle();"> |
---|
29 | <HR> |
---|
30 | |
---|
31 | |
---|
32 | <!-- ========= START OF TOP NAVBAR ======= --> |
---|
33 | <A NAME="navbar_top"><!-- --></A> |
---|
34 | <A HREF="#skip-navbar_top" title="Skip navigation links"></A> |
---|
35 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
---|
36 | <TR> |
---|
37 | <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
---|
38 | <A NAME="navbar_top_firstrow"><!-- --></A> |
---|
39 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
---|
40 | <TR ALIGN="center" VALIGN="top"> |
---|
41 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
---|
42 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
---|
43 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
---|
44 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/SimpleFacets.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
---|
45 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
---|
46 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
---|
47 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
---|
48 | </TR> |
---|
49 | </TABLE> |
---|
50 | </TD> |
---|
51 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
---|
52 | </EM> |
---|
53 | </TD> |
---|
54 | </TR> |
---|
55 | |
---|
56 | <TR> |
---|
57 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
58 | <A HREF="../../../../org/apache/solr/request/ServletSolrParams.html" title="class in org.apache.solr.request"><B>PREV CLASS</B></A> |
---|
59 | <A HREF="../../../../org/apache/solr/request/SimpleFacets.CountPair.html" title="class in org.apache.solr.request"><B>NEXT CLASS</B></A></FONT></TD> |
---|
60 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
61 | <A HREF="../../../../index.html?org/apache/solr/request/SimpleFacets.html" target="_top"><B>FRAMES</B></A> |
---|
62 | <A HREF="SimpleFacets.html" target="_top"><B>NO FRAMES</B></A> |
---|
63 | <SCRIPT type="text/javascript"> |
---|
64 | <!-- |
---|
65 | if(window==top) { |
---|
66 | document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
---|
67 | } |
---|
68 | //--> |
---|
69 | </SCRIPT> |
---|
70 | <NOSCRIPT> |
---|
71 | <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> |
---|
72 | </NOSCRIPT> |
---|
73 | |
---|
74 | |
---|
75 | </FONT></TD> |
---|
76 | </TR> |
---|
77 | <TR> |
---|
78 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
79 | SUMMARY: <A HREF="#nested_class_summary">NESTED</A> | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
---|
80 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
81 | DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
---|
82 | </TR> |
---|
83 | </TABLE> |
---|
84 | <A NAME="skip-navbar_top"></A> |
---|
85 | <!-- ========= END OF TOP NAVBAR ========= --> |
---|
86 | |
---|
87 | <HR> |
---|
88 | <!-- ======== START OF CLASS DATA ======== --> |
---|
89 | <H2> |
---|
90 | <FONT SIZE="-1"> |
---|
91 | org.apache.solr.request</FONT> |
---|
92 | <BR> |
---|
93 | Class SimpleFacets</H2> |
---|
94 | <PRE> |
---|
95 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A> |
---|
96 | <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.solr.request.SimpleFacets</B> |
---|
97 | </PRE> |
---|
98 | <HR> |
---|
99 | <DL> |
---|
100 | <DT><PRE>public class <B>SimpleFacets</B><DT>extends <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></DL> |
---|
101 | </PRE> |
---|
102 | |
---|
103 | <P> |
---|
104 | A class that generates simple Facet information for a request. |
---|
105 | |
---|
106 | More advanced facet implementations may compose or subclass this class |
---|
107 | to leverage any of it's functionality. |
---|
108 | <P> |
---|
109 | |
---|
110 | <P> |
---|
111 | <HR> |
---|
112 | |
---|
113 | <P> |
---|
114 | <!-- ======== NESTED CLASS SUMMARY ======== --> |
---|
115 | |
---|
116 | <A NAME="nested_class_summary"><!-- --></A> |
---|
117 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
118 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
119 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
120 | <B>Nested Class Summary</B></FONT></TH> |
---|
121 | </TR> |
---|
122 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
123 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
124 | <CODE>static class</CODE></FONT></TD> |
---|
125 | <TD><CODE><B><A HREF="../../../../org/apache/solr/request/SimpleFacets.CountPair.html" title="class in org.apache.solr.request">SimpleFacets.CountPair</A><<A HREF="../../../../org/apache/solr/request/SimpleFacets.CountPair.html" title="type parameter in SimpleFacets.CountPair">K</A> extends <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</A><? super <A HREF="../../../../org/apache/solr/request/SimpleFacets.CountPair.html" title="type parameter in SimpleFacets.CountPair">K</A>>,<A HREF="../../../../org/apache/solr/request/SimpleFacets.CountPair.html" title="type parameter in SimpleFacets.CountPair">V</A> extends <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</A><? super <A HREF="../../../../org/apache/solr/request/SimpleFacets.CountPair.html" title="type parameter in SimpleFacets.CountPair">V</A>>></B></CODE> |
---|
126 | |
---|
127 | <BR> |
---|
128 | A simple key=>val pair whose natural order is such that |
---|
129 | <b>higher</b> vals come before lower vals.</TD> |
---|
130 | </TR> |
---|
131 | </TABLE> |
---|
132 | <!-- =========== FIELD SUMMARY =========== --> |
---|
133 | |
---|
134 | <A NAME="field_summary"><!-- --></A> |
---|
135 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
136 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
137 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
138 | <B>Field Summary</B></FONT></TH> |
---|
139 | </TR> |
---|
140 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
141 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
142 | <CODE>protected <A HREF="../../../../org/apache/solr/search/DocSet.html" title="interface in org.apache.solr.search">DocSet</A></CODE></FONT></TD> |
---|
143 | <TD><CODE><B><A HREF="../../../../org/apache/solr/request/SimpleFacets.html#docs">docs</A></B></CODE> |
---|
144 | |
---|
145 | <BR> |
---|
146 | The main set of documents all facet counts should be relative to</TD> |
---|
147 | </TR> |
---|
148 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
149 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
150 | <CODE>protected <A HREF="../../../../org/apache/solr/common/util/SimpleOrderedMap.html" title="class in org.apache.solr.common.util">SimpleOrderedMap</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>></CODE></FONT></TD> |
---|
151 | <TD><CODE><B><A HREF="../../../../org/apache/solr/request/SimpleFacets.html#facetResponse">facetResponse</A></B></CODE> |
---|
152 | |
---|
153 | <BR> |
---|
154 | </TD> |
---|
155 | </TR> |
---|
156 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
157 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
158 | <CODE>protected <A HREF="../../../../org/apache/solr/common/params/SolrParams.html" title="class in org.apache.solr.common.params">SolrParams</A></CODE></FONT></TD> |
---|
159 | <TD><CODE><B><A HREF="../../../../org/apache/solr/request/SimpleFacets.html#params">params</A></B></CODE> |
---|
160 | |
---|
161 | <BR> |
---|
162 | Configuration params behavior should be driven by</TD> |
---|
163 | </TR> |
---|
164 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
165 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
166 | <CODE>protected <A HREF="../../../../org/apache/solr/handler/component/ResponseBuilder.html" title="class in org.apache.solr.handler.component">ResponseBuilder</A></CODE></FONT></TD> |
---|
167 | <TD><CODE><B><A HREF="../../../../org/apache/solr/request/SimpleFacets.html#rb">rb</A></B></CODE> |
---|
168 | |
---|
169 | <BR> |
---|
170 | </TD> |
---|
171 | </TR> |
---|
172 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
173 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
174 | <CODE>protected <A HREF="../../../../org/apache/solr/request/SolrQueryRequest.html" title="interface in org.apache.solr.request">SolrQueryRequest</A></CODE></FONT></TD> |
---|
175 | <TD><CODE><B><A HREF="../../../../org/apache/solr/request/SimpleFacets.html#req">req</A></B></CODE> |
---|
176 | |
---|
177 | <BR> |
---|
178 | </TD> |
---|
179 | </TR> |
---|
180 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
181 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
182 | <CODE>protected <A HREF="../../../../org/apache/solr/common/params/SolrParams.html" title="class in org.apache.solr.common.params">SolrParams</A></CODE></FONT></TD> |
---|
183 | <TD><CODE><B><A HREF="../../../../org/apache/solr/request/SimpleFacets.html#required">required</A></B></CODE> |
---|
184 | |
---|
185 | <BR> |
---|
186 | </TD> |
---|
187 | </TR> |
---|
188 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
189 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
190 | <CODE>protected <A HREF="../../../../org/apache/solr/search/SolrIndexSearcher.html" title="class in org.apache.solr.search">SolrIndexSearcher</A></CODE></FONT></TD> |
---|
191 | <TD><CODE><B><A HREF="../../../../org/apache/solr/request/SimpleFacets.html#searcher">searcher</A></B></CODE> |
---|
192 | |
---|
193 | <BR> |
---|
194 | Searcher to use for all calculations</TD> |
---|
195 | </TR> |
---|
196 | </TABLE> |
---|
197 | |
---|
198 | <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
---|
199 | |
---|
200 | <A NAME="constructor_summary"><!-- --></A> |
---|
201 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
202 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
203 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
204 | <B>Constructor Summary</B></FONT></TH> |
---|
205 | </TR> |
---|
206 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
207 | <TD><CODE><B><A HREF="../../../../org/apache/solr/request/SimpleFacets.html#SimpleFacets(org.apache.solr.request.SolrQueryRequest, org.apache.solr.search.DocSet, org.apache.solr.common.params.SolrParams)">SimpleFacets</A></B>(<A HREF="../../../../org/apache/solr/request/SolrQueryRequest.html" title="interface in org.apache.solr.request">SolrQueryRequest</A> req, |
---|
208 | <A HREF="../../../../org/apache/solr/search/DocSet.html" title="interface in org.apache.solr.search">DocSet</A> docs, |
---|
209 | <A HREF="../../../../org/apache/solr/common/params/SolrParams.html" title="class in org.apache.solr.common.params">SolrParams</A> params)</CODE> |
---|
210 | |
---|
211 | <BR> |
---|
212 | </TD> |
---|
213 | </TR> |
---|
214 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
215 | <TD><CODE><B><A HREF="../../../../org/apache/solr/request/SimpleFacets.html#SimpleFacets(org.apache.solr.request.SolrQueryRequest, org.apache.solr.search.DocSet, org.apache.solr.common.params.SolrParams, org.apache.solr.handler.component.ResponseBuilder)">SimpleFacets</A></B>(<A HREF="../../../../org/apache/solr/request/SolrQueryRequest.html" title="interface in org.apache.solr.request">SolrQueryRequest</A> req, |
---|
216 | <A HREF="../../../../org/apache/solr/search/DocSet.html" title="interface in org.apache.solr.search">DocSet</A> docs, |
---|
217 | <A HREF="../../../../org/apache/solr/common/params/SolrParams.html" title="class in org.apache.solr.common.params">SolrParams</A> params, |
---|
218 | <A HREF="../../../../org/apache/solr/handler/component/ResponseBuilder.html" title="class in org.apache.solr.handler.component">ResponseBuilder</A> rb)</CODE> |
---|
219 | |
---|
220 | <BR> |
---|
221 | </TD> |
---|
222 | </TR> |
---|
223 | </TABLE> |
---|
224 | |
---|
225 | <!-- ========== METHOD SUMMARY =========== --> |
---|
226 | |
---|
227 | <A NAME="method_summary"><!-- --></A> |
---|
228 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
229 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
230 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
231 | <B>Method Summary</B></FONT></TH> |
---|
232 | </TR> |
---|
233 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
234 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
235 | <CODE> <A HREF="../../../../org/apache/solr/common/util/NamedList.html" title="class in org.apache.solr.common.util">NamedList</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>></CODE></FONT></TD> |
---|
236 | <TD><CODE><B><A HREF="../../../../org/apache/solr/request/SimpleFacets.html#getFacetCounts()">getFacetCounts</A></B>()</CODE> |
---|
237 | |
---|
238 | <BR> |
---|
239 | Looks at various Params to determing if any simple Facet Constraint count |
---|
240 | computations are desired.</TD> |
---|
241 | </TR> |
---|
242 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
243 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
244 | <CODE> <A HREF="../../../../org/apache/solr/common/util/NamedList.html" title="class in org.apache.solr.common.util">NamedList</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>></CODE></FONT></TD> |
---|
245 | <TD><CODE><B><A HREF="../../../../org/apache/solr/request/SimpleFacets.html#getFacetDateCounts()">getFacetDateCounts</A></B>()</CODE> |
---|
246 | |
---|
247 | <BR> |
---|
248 | <B>Deprecated.</B> <I>Use getFacetRangeCounts which is more generalized</I></TD> |
---|
249 | </TR> |
---|
250 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
251 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
252 | <CODE> void</CODE></FONT></TD> |
---|
253 | <TD><CODE><B><A HREF="../../../../org/apache/solr/request/SimpleFacets.html#getFacetDateCounts(java.lang.String, org.apache.solr.common.util.NamedList)">getFacetDateCounts</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> dateFacet, |
---|
254 | <A HREF="../../../../org/apache/solr/common/util/NamedList.html" title="class in org.apache.solr.common.util">NamedList</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>> resOuter)</CODE> |
---|
255 | |
---|
256 | <BR> |
---|
257 | <B>Deprecated.</B> <I>Use getFacetRangeCounts which is more generalized</I></TD> |
---|
258 | </TR> |
---|
259 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
260 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
261 | <CODE> <A HREF="../../../../org/apache/solr/common/util/NamedList.html" title="class in org.apache.solr.common.util">NamedList</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>></CODE></FONT></TD> |
---|
262 | <TD><CODE><B><A HREF="../../../../org/apache/solr/request/SimpleFacets.html#getFacetFieldCounts()">getFacetFieldCounts</A></B>()</CODE> |
---|
263 | |
---|
264 | <BR> |
---|
265 | Returns a list of value constraints and the associated facet counts |
---|
266 | for each facet field specified in the params.</TD> |
---|
267 | </TR> |
---|
268 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
269 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
270 | <CODE> <A HREF="../../../../org/apache/solr/common/util/NamedList.html" title="class in org.apache.solr.common.util">NamedList</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</A>></CODE></FONT></TD> |
---|
271 | <TD><CODE><B><A HREF="../../../../org/apache/solr/request/SimpleFacets.html#getFacetQueryCounts()">getFacetQueryCounts</A></B>()</CODE> |
---|
272 | |
---|
273 | <BR> |
---|
274 | Returns a list of facet counts for each of the facet queries |
---|
275 | specified in the params</TD> |
---|
276 | </TR> |
---|
277 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
278 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
279 | <CODE> <A HREF="../../../../org/apache/solr/common/util/NamedList.html" title="class in org.apache.solr.common.util">NamedList</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>></CODE></FONT></TD> |
---|
280 | <TD><CODE><B><A HREF="../../../../org/apache/solr/request/SimpleFacets.html#getFacetRangeCounts()">getFacetRangeCounts</A></B>()</CODE> |
---|
281 | |
---|
282 | <BR> |
---|
283 | Returns a list of value constraints and the associated facet |
---|
284 | counts for each facet numerical field, range, and interval |
---|
285 | specified in the SolrParams</TD> |
---|
286 | </TR> |
---|
287 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
288 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
289 | <CODE> <A HREF="../../../../org/apache/solr/common/util/NamedList.html" title="class in org.apache.solr.common.util">NamedList</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</A>></CODE></FONT></TD> |
---|
290 | <TD><CODE><B><A HREF="../../../../org/apache/solr/request/SimpleFacets.html#getFacetTermEnumCounts(org.apache.solr.search.SolrIndexSearcher, org.apache.solr.search.DocSet, java.lang.String, int, int, int, boolean, java.lang.String, java.lang.String)">getFacetTermEnumCounts</A></B>(<A HREF="../../../../org/apache/solr/search/SolrIndexSearcher.html" title="class in org.apache.solr.search">SolrIndexSearcher</A> searcher, |
---|
291 | <A HREF="../../../../org/apache/solr/search/DocSet.html" title="interface in org.apache.solr.search">DocSet</A> docs, |
---|
292 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> field, |
---|
293 | int offset, |
---|
294 | int limit, |
---|
295 | int mincount, |
---|
296 | boolean missing, |
---|
297 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> sort, |
---|
298 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> prefix)</CODE> |
---|
299 | |
---|
300 | <BR> |
---|
301 | Returns a list of terms in the specified field along with the |
---|
302 | corresponding count of documents in the set that match that constraint.</TD> |
---|
303 | </TR> |
---|
304 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
305 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
306 | <CODE>static <A HREF="../../../../org/apache/solr/common/util/NamedList.html" title="class in org.apache.solr.common.util">NamedList</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</A>></CODE></FONT></TD> |
---|
307 | <TD><CODE><B><A HREF="../../../../org/apache/solr/request/SimpleFacets.html#getFieldCacheCounts(org.apache.solr.search.SolrIndexSearcher, org.apache.solr.search.DocSet, java.lang.String, int, int, int, boolean, java.lang.String, java.lang.String)">getFieldCacheCounts</A></B>(<A HREF="../../../../org/apache/solr/search/SolrIndexSearcher.html" title="class in org.apache.solr.search">SolrIndexSearcher</A> searcher, |
---|
308 | <A HREF="../../../../org/apache/solr/search/DocSet.html" title="interface in org.apache.solr.search">DocSet</A> docs, |
---|
309 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> fieldName, |
---|
310 | int offset, |
---|
311 | int limit, |
---|
312 | int mincount, |
---|
313 | boolean missing, |
---|
314 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> sort, |
---|
315 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> prefix)</CODE> |
---|
316 | |
---|
317 | <BR> |
---|
318 | Use the Lucene FieldCache to get counts for each unique field value in <code>docs</code>.</TD> |
---|
319 | </TR> |
---|
320 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
321 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
322 | <CODE>static int</CODE></FONT></TD> |
---|
323 | <TD><CODE><B><A HREF="../../../../org/apache/solr/request/SimpleFacets.html#getFieldMissingCount(org.apache.solr.search.SolrIndexSearcher, org.apache.solr.search.DocSet, java.lang.String)">getFieldMissingCount</A></B>(<A HREF="../../../../org/apache/solr/search/SolrIndexSearcher.html" title="class in org.apache.solr.search">SolrIndexSearcher</A> searcher, |
---|
324 | <A HREF="../../../../org/apache/solr/search/DocSet.html" title="interface in org.apache.solr.search">DocSet</A> docs, |
---|
325 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> fieldName)</CODE> |
---|
326 | |
---|
327 | <BR> |
---|
328 | Returns a count of the documents in the set which do not have any |
---|
329 | terms for for the specified field.</TD> |
---|
330 | </TR> |
---|
331 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
332 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
333 | <CODE> <A HREF="../../../../org/apache/solr/common/util/NamedList.html" title="class in org.apache.solr.common.util">NamedList</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</A>></CODE></FONT></TD> |
---|
334 | <TD><CODE><B><A HREF="../../../../org/apache/solr/request/SimpleFacets.html#getGroupedCounts(org.apache.solr.search.SolrIndexSearcher, org.apache.solr.search.DocSet, java.lang.String, boolean, int, int, int, boolean, java.lang.String, java.lang.String)">getGroupedCounts</A></B>(<A HREF="../../../../org/apache/solr/search/SolrIndexSearcher.html" title="class in org.apache.solr.search">SolrIndexSearcher</A> searcher, |
---|
335 | <A HREF="../../../../org/apache/solr/search/DocSet.html" title="interface in org.apache.solr.search">DocSet</A> base, |
---|
336 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> field, |
---|
337 | boolean multiToken, |
---|
338 | int offset, |
---|
339 | int limit, |
---|
340 | int mincount, |
---|
341 | boolean missing, |
---|
342 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> sort, |
---|
343 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> prefix)</CODE> |
---|
344 | |
---|
345 | <BR> |
---|
346 | </TD> |
---|
347 | </TR> |
---|
348 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
349 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
350 | <CODE> int</CODE></FONT></TD> |
---|
351 | <TD><CODE><B><A HREF="../../../../org/apache/solr/request/SimpleFacets.html#getGroupedFacetQueryCount(org.apache.lucene.search.Query)">getGroupedFacetQueryCount</A></B>(<A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/search/Query.html?is-external=true" title="class or interface in org.apache.lucene.search">Query</A> facetQuery)</CODE> |
---|
352 | |
---|
353 | <BR> |
---|
354 | Returns a grouped facet count for the facet query</TD> |
---|
355 | </TR> |
---|
356 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
357 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
358 | <CODE> <A HREF="../../../../org/apache/solr/common/util/NamedList.html" title="class in org.apache.solr.common.util">NamedList</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</A>></CODE></FONT></TD> |
---|
359 | <TD><CODE><B><A HREF="../../../../org/apache/solr/request/SimpleFacets.html#getTermCounts(java.lang.String)">getTermCounts</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> field)</CODE> |
---|
360 | |
---|
361 | <BR> |
---|
362 | </TD> |
---|
363 | </TR> |
---|
364 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
365 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
366 | <CODE>protected int</CODE></FONT></TD> |
---|
367 | <TD><CODE><B><A HREF="../../../../org/apache/solr/request/SimpleFacets.html#rangeCount(org.apache.solr.schema.SchemaField, java.util.Date, java.util.Date, boolean, boolean)">rangeCount</A></B>(<A HREF="../../../../org/apache/solr/schema/SchemaField.html" title="class in org.apache.solr.schema">SchemaField</A> sf, |
---|
368 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</A> low, |
---|
369 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</A> high, |
---|
370 | boolean iLow, |
---|
371 | boolean iHigh)</CODE> |
---|
372 | |
---|
373 | <BR> |
---|
374 | <B>Deprecated.</B> <I>Use rangeCount(SchemaField,String,String,boolean,boolean) which is more generalized</I></TD> |
---|
375 | </TR> |
---|
376 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
377 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
378 | <CODE>protected int</CODE></FONT></TD> |
---|
379 | <TD><CODE><B><A HREF="../../../../org/apache/solr/request/SimpleFacets.html#rangeCount(org.apache.solr.schema.SchemaField, java.lang.String, java.lang.String, boolean, boolean)">rangeCount</A></B>(<A HREF="../../../../org/apache/solr/schema/SchemaField.html" title="class in org.apache.solr.schema">SchemaField</A> sf, |
---|
380 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> low, |
---|
381 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> high, |
---|
382 | boolean iLow, |
---|
383 | boolean iHigh)</CODE> |
---|
384 | |
---|
385 | <BR> |
---|
386 | Macro for getting the numDocs of range over docs</TD> |
---|
387 | </TR> |
---|
388 | </TABLE> |
---|
389 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
---|
390 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
391 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
392 | <TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH> |
---|
393 | </TR> |
---|
394 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
395 | <TD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD> |
---|
396 | </TR> |
---|
397 | </TABLE> |
---|
398 | |
---|
399 | <P> |
---|
400 | |
---|
401 | <!-- ============ FIELD DETAIL =========== --> |
---|
402 | |
---|
403 | <A NAME="field_detail"><!-- --></A> |
---|
404 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
405 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
406 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
407 | <B>Field Detail</B></FONT></TH> |
---|
408 | </TR> |
---|
409 | </TABLE> |
---|
410 | |
---|
411 | <A NAME="docs"><!-- --></A><H3> |
---|
412 | docs</H3> |
---|
413 | <PRE> |
---|
414 | protected <A HREF="../../../../org/apache/solr/search/DocSet.html" title="interface in org.apache.solr.search">DocSet</A> <B>docs</B></PRE> |
---|
415 | <DL> |
---|
416 | <DD>The main set of documents all facet counts should be relative to |
---|
417 | <P> |
---|
418 | <DL> |
---|
419 | </DL> |
---|
420 | </DL> |
---|
421 | <HR> |
---|
422 | |
---|
423 | <A NAME="params"><!-- --></A><H3> |
---|
424 | params</H3> |
---|
425 | <PRE> |
---|
426 | protected <A HREF="../../../../org/apache/solr/common/params/SolrParams.html" title="class in org.apache.solr.common.params">SolrParams</A> <B>params</B></PRE> |
---|
427 | <DL> |
---|
428 | <DD>Configuration params behavior should be driven by |
---|
429 | <P> |
---|
430 | <DL> |
---|
431 | </DL> |
---|
432 | </DL> |
---|
433 | <HR> |
---|
434 | |
---|
435 | <A NAME="required"><!-- --></A><H3> |
---|
436 | required</H3> |
---|
437 | <PRE> |
---|
438 | protected <A HREF="../../../../org/apache/solr/common/params/SolrParams.html" title="class in org.apache.solr.common.params">SolrParams</A> <B>required</B></PRE> |
---|
439 | <DL> |
---|
440 | <DL> |
---|
441 | </DL> |
---|
442 | </DL> |
---|
443 | <HR> |
---|
444 | |
---|
445 | <A NAME="searcher"><!-- --></A><H3> |
---|
446 | searcher</H3> |
---|
447 | <PRE> |
---|
448 | protected <A HREF="../../../../org/apache/solr/search/SolrIndexSearcher.html" title="class in org.apache.solr.search">SolrIndexSearcher</A> <B>searcher</B></PRE> |
---|
449 | <DL> |
---|
450 | <DD>Searcher to use for all calculations |
---|
451 | <P> |
---|
452 | <DL> |
---|
453 | </DL> |
---|
454 | </DL> |
---|
455 | <HR> |
---|
456 | |
---|
457 | <A NAME="req"><!-- --></A><H3> |
---|
458 | req</H3> |
---|
459 | <PRE> |
---|
460 | protected <A HREF="../../../../org/apache/solr/request/SolrQueryRequest.html" title="interface in org.apache.solr.request">SolrQueryRequest</A> <B>req</B></PRE> |
---|
461 | <DL> |
---|
462 | <DL> |
---|
463 | </DL> |
---|
464 | </DL> |
---|
465 | <HR> |
---|
466 | |
---|
467 | <A NAME="rb"><!-- --></A><H3> |
---|
468 | rb</H3> |
---|
469 | <PRE> |
---|
470 | protected <A HREF="../../../../org/apache/solr/handler/component/ResponseBuilder.html" title="class in org.apache.solr.handler.component">ResponseBuilder</A> <B>rb</B></PRE> |
---|
471 | <DL> |
---|
472 | <DL> |
---|
473 | </DL> |
---|
474 | </DL> |
---|
475 | <HR> |
---|
476 | |
---|
477 | <A NAME="facetResponse"><!-- --></A><H3> |
---|
478 | facetResponse</H3> |
---|
479 | <PRE> |
---|
480 | protected <A HREF="../../../../org/apache/solr/common/util/SimpleOrderedMap.html" title="class in org.apache.solr.common.util">SimpleOrderedMap</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>> <B>facetResponse</B></PRE> |
---|
481 | <DL> |
---|
482 | <DL> |
---|
483 | </DL> |
---|
484 | </DL> |
---|
485 | |
---|
486 | <!-- ========= CONSTRUCTOR DETAIL ======== --> |
---|
487 | |
---|
488 | <A NAME="constructor_detail"><!-- --></A> |
---|
489 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
490 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
491 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
492 | <B>Constructor Detail</B></FONT></TH> |
---|
493 | </TR> |
---|
494 | </TABLE> |
---|
495 | |
---|
496 | <A NAME="SimpleFacets(org.apache.solr.request.SolrQueryRequest, org.apache.solr.search.DocSet, org.apache.solr.common.params.SolrParams)"><!-- --></A><H3> |
---|
497 | SimpleFacets</H3> |
---|
498 | <PRE> |
---|
499 | public <B>SimpleFacets</B>(<A HREF="../../../../org/apache/solr/request/SolrQueryRequest.html" title="interface in org.apache.solr.request">SolrQueryRequest</A> req, |
---|
500 | <A HREF="../../../../org/apache/solr/search/DocSet.html" title="interface in org.apache.solr.search">DocSet</A> docs, |
---|
501 | <A HREF="../../../../org/apache/solr/common/params/SolrParams.html" title="class in org.apache.solr.common.params">SolrParams</A> params)</PRE> |
---|
502 | <DL> |
---|
503 | </DL> |
---|
504 | <HR> |
---|
505 | |
---|
506 | <A NAME="SimpleFacets(org.apache.solr.request.SolrQueryRequest, org.apache.solr.search.DocSet, org.apache.solr.common.params.SolrParams, org.apache.solr.handler.component.ResponseBuilder)"><!-- --></A><H3> |
---|
507 | SimpleFacets</H3> |
---|
508 | <PRE> |
---|
509 | public <B>SimpleFacets</B>(<A HREF="../../../../org/apache/solr/request/SolrQueryRequest.html" title="interface in org.apache.solr.request">SolrQueryRequest</A> req, |
---|
510 | <A HREF="../../../../org/apache/solr/search/DocSet.html" title="interface in org.apache.solr.search">DocSet</A> docs, |
---|
511 | <A HREF="../../../../org/apache/solr/common/params/SolrParams.html" title="class in org.apache.solr.common.params">SolrParams</A> params, |
---|
512 | <A HREF="../../../../org/apache/solr/handler/component/ResponseBuilder.html" title="class in org.apache.solr.handler.component">ResponseBuilder</A> rb)</PRE> |
---|
513 | <DL> |
---|
514 | </DL> |
---|
515 | |
---|
516 | <!-- ============ METHOD DETAIL ========== --> |
---|
517 | |
---|
518 | <A NAME="method_detail"><!-- --></A> |
---|
519 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
520 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
521 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
522 | <B>Method Detail</B></FONT></TH> |
---|
523 | </TR> |
---|
524 | </TABLE> |
---|
525 | |
---|
526 | <A NAME="getFacetCounts()"><!-- --></A><H3> |
---|
527 | getFacetCounts</H3> |
---|
528 | <PRE> |
---|
529 | public <A HREF="../../../../org/apache/solr/common/util/NamedList.html" title="class in org.apache.solr.common.util">NamedList</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>> <B>getFacetCounts</B>()</PRE> |
---|
530 | <DL> |
---|
531 | <DD>Looks at various Params to determing if any simple Facet Constraint count |
---|
532 | computations are desired. |
---|
533 | <P> |
---|
534 | <DD><DL> |
---|
535 | |
---|
536 | <DT><B>Returns:</B><DD>a NamedList of Facet Count info or null<DT><B>See Also:</B><DD><A HREF="../../../../org/apache/solr/request/SimpleFacets.html#getFacetQueryCounts()"><CODE>getFacetQueryCounts()</CODE></A>, |
---|
537 | <A HREF="../../../../org/apache/solr/request/SimpleFacets.html#getFacetFieldCounts()"><CODE>getFacetFieldCounts()</CODE></A>, |
---|
538 | <A HREF="../../../../org/apache/solr/request/SimpleFacets.html#getFacetDateCounts()"><CODE>getFacetDateCounts()</CODE></A>, |
---|
539 | <A HREF="../../../../org/apache/solr/request/SimpleFacets.html#getFacetRangeCounts()"><CODE>getFacetRangeCounts()</CODE></A>, |
---|
540 | <A HREF="../../../../org/apache/solr/common/params/FacetParams.html#FACET"><CODE>FacetParams.FACET</CODE></A></DL> |
---|
541 | </DD> |
---|
542 | </DL> |
---|
543 | <HR> |
---|
544 | |
---|
545 | <A NAME="getFacetQueryCounts()"><!-- --></A><H3> |
---|
546 | getFacetQueryCounts</H3> |
---|
547 | <PRE> |
---|
548 | public <A HREF="../../../../org/apache/solr/common/util/NamedList.html" title="class in org.apache.solr.common.util">NamedList</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</A>> <B>getFacetQueryCounts</B>() |
---|
549 | throws <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A>, |
---|
550 | <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//queryparser/org/apache/lucene/queryparser/classic/ParseException.html?is-external=true" title="class or interface in org.apache.lucene.queryparser.classic">ParseException</A></PRE> |
---|
551 | <DL> |
---|
552 | <DD>Returns a list of facet counts for each of the facet queries |
---|
553 | specified in the params |
---|
554 | <P> |
---|
555 | <DD><DL> |
---|
556 | |
---|
557 | <DT><B>Throws:</B> |
---|
558 | <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE> |
---|
559 | <DD><CODE><A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//queryparser/org/apache/lucene/queryparser/classic/ParseException.html?is-external=true" title="class or interface in org.apache.lucene.queryparser.classic">ParseException</A></CODE><DT><B>See Also:</B><DD><A HREF="../../../../org/apache/solr/common/params/FacetParams.html#FACET_QUERY"><CODE>FacetParams.FACET_QUERY</CODE></A></DL> |
---|
560 | </DD> |
---|
561 | </DL> |
---|
562 | <HR> |
---|
563 | |
---|
564 | <A NAME="getGroupedFacetQueryCount(org.apache.lucene.search.Query)"><!-- --></A><H3> |
---|
565 | getGroupedFacetQueryCount</H3> |
---|
566 | <PRE> |
---|
567 | public int <B>getGroupedFacetQueryCount</B>(<A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/search/Query.html?is-external=true" title="class or interface in org.apache.lucene.search">Query</A> facetQuery) |
---|
568 | throws <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE> |
---|
569 | <DL> |
---|
570 | <DD>Returns a grouped facet count for the facet query |
---|
571 | <P> |
---|
572 | <DD><DL> |
---|
573 | |
---|
574 | <DT><B>Throws:</B> |
---|
575 | <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE><DT><B>See Also:</B><DD><A HREF="../../../../org/apache/solr/common/params/FacetParams.html#FACET_QUERY"><CODE>FacetParams.FACET_QUERY</CODE></A></DL> |
---|
576 | </DD> |
---|
577 | </DL> |
---|
578 | <HR> |
---|
579 | |
---|
580 | <A NAME="getTermCounts(java.lang.String)"><!-- --></A><H3> |
---|
581 | getTermCounts</H3> |
---|
582 | <PRE> |
---|
583 | public <A HREF="../../../../org/apache/solr/common/util/NamedList.html" title="class in org.apache.solr.common.util">NamedList</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</A>> <B>getTermCounts</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> field) |
---|
584 | throws <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE> |
---|
585 | <DL> |
---|
586 | <DD><DL> |
---|
587 | |
---|
588 | <DT><B>Throws:</B> |
---|
589 | <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL> |
---|
590 | </DD> |
---|
591 | </DL> |
---|
592 | <HR> |
---|
593 | |
---|
594 | <A NAME="getGroupedCounts(org.apache.solr.search.SolrIndexSearcher, org.apache.solr.search.DocSet, java.lang.String, boolean, int, int, int, boolean, java.lang.String, java.lang.String)"><!-- --></A><H3> |
---|
595 | getGroupedCounts</H3> |
---|
596 | <PRE> |
---|
597 | public <A HREF="../../../../org/apache/solr/common/util/NamedList.html" title="class in org.apache.solr.common.util">NamedList</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</A>> <B>getGroupedCounts</B>(<A HREF="../../../../org/apache/solr/search/SolrIndexSearcher.html" title="class in org.apache.solr.search">SolrIndexSearcher</A> searcher, |
---|
598 | <A HREF="../../../../org/apache/solr/search/DocSet.html" title="interface in org.apache.solr.search">DocSet</A> base, |
---|
599 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> field, |
---|
600 | boolean multiToken, |
---|
601 | int offset, |
---|
602 | int limit, |
---|
603 | int mincount, |
---|
604 | boolean missing, |
---|
605 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> sort, |
---|
606 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> prefix) |
---|
607 | throws <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE> |
---|
608 | <DL> |
---|
609 | <DD><DL> |
---|
610 | |
---|
611 | <DT><B>Throws:</B> |
---|
612 | <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL> |
---|
613 | </DD> |
---|
614 | </DL> |
---|
615 | <HR> |
---|
616 | |
---|
617 | <A NAME="getFacetFieldCounts()"><!-- --></A><H3> |
---|
618 | getFacetFieldCounts</H3> |
---|
619 | <PRE> |
---|
620 | public <A HREF="../../../../org/apache/solr/common/util/NamedList.html" title="class in org.apache.solr.common.util">NamedList</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>> <B>getFacetFieldCounts</B>() |
---|
621 | throws <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A>, |
---|
622 | <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//queryparser/org/apache/lucene/queryparser/classic/ParseException.html?is-external=true" title="class or interface in org.apache.lucene.queryparser.classic">ParseException</A></PRE> |
---|
623 | <DL> |
---|
624 | <DD>Returns a list of value constraints and the associated facet counts |
---|
625 | for each facet field specified in the params. |
---|
626 | <P> |
---|
627 | <DD><DL> |
---|
628 | |
---|
629 | <DT><B>Throws:</B> |
---|
630 | <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE> |
---|
631 | <DD><CODE><A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//queryparser/org/apache/lucene/queryparser/classic/ParseException.html?is-external=true" title="class or interface in org.apache.lucene.queryparser.classic">ParseException</A></CODE><DT><B>See Also:</B><DD><A HREF="../../../../org/apache/solr/common/params/FacetParams.html#FACET_FIELD"><CODE>FacetParams.FACET_FIELD</CODE></A>, |
---|
632 | <A HREF="../../../../org/apache/solr/request/SimpleFacets.html#getFieldMissingCount(org.apache.solr.search.SolrIndexSearcher, org.apache.solr.search.DocSet, java.lang.String)"><CODE>getFieldMissingCount(org.apache.solr.search.SolrIndexSearcher, org.apache.solr.search.DocSet, java.lang.String)</CODE></A>, |
---|
633 | <A HREF="../../../../org/apache/solr/request/SimpleFacets.html#getFacetTermEnumCounts(org.apache.solr.search.SolrIndexSearcher, org.apache.solr.search.DocSet, java.lang.String, int, int, int, boolean, java.lang.String, java.lang.String)"><CODE>getFacetTermEnumCounts(org.apache.solr.search.SolrIndexSearcher, org.apache.solr.search.DocSet, java.lang.String, int, int, int, boolean, java.lang.String, java.lang.String)</CODE></A></DL> |
---|
634 | </DD> |
---|
635 | </DL> |
---|
636 | <HR> |
---|
637 | |
---|
638 | <A NAME="getFieldMissingCount(org.apache.solr.search.SolrIndexSearcher, org.apache.solr.search.DocSet, java.lang.String)"><!-- --></A><H3> |
---|
639 | getFieldMissingCount</H3> |
---|
640 | <PRE> |
---|
641 | public static int <B>getFieldMissingCount</B>(<A HREF="../../../../org/apache/solr/search/SolrIndexSearcher.html" title="class in org.apache.solr.search">SolrIndexSearcher</A> searcher, |
---|
642 | <A HREF="../../../../org/apache/solr/search/DocSet.html" title="interface in org.apache.solr.search">DocSet</A> docs, |
---|
643 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> fieldName) |
---|
644 | throws <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE> |
---|
645 | <DL> |
---|
646 | <DD>Returns a count of the documents in the set which do not have any |
---|
647 | terms for for the specified field. |
---|
648 | <P> |
---|
649 | <DD><DL> |
---|
650 | |
---|
651 | <DT><B>Throws:</B> |
---|
652 | <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE><DT><B>See Also:</B><DD><A HREF="../../../../org/apache/solr/common/params/FacetParams.html#FACET_MISSING"><CODE>FacetParams.FACET_MISSING</CODE></A></DL> |
---|
653 | </DD> |
---|
654 | </DL> |
---|
655 | <HR> |
---|
656 | |
---|
657 | <A NAME="getFieldCacheCounts(org.apache.solr.search.SolrIndexSearcher, org.apache.solr.search.DocSet, java.lang.String, int, int, int, boolean, java.lang.String, java.lang.String)"><!-- --></A><H3> |
---|
658 | getFieldCacheCounts</H3> |
---|
659 | <PRE> |
---|
660 | public static <A HREF="../../../../org/apache/solr/common/util/NamedList.html" title="class in org.apache.solr.common.util">NamedList</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</A>> <B>getFieldCacheCounts</B>(<A HREF="../../../../org/apache/solr/search/SolrIndexSearcher.html" title="class in org.apache.solr.search">SolrIndexSearcher</A> searcher, |
---|
661 | <A HREF="../../../../org/apache/solr/search/DocSet.html" title="interface in org.apache.solr.search">DocSet</A> docs, |
---|
662 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> fieldName, |
---|
663 | int offset, |
---|
664 | int limit, |
---|
665 | int mincount, |
---|
666 | boolean missing, |
---|
667 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> sort, |
---|
668 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> prefix) |
---|
669 | throws <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE> |
---|
670 | <DL> |
---|
671 | <DD>Use the Lucene FieldCache to get counts for each unique field value in <code>docs</code>. |
---|
672 | The field must have at most one indexed token per document. |
---|
673 | <P> |
---|
674 | <DD><DL> |
---|
675 | |
---|
676 | <DT><B>Throws:</B> |
---|
677 | <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL> |
---|
678 | </DD> |
---|
679 | </DL> |
---|
680 | <HR> |
---|
681 | |
---|
682 | <A NAME="getFacetTermEnumCounts(org.apache.solr.search.SolrIndexSearcher, org.apache.solr.search.DocSet, java.lang.String, int, int, int, boolean, java.lang.String, java.lang.String)"><!-- --></A><H3> |
---|
683 | getFacetTermEnumCounts</H3> |
---|
684 | <PRE> |
---|
685 | public <A HREF="../../../../org/apache/solr/common/util/NamedList.html" title="class in org.apache.solr.common.util">NamedList</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</A>> <B>getFacetTermEnumCounts</B>(<A HREF="../../../../org/apache/solr/search/SolrIndexSearcher.html" title="class in org.apache.solr.search">SolrIndexSearcher</A> searcher, |
---|
686 | <A HREF="../../../../org/apache/solr/search/DocSet.html" title="interface in org.apache.solr.search">DocSet</A> docs, |
---|
687 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> field, |
---|
688 | int offset, |
---|
689 | int limit, |
---|
690 | int mincount, |
---|
691 | boolean missing, |
---|
692 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> sort, |
---|
693 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> prefix) |
---|
694 | throws <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE> |
---|
695 | <DL> |
---|
696 | <DD>Returns a list of terms in the specified field along with the |
---|
697 | corresponding count of documents in the set that match that constraint. |
---|
698 | This method uses the FilterCache to get the intersection count between <code>docs</code> |
---|
699 | and the DocSet for each term in the filter. |
---|
700 | <P> |
---|
701 | <DD><DL> |
---|
702 | |
---|
703 | <DT><B>Throws:</B> |
---|
704 | <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE><DT><B>See Also:</B><DD><A HREF="../../../../org/apache/solr/common/params/FacetParams.html#FACET_LIMIT"><CODE>FacetParams.FACET_LIMIT</CODE></A>, |
---|
705 | <A HREF="../../../../org/apache/solr/common/params/FacetParams.html#FACET_ZEROS"><CODE>FacetParams.FACET_ZEROS</CODE></A>, |
---|
706 | <A HREF="../../../../org/apache/solr/common/params/FacetParams.html#FACET_MISSING"><CODE>FacetParams.FACET_MISSING</CODE></A></DL> |
---|
707 | </DD> |
---|
708 | </DL> |
---|
709 | <HR> |
---|
710 | |
---|
711 | <A NAME="getFacetDateCounts()"><!-- --></A><H3> |
---|
712 | getFacetDateCounts</H3> |
---|
713 | <PRE> |
---|
714 | <FONT SIZE="-1"><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</A> |
---|
715 | </FONT>public <A HREF="../../../../org/apache/solr/common/util/NamedList.html" title="class in org.apache.solr.common.util">NamedList</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>> <B>getFacetDateCounts</B>() |
---|
716 | throws <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A>, |
---|
717 | <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//queryparser/org/apache/lucene/queryparser/classic/ParseException.html?is-external=true" title="class or interface in org.apache.lucene.queryparser.classic">ParseException</A></PRE> |
---|
718 | <DL> |
---|
719 | <DD><B>Deprecated.</B> <I>Use getFacetRangeCounts which is more generalized</I> |
---|
720 | <P> |
---|
721 | <DD>Returns a list of value constraints and the associated facet counts |
---|
722 | for each facet date field, range, and interval specified in the |
---|
723 | SolrParams |
---|
724 | <P> |
---|
725 | <DD><DL> |
---|
726 | |
---|
727 | <DT><B>Throws:</B> |
---|
728 | <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE> |
---|
729 | <DD><CODE><A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//queryparser/org/apache/lucene/queryparser/classic/ParseException.html?is-external=true" title="class or interface in org.apache.lucene.queryparser.classic">ParseException</A></CODE><DT><B>See Also:</B><DD><A HREF="../../../../org/apache/solr/common/params/FacetParams.html#FACET_DATE"><CODE>FacetParams.FACET_DATE</CODE></A></DL> |
---|
730 | </DD> |
---|
731 | </DL> |
---|
732 | <HR> |
---|
733 | |
---|
734 | <A NAME="getFacetDateCounts(java.lang.String, org.apache.solr.common.util.NamedList)"><!-- --></A><H3> |
---|
735 | getFacetDateCounts</H3> |
---|
736 | <PRE> |
---|
737 | <FONT SIZE="-1"><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</A> |
---|
738 | </FONT>public void <B>getFacetDateCounts</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> dateFacet, |
---|
739 | <A HREF="../../../../org/apache/solr/common/util/NamedList.html" title="class in org.apache.solr.common.util">NamedList</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>> resOuter) |
---|
740 | throws <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A>, |
---|
741 | <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//queryparser/org/apache/lucene/queryparser/classic/ParseException.html?is-external=true" title="class or interface in org.apache.lucene.queryparser.classic">ParseException</A></PRE> |
---|
742 | <DL> |
---|
743 | <DD><B>Deprecated.</B> <I>Use getFacetRangeCounts which is more generalized</I> |
---|
744 | <P> |
---|
745 | <DD><DL> |
---|
746 | |
---|
747 | <DT><B>Throws:</B> |
---|
748 | <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE> |
---|
749 | <DD><CODE><A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//queryparser/org/apache/lucene/queryparser/classic/ParseException.html?is-external=true" title="class or interface in org.apache.lucene.queryparser.classic">ParseException</A></CODE></DL> |
---|
750 | </DD> |
---|
751 | </DL> |
---|
752 | <HR> |
---|
753 | |
---|
754 | <A NAME="getFacetRangeCounts()"><!-- --></A><H3> |
---|
755 | getFacetRangeCounts</H3> |
---|
756 | <PRE> |
---|
757 | public <A HREF="../../../../org/apache/solr/common/util/NamedList.html" title="class in org.apache.solr.common.util">NamedList</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>> <B>getFacetRangeCounts</B>() |
---|
758 | throws <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A>, |
---|
759 | <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//queryparser/org/apache/lucene/queryparser/classic/ParseException.html?is-external=true" title="class or interface in org.apache.lucene.queryparser.classic">ParseException</A></PRE> |
---|
760 | <DL> |
---|
761 | <DD>Returns a list of value constraints and the associated facet |
---|
762 | counts for each facet numerical field, range, and interval |
---|
763 | specified in the SolrParams |
---|
764 | <P> |
---|
765 | <DD><DL> |
---|
766 | |
---|
767 | <DT><B>Throws:</B> |
---|
768 | <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE> |
---|
769 | <DD><CODE><A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//queryparser/org/apache/lucene/queryparser/classic/ParseException.html?is-external=true" title="class or interface in org.apache.lucene.queryparser.classic">ParseException</A></CODE><DT><B>See Also:</B><DD><A HREF="../../../../org/apache/solr/common/params/FacetParams.html#FACET_RANGE"><CODE>FacetParams.FACET_RANGE</CODE></A></DL> |
---|
770 | </DD> |
---|
771 | </DL> |
---|
772 | <HR> |
---|
773 | |
---|
774 | <A NAME="rangeCount(org.apache.solr.schema.SchemaField, java.lang.String, java.lang.String, boolean, boolean)"><!-- --></A><H3> |
---|
775 | rangeCount</H3> |
---|
776 | <PRE> |
---|
777 | protected int <B>rangeCount</B>(<A HREF="../../../../org/apache/solr/schema/SchemaField.html" title="class in org.apache.solr.schema">SchemaField</A> sf, |
---|
778 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> low, |
---|
779 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> high, |
---|
780 | boolean iLow, |
---|
781 | boolean iHigh) |
---|
782 | throws <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE> |
---|
783 | <DL> |
---|
784 | <DD>Macro for getting the numDocs of range over docs |
---|
785 | <P> |
---|
786 | <DD><DL> |
---|
787 | |
---|
788 | <DT><B>Throws:</B> |
---|
789 | <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE><DT><B>See Also:</B><DD><A HREF="../../../../org/apache/solr/search/SolrIndexSearcher.html#numDocs(org.apache.lucene.search.Query, org.apache.solr.search.DocSet)"><CODE>SolrIndexSearcher.numDocs(org.apache.lucene.search.Query, org.apache.solr.search.DocSet)</CODE></A>, |
---|
790 | <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/search/TermRangeQuery.html?is-external=true" title="class or interface in org.apache.lucene.search"><CODE>TermRangeQuery</CODE></A></DL> |
---|
791 | </DD> |
---|
792 | </DL> |
---|
793 | <HR> |
---|
794 | |
---|
795 | <A NAME="rangeCount(org.apache.solr.schema.SchemaField, java.util.Date, java.util.Date, boolean, boolean)"><!-- --></A><H3> |
---|
796 | rangeCount</H3> |
---|
797 | <PRE> |
---|
798 | <FONT SIZE="-1"><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</A> |
---|
799 | </FONT>protected int <B>rangeCount</B>(<A HREF="../../../../org/apache/solr/schema/SchemaField.html" title="class in org.apache.solr.schema">SchemaField</A> sf, |
---|
800 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</A> low, |
---|
801 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</A> high, |
---|
802 | boolean iLow, |
---|
803 | boolean iHigh) |
---|
804 | throws <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE> |
---|
805 | <DL> |
---|
806 | <DD><B>Deprecated.</B> <I>Use rangeCount(SchemaField,String,String,boolean,boolean) which is more generalized</I> |
---|
807 | <P> |
---|
808 | <DD><DL> |
---|
809 | |
---|
810 | <DT><B>Throws:</B> |
---|
811 | <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL> |
---|
812 | </DD> |
---|
813 | </DL> |
---|
814 | <!-- ========= END OF CLASS DATA ========= --> |
---|
815 | <HR> |
---|
816 | |
---|
817 | |
---|
818 | <!-- ======= START OF BOTTOM NAVBAR ====== --> |
---|
819 | <A NAME="navbar_bottom"><!-- --></A> |
---|
820 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
---|
821 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
---|
822 | <TR> |
---|
823 | <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
---|
824 | <A NAME="navbar_bottom_firstrow"><!-- --></A> |
---|
825 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
---|
826 | <TR ALIGN="center" VALIGN="top"> |
---|
827 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
---|
828 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
---|
829 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
---|
830 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/SimpleFacets.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
---|
831 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
---|
832 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
---|
833 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
---|
834 | </TR> |
---|
835 | </TABLE> |
---|
836 | </TD> |
---|
837 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
---|
838 | </EM> |
---|
839 | </TD> |
---|
840 | </TR> |
---|
841 | |
---|
842 | <TR> |
---|
843 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
844 | <A HREF="../../../../org/apache/solr/request/ServletSolrParams.html" title="class in org.apache.solr.request"><B>PREV CLASS</B></A> |
---|
845 | <A HREF="../../../../org/apache/solr/request/SimpleFacets.CountPair.html" title="class in org.apache.solr.request"><B>NEXT CLASS</B></A></FONT></TD> |
---|
846 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
847 | <A HREF="../../../../index.html?org/apache/solr/request/SimpleFacets.html" target="_top"><B>FRAMES</B></A> |
---|
848 | <A HREF="SimpleFacets.html" target="_top"><B>NO FRAMES</B></A> |
---|
849 | <SCRIPT type="text/javascript"> |
---|
850 | <!-- |
---|
851 | if(window==top) { |
---|
852 | document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
---|
853 | } |
---|
854 | //--> |
---|
855 | </SCRIPT> |
---|
856 | <NOSCRIPT> |
---|
857 | <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> |
---|
858 | </NOSCRIPT> |
---|
859 | |
---|
860 | |
---|
861 | </FONT></TD> |
---|
862 | </TR> |
---|
863 | <TR> |
---|
864 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
865 | SUMMARY: <A HREF="#nested_class_summary">NESTED</A> | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
---|
866 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
867 | DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
---|
868 | </TR> |
---|
869 | </TABLE> |
---|
870 | <A NAME="skip-navbar_bottom"></A> |
---|
871 | <!-- ======== END OF BOTTOM NAVBAR ======= --> |
---|
872 | |
---|
873 | <HR> |
---|
874 | |
---|
875 | <address>Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.</address> |
---|
876 | <script src='../../../../prettify.js' type='text/javascript'></script> |
---|
877 | <script type='text/javascript'> |
---|
878 | (function(){ |
---|
879 | var oldonload = window.onload; |
---|
880 | if (typeof oldonload != 'function') { |
---|
881 | window.onload = prettyPrint; |
---|
882 | } else { |
---|
883 | window.onload = function() { |
---|
884 | oldonload(); |
---|
885 | prettyPrint(); |
---|
886 | } |
---|
887 | } |
---|
888 | })(); |
---|
889 | </script> |
---|
890 | |
---|
891 | </BODY> |
---|
892 | </HTML> |
---|