source: sandbox/expresso-solr/solr/docs/api/org/apache/solr/request/UnInvertedField.html @ 7588

Revision 7588, 35.1 KB checked in by adir, 11 years ago (diff)

Ticket #000 - Adicionando a integracao de buscas com Solr na base a ser isnerida na comunidade

Line 
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>
8UnInvertedField (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">
16function windowTitle()
17{
18    if (location.href.indexOf('is-external=true') == -1) {
19        parent.document.title="UnInvertedField (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>&nbsp;</TD>
42  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
43  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
44  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/UnInvertedField.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
45  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
46  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
47  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</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&nbsp;<A HREF="../../../../org/apache/solr/request/SolrRequestInfo.html" title="class in org.apache.solr.request"><B>PREV CLASS</B></A>&nbsp;
59&nbsp;NEXT CLASS</FONT></TD>
60<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
61  <A HREF="../../../../index.html?org/apache/solr/request/UnInvertedField.html" target="_top"><B>FRAMES</B></A>  &nbsp;
62&nbsp;<A HREF="UnInvertedField.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
63&nbsp;<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:&nbsp;<A HREF="#nested_classes_inherited_from_class_org.apache.lucene.index.DocTermOrds">NESTED</A>&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_org.apache.lucene.index.DocTermOrds">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
80<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
81DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<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">
91org.apache.solr.request</FONT>
92<BR>
93Class UnInvertedField</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 "><A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/index/DocTermOrds.html?is-external=true" title="class or interface in org.apache.lucene.index">org.apache.lucene.index.DocTermOrds</A>
97      <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.solr.request.UnInvertedField</B>
98</PRE>
99<HR>
100<DL>
101<DT><PRE>public class <B>UnInvertedField</B><DT>extends <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/index/DocTermOrds.html?is-external=true" title="class or interface in org.apache.lucene.index">DocTermOrds</A></DL>
102</PRE>
103
104<P>
105Final form of the un-inverted field:
106   Each document points to a list of term numbers that are contained in that document.
107
108   Term numbers are in sorted order, and are encoded as variable-length deltas from the
109   previous term number.  Real term numbers start at 2 since 0 and 1 are reserved.  A
110   term number of 0 signals the end of the termNumber list.
111
112   There is a single int[maxDoc()] which either contains a pointer into a byte[] for
113   the termNumber lists, or directly contains the termNumber list if it fits in the 4
114   bytes of an integer.  If the first byte in the integer is 1, the next 3 bytes
115   are a pointer into a byte[] where the termNumber list starts.
116
117   There are actually 256 byte arrays, to compensate for the fact that the pointers
118   into the byte arrays are only 3 bytes long.  The correct byte array for a document
119   is a function of it's id.
120
121   To save space and speed up faceting, any term that matches enough documents will
122   not be un-inverted... it will be skipped while building the un-inverted field structure,
123   and will use a set intersection method during faceting.
124
125   To further save memory, the terms (the actual string values) are not all stored in
126   memory, but a TermIndex is used to convert term numbers to term values only
127   for the terms needed after faceting has completed.  Only every 128th term value
128   is stored, along with it's corresponding term number, and this is used as an
129   index to find the closest term and iterate until the desired number is hit (very
130   much like Lucene's own internal term index).
131<P>
132
133<P>
134<HR>
135
136<P>
137<!-- ======== NESTED CLASS SUMMARY ======== -->
138
139<A NAME="nested_class_summary"><!-- --></A>
140<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
141<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
142<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
143<B>Nested Class Summary</B></FONT></TH>
144</TR>
145</TABLE>
146&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.lucene.index.DocTermOrds"><!-- --></A>
147<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
148<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
149<TH ALIGN="left"><B>Nested classes/interfaces inherited from class org.apache.lucene.index.<A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/index/DocTermOrds.html?is-external=true" title="class or interface in org.apache.lucene.index">DocTermOrds</A></B></TH>
150</TR>
151<TR BGCOLOR="white" CLASS="TableRowColor">
152<TD><CODE><A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/index/DocTermOrds.TermOrdsIterator.html?is-external=true" title="class or interface in org.apache.lucene.index">DocTermOrds.TermOrdsIterator</A></CODE></TD>
153</TR>
154</TABLE>
155&nbsp;
156<!-- =========== FIELD SUMMARY =========== -->
157
158<A NAME="field_summary"><!-- --></A>
159<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
160<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
161<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
162<B>Field Summary</B></FONT></TH>
163</TR>
164</TABLE>
165&nbsp;<A NAME="fields_inherited_from_class_org.apache.lucene.index.DocTermOrds"><!-- --></A>
166<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
167<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
168<TH ALIGN="left"><B>Fields inherited from class org.apache.lucene.index.<A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/index/DocTermOrds.html?is-external=true" title="class or interface in org.apache.lucene.index">DocTermOrds</A></B></TH>
169</TR>
170<TR BGCOLOR="white" CLASS="TableRowColor">
171<TD><CODE><A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/index/DocTermOrds.html?is-external=true#DEFAULT_INDEX_INTERVAL_BITS" title="class or interface in org.apache.lucene.index">DEFAULT_INDEX_INTERVAL_BITS</A>, <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/index/DocTermOrds.html?is-external=true#docsEnum" title="class or interface in org.apache.lucene.index">docsEnum</A>, <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/index/DocTermOrds.html?is-external=true#field" title="class or interface in org.apache.lucene.index">field</A>, <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/index/DocTermOrds.html?is-external=true#index" title="class or interface in org.apache.lucene.index">index</A>, <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/index/DocTermOrds.html?is-external=true#indexedTermsArray" title="class or interface in org.apache.lucene.index">indexedTermsArray</A>, <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/index/DocTermOrds.html?is-external=true#maxTermDocFreq" title="class or interface in org.apache.lucene.index">maxTermDocFreq</A>, <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/index/DocTermOrds.html?is-external=true#numTermsInField" title="class or interface in org.apache.lucene.index">numTermsInField</A>, <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/index/DocTermOrds.html?is-external=true#ordBase" title="class or interface in org.apache.lucene.index">ordBase</A>, <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/index/DocTermOrds.html?is-external=true#phase1_time" title="class or interface in org.apache.lucene.index">phase1_time</A>, <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/index/DocTermOrds.html?is-external=true#prefix" title="class or interface in org.apache.lucene.index">prefix</A>, <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/index/DocTermOrds.html?is-external=true#sizeOfIndexedStrings" title="class or interface in org.apache.lucene.index">sizeOfIndexedStrings</A>, <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/index/DocTermOrds.html?is-external=true#termInstances" title="class or interface in org.apache.lucene.index">termInstances</A>, <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/index/DocTermOrds.html?is-external=true#tnums" title="class or interface in org.apache.lucene.index">tnums</A>, <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/index/DocTermOrds.html?is-external=true#total_time" title="class or interface in org.apache.lucene.index">total_time</A></CODE></TD>
172</TR>
173</TABLE>
174&nbsp;
175<!-- ======== CONSTRUCTOR SUMMARY ======== -->
176
177<A NAME="constructor_summary"><!-- --></A>
178<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
179<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
180<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
181<B>Constructor Summary</B></FONT></TH>
182</TR>
183<TR BGCOLOR="white" CLASS="TableRowColor">
184<TD><CODE><B><A HREF="../../../../org/apache/solr/request/UnInvertedField.html#UnInvertedField(java.lang.String, org.apache.solr.search.SolrIndexSearcher)">UnInvertedField</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>&nbsp;field,
185                <A HREF="../../../../org/apache/solr/search/SolrIndexSearcher.html" title="class in org.apache.solr.search">SolrIndexSearcher</A>&nbsp;searcher)</CODE>
186
187<BR>
188&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
189</TR>
190</TABLE>
191&nbsp;
192<!-- ========== METHOD SUMMARY =========== -->
193
194<A NAME="method_summary"><!-- --></A>
195<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
196<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
197<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
198<B>Method Summary</B></FONT></TH>
199</TR>
200<TR BGCOLOR="white" CLASS="TableRowColor">
201<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
202<CODE>&nbsp;<A HREF="../../../../org/apache/solr/common/util/NamedList.html" title="class in org.apache.solr.common.util">NamedList</A>&lt;<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>&gt;</CODE></FONT></TD>
203<TD><CODE><B><A HREF="../../../../org/apache/solr/request/UnInvertedField.html#getCounts(org.apache.solr.search.SolrIndexSearcher, org.apache.solr.search.DocSet, int, int, java.lang.Integer, boolean, java.lang.String, java.lang.String)">getCounts</A></B>(<A HREF="../../../../org/apache/solr/search/SolrIndexSearcher.html" title="class in org.apache.solr.search">SolrIndexSearcher</A>&nbsp;searcher,
204          <A HREF="../../../../org/apache/solr/search/DocSet.html" title="interface in org.apache.solr.search">DocSet</A>&nbsp;baseDocs,
205          int&nbsp;offset,
206          int&nbsp;limit,
207          <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>&nbsp;mincount,
208          boolean&nbsp;missing,
209          <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>&nbsp;sort,
210          <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>&nbsp;prefix)</CODE>
211
212<BR>
213&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
214</TR>
215<TR BGCOLOR="white" CLASS="TableRowColor">
216<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
217<CODE>&nbsp;int</CODE></FONT></TD>
218<TD><CODE><B><A HREF="../../../../org/apache/solr/request/UnInvertedField.html#getNumTerms()">getNumTerms</A></B>()</CODE>
219
220<BR>
221&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
222</TR>
223<TR BGCOLOR="white" CLASS="TableRowColor">
224<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
225<CODE>&nbsp;<A HREF="../../../../org/apache/solr/handler/component/StatsValues.html" title="interface in org.apache.solr.handler.component">StatsValues</A></CODE></FONT></TD>
226<TD><CODE><B><A HREF="../../../../org/apache/solr/request/UnInvertedField.html#getStats(org.apache.solr.search.SolrIndexSearcher, org.apache.solr.search.DocSet, java.lang.String[])">getStats</A></B>(<A HREF="../../../../org/apache/solr/search/SolrIndexSearcher.html" title="class in org.apache.solr.search">SolrIndexSearcher</A>&nbsp;searcher,
227         <A HREF="../../../../org/apache/solr/search/DocSet.html" title="interface in org.apache.solr.search">DocSet</A>&nbsp;baseDocs,
228         <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>[]&nbsp;facet)</CODE>
229
230<BR>
231&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Collect statistics about the UninvertedField.</TD>
232</TR>
233<TR BGCOLOR="white" CLASS="TableRowColor">
234<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
235<CODE>static&nbsp;<A HREF="../../../../org/apache/solr/request/UnInvertedField.html" title="class in org.apache.solr.request">UnInvertedField</A></CODE></FONT></TD>
236<TD><CODE><B><A HREF="../../../../org/apache/solr/request/UnInvertedField.html#getUnInvertedField(java.lang.String, org.apache.solr.search.SolrIndexSearcher)">getUnInvertedField</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>&nbsp;field,
237                   <A HREF="../../../../org/apache/solr/search/SolrIndexSearcher.html" title="class in org.apache.solr.search">SolrIndexSearcher</A>&nbsp;searcher)</CODE>
238
239<BR>
240&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
241</TR>
242<TR BGCOLOR="white" CLASS="TableRowColor">
243<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
244<CODE>&nbsp;long</CODE></FONT></TD>
245<TD><CODE><B><A HREF="../../../../org/apache/solr/request/UnInvertedField.html#memSize()">memSize</A></B>()</CODE>
246
247<BR>
248&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
249</TR>
250<TR BGCOLOR="white" CLASS="TableRowColor">
251<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
252<CODE>protected &nbsp;void</CODE></FONT></TD>
253<TD><CODE><B><A HREF="../../../../org/apache/solr/request/UnInvertedField.html#setActualDocFreq(int, int)">setActualDocFreq</A></B>(int&nbsp;termNum,
254                 int&nbsp;docFreq)</CODE>
255
256<BR>
257&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
258</TR>
259<TR BGCOLOR="white" CLASS="TableRowColor">
260<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
261<CODE>&nbsp;<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></CODE></FONT></TD>
262<TD><CODE><B><A HREF="../../../../org/apache/solr/request/UnInvertedField.html#toString()">toString</A></B>()</CODE>
263
264<BR>
265&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
266</TR>
267<TR BGCOLOR="white" CLASS="TableRowColor">
268<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
269<CODE>protected &nbsp;void</CODE></FONT></TD>
270<TD><CODE><B><A HREF="../../../../org/apache/solr/request/UnInvertedField.html#visitTerm(org.apache.lucene.index.TermsEnum, int)">visitTerm</A></B>(<A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/index/TermsEnum.html?is-external=true" title="class or interface in org.apache.lucene.index">TermsEnum</A>&nbsp;te,
271          int&nbsp;termNum)</CODE>
272
273<BR>
274&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
275</TR>
276</TABLE>
277&nbsp;<A NAME="methods_inherited_from_class_org.apache.lucene.index.DocTermOrds"><!-- --></A>
278<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
279<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
280<TH ALIGN="left"><B>Methods inherited from class org.apache.lucene.index.<A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/index/DocTermOrds.html?is-external=true" title="class or interface in org.apache.lucene.index">DocTermOrds</A></B></TH>
281</TR>
282<TR BGCOLOR="white" CLASS="TableRowColor">
283<TD><CODE><A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/index/DocTermOrds.html?is-external=true#getOrdTermsEnum(org.apache.lucene.index.AtomicReader)" title="class or interface in org.apache.lucene.index">getOrdTermsEnum</A>, <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/index/DocTermOrds.html?is-external=true#isEmpty()" title="class or interface in org.apache.lucene.index">isEmpty</A>, <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/index/DocTermOrds.html?is-external=true#lookup(int, org.apache.lucene.index.DocTermOrds.TermOrdsIterator)" title="class or interface in org.apache.lucene.index">lookup</A>, <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/index/DocTermOrds.html?is-external=true#lookupTerm(org.apache.lucene.index.TermsEnum, int)" title="class or interface in org.apache.lucene.index">lookupTerm</A>, <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/index/DocTermOrds.html?is-external=true#numTerms()" title="class or interface in org.apache.lucene.index">numTerms</A>, <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/index/DocTermOrds.html?is-external=true#ramUsedInBytes()" title="class or interface in org.apache.lucene.index">ramUsedInBytes</A>, <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/index/DocTermOrds.html?is-external=true#uninvert(org.apache.lucene.index.AtomicReader, org.apache.lucene.util.BytesRef)" title="class or interface in org.apache.lucene.index">uninvert</A></CODE></TD>
284</TR>
285</TABLE>
286&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
287<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
288<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
289<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>
290</TR>
291<TR BGCOLOR="white" CLASS="TableRowColor">
292<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#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>
293</TR>
294</TABLE>
295&nbsp;
296<P>
297
298<!-- ========= CONSTRUCTOR DETAIL ======== -->
299
300<A NAME="constructor_detail"><!-- --></A>
301<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
302<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
303<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
304<B>Constructor Detail</B></FONT></TH>
305</TR>
306</TABLE>
307
308<A NAME="UnInvertedField(java.lang.String, org.apache.solr.search.SolrIndexSearcher)"><!-- --></A><H3>
309UnInvertedField</H3>
310<PRE>
311public <B>UnInvertedField</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>&nbsp;field,
312                       <A HREF="../../../../org/apache/solr/search/SolrIndexSearcher.html" title="class in org.apache.solr.search">SolrIndexSearcher</A>&nbsp;searcher)
313                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>
314<DL>
315<DL>
316
317<DT><B>Throws:</B>
318<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>
319</DL>
320
321<!-- ============ METHOD DETAIL ========== -->
322
323<A NAME="method_detail"><!-- --></A>
324<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
325<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
326<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
327<B>Method Detail</B></FONT></TH>
328</TR>
329</TABLE>
330
331<A NAME="visitTerm(org.apache.lucene.index.TermsEnum, int)"><!-- --></A><H3>
332visitTerm</H3>
333<PRE>
334protected void <B>visitTerm</B>(<A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/index/TermsEnum.html?is-external=true" title="class or interface in org.apache.lucene.index">TermsEnum</A>&nbsp;te,
335                         int&nbsp;termNum)
336                  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>
337<DL>
338<DD><DL>
339<DT><B>Overrides:</B><DD><CODE><A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/index/DocTermOrds.html?is-external=true#visitTerm(org.apache.lucene.index.TermsEnum, int)" title="class or interface in org.apache.lucene.index">visitTerm</A></CODE> in class <CODE><A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/index/DocTermOrds.html?is-external=true" title="class or interface in org.apache.lucene.index">DocTermOrds</A></CODE></DL>
340</DD>
341<DD><DL>
342
343<DT><B>Throws:</B>
344<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>
345</DD>
346</DL>
347<HR>
348
349<A NAME="setActualDocFreq(int, int)"><!-- --></A><H3>
350setActualDocFreq</H3>
351<PRE>
352protected void <B>setActualDocFreq</B>(int&nbsp;termNum,
353                                int&nbsp;docFreq)</PRE>
354<DL>
355<DD><DL>
356<DT><B>Overrides:</B><DD><CODE><A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/index/DocTermOrds.html?is-external=true#setActualDocFreq(int, int)" title="class or interface in org.apache.lucene.index">setActualDocFreq</A></CODE> in class <CODE><A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/index/DocTermOrds.html?is-external=true" title="class or interface in org.apache.lucene.index">DocTermOrds</A></CODE></DL>
357</DD>
358<DD><DL>
359</DL>
360</DD>
361</DL>
362<HR>
363
364<A NAME="memSize()"><!-- --></A><H3>
365memSize</H3>
366<PRE>
367public long <B>memSize</B>()</PRE>
368<DL>
369<DD><DL>
370</DL>
371</DD>
372</DL>
373<HR>
374
375<A NAME="getNumTerms()"><!-- --></A><H3>
376getNumTerms</H3>
377<PRE>
378public int <B>getNumTerms</B>()</PRE>
379<DL>
380<DD><DL>
381</DL>
382</DD>
383</DL>
384<HR>
385
386<A NAME="getCounts(org.apache.solr.search.SolrIndexSearcher, org.apache.solr.search.DocSet, int, int, java.lang.Integer, boolean, java.lang.String, java.lang.String)"><!-- --></A><H3>
387getCounts</H3>
388<PRE>
389public <A HREF="../../../../org/apache/solr/common/util/NamedList.html" title="class in org.apache.solr.common.util">NamedList</A>&lt;<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>&gt; <B>getCounts</B>(<A HREF="../../../../org/apache/solr/search/SolrIndexSearcher.html" title="class in org.apache.solr.search">SolrIndexSearcher</A>&nbsp;searcher,
390                                    <A HREF="../../../../org/apache/solr/search/DocSet.html" title="interface in org.apache.solr.search">DocSet</A>&nbsp;baseDocs,
391                                    int&nbsp;offset,
392                                    int&nbsp;limit,
393                                    <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>&nbsp;mincount,
394                                    boolean&nbsp;missing,
395                                    <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>&nbsp;sort,
396                                    <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>&nbsp;prefix)
397                             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>
398<DL>
399<DD><DL>
400
401<DT><B>Throws:</B>
402<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>
403</DD>
404</DL>
405<HR>
406
407<A NAME="getStats(org.apache.solr.search.SolrIndexSearcher, org.apache.solr.search.DocSet, java.lang.String[])"><!-- --></A><H3>
408getStats</H3>
409<PRE>
410public <A HREF="../../../../org/apache/solr/handler/component/StatsValues.html" title="interface in org.apache.solr.handler.component">StatsValues</A> <B>getStats</B>(<A HREF="../../../../org/apache/solr/search/SolrIndexSearcher.html" title="class in org.apache.solr.search">SolrIndexSearcher</A>&nbsp;searcher,
411                            <A HREF="../../../../org/apache/solr/search/DocSet.html" title="interface in org.apache.solr.search">DocSet</A>&nbsp;baseDocs,
412                            <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>[]&nbsp;facet)
413                     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>
414<DL>
415<DD>Collect statistics about the UninvertedField.  Code is very similar to <A HREF="../../../../org/apache/solr/request/UnInvertedField.html#getCounts(org.apache.solr.search.SolrIndexSearcher, org.apache.solr.search.DocSet, int, int, java.lang.Integer, boolean, java.lang.String, java.lang.String)"><CODE>getCounts(org.apache.solr.search.SolrIndexSearcher, org.apache.solr.search.DocSet, int, int, Integer, boolean, String, String)</CODE></A>
416 It can be used to calculate stats on multivalued fields.
417 <p/>
418 This method is mainly used by the <A HREF="../../../../org/apache/solr/handler/component/StatsComponent.html" title="class in org.apache.solr.handler.component"><CODE>StatsComponent</CODE></A>.
419<P>
420<DD><DL>
421<DT><B>Parameters:</B><DD><CODE>searcher</CODE> - The Searcher to use to gather the statistics<DD><CODE>baseDocs</CODE> - The <A HREF="../../../../org/apache/solr/search/DocSet.html" title="interface in org.apache.solr.search"><CODE>DocSet</CODE></A> to gather the stats on<DD><CODE>facet</CODE> - One or more fields to facet on.
422<DT><B>Returns:</B><DD>The <A HREF="../../../../org/apache/solr/handler/component/StatsValues.html" title="interface in org.apache.solr.handler.component"><CODE>StatsValues</CODE></A> collected
423<DT><B>Throws:</B>
424<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>
425</DD>
426</DL>
427<HR>
428
429<A NAME="toString()"><!-- --></A><H3>
430toString</H3>
431<PRE>
432public <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> <B>toString</B>()</PRE>
433<DL>
434<DD><DL>
435<DT><B>Overrides:</B><DD><CODE><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></CODE> in class <CODE><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></DL>
436</DD>
437<DD><DL>
438</DL>
439</DD>
440</DL>
441<HR>
442
443<A NAME="getUnInvertedField(java.lang.String, org.apache.solr.search.SolrIndexSearcher)"><!-- --></A><H3>
444getUnInvertedField</H3>
445<PRE>
446public static <A HREF="../../../../org/apache/solr/request/UnInvertedField.html" title="class in org.apache.solr.request">UnInvertedField</A> <B>getUnInvertedField</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>&nbsp;field,
447                                                 <A HREF="../../../../org/apache/solr/search/SolrIndexSearcher.html" title="class in org.apache.solr.search">SolrIndexSearcher</A>&nbsp;searcher)
448                                          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>
449<DL>
450<DD><DL>
451
452<DT><B>Throws:</B>
453<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>
454</DD>
455</DL>
456<!-- ========= END OF CLASS DATA ========= -->
457<HR>
458
459
460<!-- ======= START OF BOTTOM NAVBAR ====== -->
461<A NAME="navbar_bottom"><!-- --></A>
462<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
463<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
464<TR>
465<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
466<A NAME="navbar_bottom_firstrow"><!-- --></A>
467<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
468  <TR ALIGN="center" VALIGN="top">
469  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
470  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
471  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
472  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/UnInvertedField.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
473  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
474  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
475  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
476  </TR>
477</TABLE>
478</TD>
479<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
480</EM>
481</TD>
482</TR>
483
484<TR>
485<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
486&nbsp;<A HREF="../../../../org/apache/solr/request/SolrRequestInfo.html" title="class in org.apache.solr.request"><B>PREV CLASS</B></A>&nbsp;
487&nbsp;NEXT CLASS</FONT></TD>
488<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
489  <A HREF="../../../../index.html?org/apache/solr/request/UnInvertedField.html" target="_top"><B>FRAMES</B></A>  &nbsp;
490&nbsp;<A HREF="UnInvertedField.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
491&nbsp;<SCRIPT type="text/javascript">
492  <!--
493  if(window==top) {
494    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
495  }
496  //-->
497</SCRIPT>
498<NOSCRIPT>
499  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
500</NOSCRIPT>
501
502
503</FONT></TD>
504</TR>
505<TR>
506<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
507  SUMMARY:&nbsp;<A HREF="#nested_classes_inherited_from_class_org.apache.lucene.index.DocTermOrds">NESTED</A>&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_org.apache.lucene.index.DocTermOrds">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
508<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
509DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
510</TR>
511</TABLE>
512<A NAME="skip-navbar_bottom"></A>
513<!-- ======== END OF BOTTOM NAVBAR ======= -->
514
515<HR>
516
517          <address>Copyright &copy; 2000-2012 Apache Software Foundation.  All Rights Reserved.</address>
518          <script src='../../../../prettify.js' type='text/javascript'></script>
519          <script type='text/javascript'>
520            (function(){
521              var oldonload = window.onload;
522              if (typeof oldonload != 'function') {
523                window.onload = prettyPrint;
524              } else {
525                window.onload = function() {
526                  oldonload();
527                  prettyPrint();
528                }
529              }
530            })();
531          </script>
532       
533</BODY>
534</HTML>
Note: See TracBrowser for help on using the repository browser.