source: sandbox/expresso-solr/solr/docs/api/org/apache/solr/search/SortedIntDocSet.html @ 7588

Revision 7588, 46.9 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:25 EDT 2012 -->
6<META http-equiv="Content-Type" content="text/html; charset=utf-8">
7<TITLE>
8SortedIntDocSet (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="SortedIntDocSet (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/SortedIntDocSet.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/search/SolrSortField.html" title="interface in org.apache.solr.search"><B>PREV CLASS</B></A>&nbsp;
59&nbsp;<A HREF="../../../../org/apache/solr/search/Sorting.html" title="class in org.apache.solr.search"><B>NEXT CLASS</B></A></FONT></TD>
60<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
61  <A HREF="../../../../index.html?org/apache/solr/search/SortedIntDocSet.html" target="_top"><B>FRAMES</B></A>  &nbsp;
62&nbsp;<A HREF="SortedIntDocSet.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;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">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;<A HREF="#field_detail">FIELD</A>&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.search</FONT>
92<BR>
93Class SortedIntDocSet</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.search.SortedIntDocSet</B>
97</PRE>
98<DL>
99<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../org/apache/solr/search/DocSet.html" title="interface in org.apache.solr.search">DocSet</A></DD>
100</DL>
101<HR>
102<DL>
103<DT><PRE>public class <B>SortedIntDocSet</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>
104</PRE>
105
106<P>
107<code>SortedIntDocSet</code> represents a sorted set of Lucene Document Ids.
108<P>
109
110<P>
111<HR>
112
113<P>
114<!-- =========== FIELD SUMMARY =========== -->
115
116<A NAME="field_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>Field 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>protected &nbsp;int[]</CODE></FONT></TD>
125<TD><CODE><B><A HREF="../../../../org/apache/solr/search/SortedIntDocSet.html#docs">docs</A></B></CODE>
126
127<BR>
128&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
129</TR>
130<TR BGCOLOR="white" CLASS="TableRowColor">
131<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
132<CODE>static&nbsp;<A HREF="../../../../org/apache/solr/search/SortedIntDocSet.html" title="class in org.apache.solr.search">SortedIntDocSet</A></CODE></FONT></TD>
133<TD><CODE><B><A HREF="../../../../org/apache/solr/search/SortedIntDocSet.html#zero">zero</A></B></CODE>
134
135<BR>
136&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
137</TR>
138<TR BGCOLOR="white" CLASS="TableRowColor">
139<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
140<CODE>static&nbsp;int[]</CODE></FONT></TD>
141<TD><CODE><B><A HREF="../../../../org/apache/solr/search/SortedIntDocSet.html#zeroInts">zeroInts</A></B></CODE>
142
143<BR>
144&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
145</TR>
146</TABLE>
147&nbsp;<A NAME="fields_inherited_from_class_org.apache.solr.search.DocSet"><!-- --></A>
148<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
149<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
150<TH ALIGN="left"><B>Fields inherited from interface org.apache.solr.search.<A HREF="../../../../org/apache/solr/search/DocSet.html" title="interface in org.apache.solr.search">DocSet</A></B></TH>
151</TR>
152<TR BGCOLOR="white" CLASS="TableRowColor">
153<TD><CODE><A HREF="../../../../org/apache/solr/search/DocSet.html#EMPTY">EMPTY</A></CODE></TD>
154</TR>
155</TABLE>
156&nbsp;
157<!-- ======== CONSTRUCTOR SUMMARY ======== -->
158
159<A NAME="constructor_summary"><!-- --></A>
160<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
161<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
162<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
163<B>Constructor Summary</B></FONT></TH>
164</TR>
165<TR BGCOLOR="white" CLASS="TableRowColor">
166<TD><CODE><B><A HREF="../../../../org/apache/solr/search/SortedIntDocSet.html#SortedIntDocSet(int[])">SortedIntDocSet</A></B>(int[]&nbsp;docs)</CODE>
167
168<BR>
169&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
170</TR>
171<TR BGCOLOR="white" CLASS="TableRowColor">
172<TD><CODE><B><A HREF="../../../../org/apache/solr/search/SortedIntDocSet.html#SortedIntDocSet(int[], int)">SortedIntDocSet</A></B>(int[]&nbsp;docs,
173                int&nbsp;len)</CODE>
174
175<BR>
176&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
177</TR>
178</TABLE>
179&nbsp;
180<!-- ========== METHOD SUMMARY =========== -->
181
182<A NAME="method_summary"><!-- --></A>
183<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
184<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
185<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
186<B>Method Summary</B></FONT></TH>
187</TR>
188<TR BGCOLOR="white" CLASS="TableRowColor">
189<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
190<CODE>&nbsp;void</CODE></FONT></TD>
191<TD><CODE><B><A HREF="../../../../org/apache/solr/search/SortedIntDocSet.html#add(int)">add</A></B>(int&nbsp;doc)</CODE>
192
193<BR>
194&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds the specified document if it is not currently in the DocSet
195 (optional operation).</TD>
196</TR>
197<TR BGCOLOR="white" CLASS="TableRowColor">
198<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
199<CODE>&nbsp;void</CODE></FONT></TD>
200<TD><CODE><B><A HREF="../../../../org/apache/solr/search/SortedIntDocSet.html#addUnique(int)">addUnique</A></B>(int&nbsp;doc)</CODE>
201
202<BR>
203&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds a document the caller knows is not currently in the DocSet
204 (optional operation).</TD>
205</TR>
206<TR BGCOLOR="white" CLASS="TableRowColor">
207<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
208<CODE>&nbsp;<A HREF="../../../../org/apache/solr/search/DocSet.html" title="interface in org.apache.solr.search">DocSet</A></CODE></FONT></TD>
209<TD><CODE><B><A HREF="../../../../org/apache/solr/search/SortedIntDocSet.html#andNot(org.apache.solr.search.DocSet)">andNot</A></B>(<A HREF="../../../../org/apache/solr/search/DocSet.html" title="interface in org.apache.solr.search">DocSet</A>&nbsp;other)</CODE>
210
211<BR>
212&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the documents in this set that are not in the other set.</TD>
213</TR>
214<TR BGCOLOR="white" CLASS="TableRowColor">
215<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
216<CODE>static&nbsp;int</CODE></FONT></TD>
217<TD><CODE><B><A HREF="../../../../org/apache/solr/search/SortedIntDocSet.html#andNot(int[], int, int[], int, int[])">andNot</A></B>(int[]&nbsp;a,
218       int&nbsp;lena,
219       int[]&nbsp;b,
220       int&nbsp;lenb,
221       int[]&nbsp;target)</CODE>
222
223<BR>
224&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;puts the intersection of a and not b into the target array and returns the size</TD>
225</TR>
226<TR BGCOLOR="white" CLASS="TableRowColor">
227<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
228<CODE>protected static&nbsp;int</CODE></FONT></TD>
229<TD><CODE><B><A HREF="../../../../org/apache/solr/search/SortedIntDocSet.html#andNotBinarySearch(int[], int, int[], int, int[])">andNotBinarySearch</A></B>(int[]&nbsp;a,
230                   int&nbsp;lena,
231                   int[]&nbsp;b,
232                   int&nbsp;lenb,
233                   int[]&nbsp;target)</CODE>
234
235<BR>
236&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
237</TR>
238<TR BGCOLOR="white" CLASS="TableRowColor">
239<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
240<CODE>&nbsp;int</CODE></FONT></TD>
241<TD><CODE><B><A HREF="../../../../org/apache/solr/search/SortedIntDocSet.html#andNotSize(org.apache.solr.search.DocSet)">andNotSize</A></B>(<A HREF="../../../../org/apache/solr/search/DocSet.html" title="interface in org.apache.solr.search">DocSet</A>&nbsp;other)</CODE>
242
243<BR>
244&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the number of documents in this set that are not in the other set.</TD>
245</TR>
246<TR BGCOLOR="white" CLASS="TableRowColor">
247<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
248<CODE>protected &nbsp;<A HREF="../../../../org/apache/solr/search/SortedIntDocSet.html" title="class in org.apache.solr.search">SortedIntDocSet</A></CODE></FONT></TD>
249<TD><CODE><B><A HREF="../../../../org/apache/solr/search/SortedIntDocSet.html#clone()">clone</A></B>()</CODE>
250
251<BR>
252&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
253</TR>
254<TR BGCOLOR="white" CLASS="TableRowColor">
255<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
256<CODE>&nbsp;boolean</CODE></FONT></TD>
257<TD><CODE><B><A HREF="../../../../org/apache/solr/search/SortedIntDocSet.html#equals(java.lang.Object)">equals</A></B>(<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>&nbsp;obj)</CODE>
258
259<BR>
260&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
261</TR>
262<TR BGCOLOR="white" CLASS="TableRowColor">
263<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
264<CODE>&nbsp;boolean</CODE></FONT></TD>
265<TD><CODE><B><A HREF="../../../../org/apache/solr/search/SortedIntDocSet.html#exists(int)">exists</A></B>(int&nbsp;doc)</CODE>
266
267<BR>
268&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if a document is in the DocSet.</TD>
269</TR>
270<TR BGCOLOR="white" CLASS="TableRowColor">
271<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
272<CODE>static&nbsp;int</CODE></FONT></TD>
273<TD><CODE><B><A HREF="../../../../org/apache/solr/search/SortedIntDocSet.html#findIndex(int[], int, int, int)">findIndex</A></B>(int[]&nbsp;arr,
274          int&nbsp;value,
275          int&nbsp;low,
276          int&nbsp;high)</CODE>
277
278<BR>
279&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
280</TR>
281<TR BGCOLOR="white" CLASS="TableRowColor">
282<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
283<CODE>static&nbsp;int</CODE></FONT></TD>
284<TD><CODE><B><A HREF="../../../../org/apache/solr/search/SortedIntDocSet.html#firstNonSorted(int[], int, int)">firstNonSorted</A></B>(int[]&nbsp;arr,
285               int&nbsp;offset,
286               int&nbsp;len)</CODE>
287
288<BR>
289&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the index of the first non-sorted element or -1 if they are all sorted</TD>
290</TR>
291<TR BGCOLOR="white" CLASS="TableRowColor">
292<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
293<CODE>&nbsp;<A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/util/OpenBitSet.html?is-external=true" title="class or interface in org.apache.lucene.util">OpenBitSet</A></CODE></FONT></TD>
294<TD><CODE><B><A HREF="../../../../org/apache/solr/search/SortedIntDocSet.html#getBits()">getBits</A></B>()</CODE>
295
296<BR>
297&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Inefficient base implementation.</TD>
298</TR>
299<TR BGCOLOR="white" CLASS="TableRowColor">
300<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
301<CODE>&nbsp;int[]</CODE></FONT></TD>
302<TD><CODE><B><A HREF="../../../../org/apache/solr/search/SortedIntDocSet.html#getDocs()">getDocs</A></B>()</CODE>
303
304<BR>
305&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
306</TR>
307<TR BGCOLOR="white" CLASS="TableRowColor">
308<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
309<CODE>&nbsp;<A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/search/Filter.html?is-external=true" title="class or interface in org.apache.lucene.search">Filter</A></CODE></FONT></TD>
310<TD><CODE><B><A HREF="../../../../org/apache/solr/search/SortedIntDocSet.html#getTopFilter()">getTopFilter</A></B>()</CODE>
311
312<BR>
313&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a Filter for use in Lucene search methods, assuming this DocSet
314 was generated from the top-level MultiReader that the Lucene search
315 methods will be invoked with.</TD>
316</TR>
317<TR BGCOLOR="white" CLASS="TableRowColor">
318<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
319<CODE>&nbsp;<A HREF="../../../../org/apache/solr/search/DocSet.html" title="interface in org.apache.solr.search">DocSet</A></CODE></FONT></TD>
320<TD><CODE><B><A HREF="../../../../org/apache/solr/search/SortedIntDocSet.html#intersection(org.apache.solr.search.DocSet)">intersection</A></B>(<A HREF="../../../../org/apache/solr/search/DocSet.html" title="interface in org.apache.solr.search">DocSet</A>&nbsp;other)</CODE>
321
322<BR>
323&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the intersection of this set with another set.</TD>
324</TR>
325<TR BGCOLOR="white" CLASS="TableRowColor">
326<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
327<CODE>static&nbsp;int</CODE></FONT></TD>
328<TD><CODE><B><A HREF="../../../../org/apache/solr/search/SortedIntDocSet.html#intersection(int[], int, int[], int, int[])">intersection</A></B>(int[]&nbsp;a,
329             int&nbsp;lena,
330             int[]&nbsp;b,
331             int&nbsp;lenb,
332             int[]&nbsp;target)</CODE>
333
334<BR>
335&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;puts the intersection of a and b into the target array and returns the size</TD>
336</TR>
337<TR BGCOLOR="white" CLASS="TableRowColor">
338<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
339<CODE>protected static&nbsp;int</CODE></FONT></TD>
340<TD><CODE><B><A HREF="../../../../org/apache/solr/search/SortedIntDocSet.html#intersectionBinarySearch(int[], int, int[], int, int[])">intersectionBinarySearch</A></B>(int[]&nbsp;a,
341                         int&nbsp;lena,
342                         int[]&nbsp;b,
343                         int&nbsp;lenb,
344                         int[]&nbsp;target)</CODE>
345
346<BR>
347&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Puts the intersection of a and b into the target array and returns the size.</TD>
348</TR>
349<TR BGCOLOR="white" CLASS="TableRowColor">
350<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
351<CODE>&nbsp;int</CODE></FONT></TD>
352<TD><CODE><B><A HREF="../../../../org/apache/solr/search/SortedIntDocSet.html#intersectionSize(org.apache.solr.search.DocSet)">intersectionSize</A></B>(<A HREF="../../../../org/apache/solr/search/DocSet.html" title="interface in org.apache.solr.search">DocSet</A>&nbsp;other)</CODE>
353
354<BR>
355&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the number of documents of the intersection of this set with another set.</TD>
356</TR>
357<TR BGCOLOR="white" CLASS="TableRowColor">
358<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
359<CODE>static&nbsp;int</CODE></FONT></TD>
360<TD><CODE><B><A HREF="../../../../org/apache/solr/search/SortedIntDocSet.html#intersectionSize(int[], int[])">intersectionSize</A></B>(int[]&nbsp;smallerSortedList,
361                 int[]&nbsp;biggerSortedList)</CODE>
362
363<BR>
364&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
365</TR>
366<TR BGCOLOR="white" CLASS="TableRowColor">
367<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
368<CODE>&nbsp;boolean</CODE></FONT></TD>
369<TD><CODE><B><A HREF="../../../../org/apache/solr/search/SortedIntDocSet.html#intersects(org.apache.solr.search.DocSet)">intersects</A></B>(<A HREF="../../../../org/apache/solr/search/DocSet.html" title="interface in org.apache.solr.search">DocSet</A>&nbsp;other)</CODE>
370
371<BR>
372&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if these sets have any elements in common</TD>
373</TR>
374<TR BGCOLOR="white" CLASS="TableRowColor">
375<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
376<CODE>static&nbsp;boolean</CODE></FONT></TD>
377<TD><CODE><B><A HREF="../../../../org/apache/solr/search/SortedIntDocSet.html#intersects(int[], int[])">intersects</A></B>(int[]&nbsp;smallerSortedList,
378           int[]&nbsp;biggerSortedList)</CODE>
379
380<BR>
381&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
382</TR>
383<TR BGCOLOR="white" CLASS="TableRowColor">
384<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
385<CODE>&nbsp;<A HREF="../../../../org/apache/solr/search/DocIterator.html" title="interface in org.apache.solr.search">DocIterator</A></CODE></FONT></TD>
386<TD><CODE><B><A HREF="../../../../org/apache/solr/search/SortedIntDocSet.html#iterator()">iterator</A></B>()</CODE>
387
388<BR>
389&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an iterator that may be used to iterate over all of the documents in the set.</TD>
390</TR>
391<TR BGCOLOR="white" CLASS="TableRowColor">
392<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
393<CODE>&nbsp;long</CODE></FONT></TD>
394<TD><CODE><B><A HREF="../../../../org/apache/solr/search/SortedIntDocSet.html#memSize()">memSize</A></B>()</CODE>
395
396<BR>
397&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the approximate amount of memory taken by this DocSet.</TD>
398</TR>
399<TR BGCOLOR="white" CLASS="TableRowColor">
400<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
401<CODE>&nbsp;void</CODE></FONT></TD>
402<TD><CODE><B><A HREF="../../../../org/apache/solr/search/SortedIntDocSet.html#setBitsOn(org.apache.lucene.util.OpenBitSet)">setBitsOn</A></B>(<A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/util/OpenBitSet.html?is-external=true" title="class or interface in org.apache.lucene.util">OpenBitSet</A>&nbsp;target)</CODE>
403
404<BR>
405&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Takes the docs from this set and sets those bits on the target OpenBitSet.</TD>
406</TR>
407<TR BGCOLOR="white" CLASS="TableRowColor">
408<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
409<CODE>static&nbsp;int[]</CODE></FONT></TD>
410<TD><CODE><B><A HREF="../../../../org/apache/solr/search/SortedIntDocSet.html#shrink(int[], int)">shrink</A></B>(int[]&nbsp;arr,
411       int&nbsp;newSize)</CODE>
412
413<BR>
414&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
415</TR>
416<TR BGCOLOR="white" CLASS="TableRowColor">
417<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
418<CODE>&nbsp;int</CODE></FONT></TD>
419<TD><CODE><B><A HREF="../../../../org/apache/solr/search/SortedIntDocSet.html#size()">size</A></B>()</CODE>
420
421<BR>
422&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the number of documents in the set.</TD>
423</TR>
424<TR BGCOLOR="white" CLASS="TableRowColor">
425<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
426<CODE>&nbsp;<A HREF="../../../../org/apache/solr/search/DocSet.html" title="interface in org.apache.solr.search">DocSet</A></CODE></FONT></TD>
427<TD><CODE><B><A HREF="../../../../org/apache/solr/search/SortedIntDocSet.html#union(org.apache.solr.search.DocSet)">union</A></B>(<A HREF="../../../../org/apache/solr/search/DocSet.html" title="interface in org.apache.solr.search">DocSet</A>&nbsp;other)</CODE>
428
429<BR>
430&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the union of this set with another set.</TD>
431</TR>
432<TR BGCOLOR="white" CLASS="TableRowColor">
433<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
434<CODE>&nbsp;int</CODE></FONT></TD>
435<TD><CODE><B><A HREF="../../../../org/apache/solr/search/SortedIntDocSet.html#unionSize(org.apache.solr.search.DocSet)">unionSize</A></B>(<A HREF="../../../../org/apache/solr/search/DocSet.html" title="interface in org.apache.solr.search">DocSet</A>&nbsp;other)</CODE>
436
437<BR>
438&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the number of documents of the union of this set with another set.</TD>
439</TR>
440</TABLE>
441&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
442<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
443<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
444<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>
445</TR>
446<TR BGCOLOR="white" CLASS="TableRowColor">
447<TD><CODE><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>
448</TR>
449</TABLE>
450&nbsp;
451<P>
452
453<!-- ============ FIELD DETAIL =========== -->
454
455<A NAME="field_detail"><!-- --></A>
456<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
457<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
458<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
459<B>Field Detail</B></FONT></TH>
460</TR>
461</TABLE>
462
463<A NAME="docs"><!-- --></A><H3>
464docs</H3>
465<PRE>
466protected final int[] <B>docs</B></PRE>
467<DL>
468<DL>
469</DL>
470</DL>
471<HR>
472
473<A NAME="zeroInts"><!-- --></A><H3>
474zeroInts</H3>
475<PRE>
476public static int[] <B>zeroInts</B></PRE>
477<DL>
478<DL>
479</DL>
480</DL>
481<HR>
482
483<A NAME="zero"><!-- --></A><H3>
484zero</H3>
485<PRE>
486public static <A HREF="../../../../org/apache/solr/search/SortedIntDocSet.html" title="class in org.apache.solr.search">SortedIntDocSet</A> <B>zero</B></PRE>
487<DL>
488<DL>
489</DL>
490</DL>
491
492<!-- ========= CONSTRUCTOR DETAIL ======== -->
493
494<A NAME="constructor_detail"><!-- --></A>
495<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
496<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
497<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
498<B>Constructor Detail</B></FONT></TH>
499</TR>
500</TABLE>
501
502<A NAME="SortedIntDocSet(int[])"><!-- --></A><H3>
503SortedIntDocSet</H3>
504<PRE>
505public <B>SortedIntDocSet</B>(int[]&nbsp;docs)</PRE>
506<DL>
507<DL>
508<DT><B>Parameters:</B><DD><CODE>docs</CODE> - Sorted list of ids</DL>
509</DL>
510<HR>
511
512<A NAME="SortedIntDocSet(int[], int)"><!-- --></A><H3>
513SortedIntDocSet</H3>
514<PRE>
515public <B>SortedIntDocSet</B>(int[]&nbsp;docs,
516                       int&nbsp;len)</PRE>
517<DL>
518<DL>
519<DT><B>Parameters:</B><DD><CODE>docs</CODE> - Sorted list of ids<DD><CODE>len</CODE> - Number of ids in the list</DL>
520</DL>
521
522<!-- ============ METHOD DETAIL ========== -->
523
524<A NAME="method_detail"><!-- --></A>
525<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
526<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
527<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
528<B>Method Detail</B></FONT></TH>
529</TR>
530</TABLE>
531
532<A NAME="getDocs()"><!-- --></A><H3>
533getDocs</H3>
534<PRE>
535public int[] <B>getDocs</B>()</PRE>
536<DL>
537<DD><DL>
538</DL>
539</DD>
540</DL>
541<HR>
542
543<A NAME="size()"><!-- --></A><H3>
544size</H3>
545<PRE>
546public int <B>size</B>()</PRE>
547<DL>
548<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/solr/search/DocSet.html#size()">DocSet</A></CODE></B></DD>
549<DD>Returns the number of documents in the set.
550<P>
551<DD><DL>
552</DL>
553</DD>
554</DL>
555<HR>
556
557<A NAME="memSize()"><!-- --></A><H3>
558memSize</H3>
559<PRE>
560public long <B>memSize</B>()</PRE>
561<DL>
562<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/solr/search/DocSet.html#memSize()">DocSet</A></CODE></B></DD>
563<DD>Returns the approximate amount of memory taken by this DocSet.
564 This is only an approximation and doesn't take into account java object overhead.
565<P>
566<DD><DL>
567
568<DT><B>Returns:</B><DD>the approximate memory consumption in bytes</DL>
569</DD>
570</DL>
571<HR>
572
573<A NAME="shrink(int[], int)"><!-- --></A><H3>
574shrink</H3>
575<PRE>
576public static int[] <B>shrink</B>(int[]&nbsp;arr,
577                           int&nbsp;newSize)</PRE>
578<DL>
579<DD><DL>
580</DL>
581</DD>
582</DL>
583<HR>
584
585<A NAME="firstNonSorted(int[], int, int)"><!-- --></A><H3>
586firstNonSorted</H3>
587<PRE>
588public static int <B>firstNonSorted</B>(int[]&nbsp;arr,
589                                 int&nbsp;offset,
590                                 int&nbsp;len)</PRE>
591<DL>
592<DD>Returns the index of the first non-sorted element or -1 if they are all sorted
593<P>
594<DD><DL>
595</DL>
596</DD>
597</DL>
598<HR>
599
600<A NAME="intersectionSize(int[], int[])"><!-- --></A><H3>
601intersectionSize</H3>
602<PRE>
603public static int <B>intersectionSize</B>(int[]&nbsp;smallerSortedList,
604                                   int[]&nbsp;biggerSortedList)</PRE>
605<DL>
606<DD><DL>
607</DL>
608</DD>
609</DL>
610<HR>
611
612<A NAME="intersects(int[], int[])"><!-- --></A><H3>
613intersects</H3>
614<PRE>
615public static boolean <B>intersects</B>(int[]&nbsp;smallerSortedList,
616                                 int[]&nbsp;biggerSortedList)</PRE>
617<DL>
618<DD><DL>
619</DL>
620</DD>
621</DL>
622<HR>
623
624<A NAME="intersectionSize(org.apache.solr.search.DocSet)"><!-- --></A><H3>
625intersectionSize</H3>
626<PRE>
627public int <B>intersectionSize</B>(<A HREF="../../../../org/apache/solr/search/DocSet.html" title="interface in org.apache.solr.search">DocSet</A>&nbsp;other)</PRE>
628<DL>
629<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/solr/search/DocSet.html#intersectionSize(org.apache.solr.search.DocSet)">DocSet</A></CODE></B></DD>
630<DD>Returns the number of documents of the intersection of this set with another set.
631 May be more efficient than actually creating the intersection and then getting it's size.
632<P>
633<DD><DL>
634<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/solr/search/DocSet.html#intersectionSize(org.apache.solr.search.DocSet)">intersectionSize</A></CODE> in interface <CODE><A HREF="../../../../org/apache/solr/search/DocSet.html" title="interface in org.apache.solr.search">DocSet</A></CODE></DL>
635</DD>
636<DD><DL>
637</DL>
638</DD>
639</DL>
640<HR>
641
642<A NAME="intersects(org.apache.solr.search.DocSet)"><!-- --></A><H3>
643intersects</H3>
644<PRE>
645public boolean <B>intersects</B>(<A HREF="../../../../org/apache/solr/search/DocSet.html" title="interface in org.apache.solr.search">DocSet</A>&nbsp;other)</PRE>
646<DL>
647<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/solr/search/DocSet.html#intersects(org.apache.solr.search.DocSet)">DocSet</A></CODE></B></DD>
648<DD>Returns true if these sets have any elements in common
649<P>
650<DD><DL>
651<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/solr/search/DocSet.html#intersects(org.apache.solr.search.DocSet)">intersects</A></CODE> in interface <CODE><A HREF="../../../../org/apache/solr/search/DocSet.html" title="interface in org.apache.solr.search">DocSet</A></CODE></DL>
652</DD>
653<DD><DL>
654</DL>
655</DD>
656</DL>
657<HR>
658
659<A NAME="intersection(int[], int, int[], int, int[])"><!-- --></A><H3>
660intersection</H3>
661<PRE>
662public static int <B>intersection</B>(int[]&nbsp;a,
663                               int&nbsp;lena,
664                               int[]&nbsp;b,
665                               int&nbsp;lenb,
666                               int[]&nbsp;target)</PRE>
667<DL>
668<DD>puts the intersection of a and b into the target array and returns the size
669<P>
670<DD><DL>
671</DL>
672</DD>
673</DL>
674<HR>
675
676<A NAME="intersectionBinarySearch(int[], int, int[], int, int[])"><!-- --></A><H3>
677intersectionBinarySearch</H3>
678<PRE>
679protected static int <B>intersectionBinarySearch</B>(int[]&nbsp;a,
680                                              int&nbsp;lena,
681                                              int[]&nbsp;b,
682                                              int&nbsp;lenb,
683                                              int[]&nbsp;target)</PRE>
684<DL>
685<DD>Puts the intersection of a and b into the target array and returns the size.
686 lena should be smaller than lenb
687<P>
688<DD><DL>
689</DL>
690</DD>
691</DL>
692<HR>
693
694<A NAME="intersection(org.apache.solr.search.DocSet)"><!-- --></A><H3>
695intersection</H3>
696<PRE>
697public <A HREF="../../../../org/apache/solr/search/DocSet.html" title="interface in org.apache.solr.search">DocSet</A> <B>intersection</B>(<A HREF="../../../../org/apache/solr/search/DocSet.html" title="interface in org.apache.solr.search">DocSet</A>&nbsp;other)</PRE>
698<DL>
699<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/solr/search/DocSet.html#intersection(org.apache.solr.search.DocSet)">DocSet</A></CODE></B></DD>
700<DD>Returns the intersection of this set with another set.  Neither set is modified - a new DocSet is
701 created and returned.
702<P>
703<DD><DL>
704<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/solr/search/DocSet.html#intersection(org.apache.solr.search.DocSet)">intersection</A></CODE> in interface <CODE><A HREF="../../../../org/apache/solr/search/DocSet.html" title="interface in org.apache.solr.search">DocSet</A></CODE></DL>
705</DD>
706<DD><DL>
707
708<DT><B>Returns:</B><DD>a DocSet representing the intersection</DL>
709</DD>
710</DL>
711<HR>
712
713<A NAME="andNotBinarySearch(int[], int, int[], int, int[])"><!-- --></A><H3>
714andNotBinarySearch</H3>
715<PRE>
716protected static int <B>andNotBinarySearch</B>(int[]&nbsp;a,
717                                        int&nbsp;lena,
718                                        int[]&nbsp;b,
719                                        int&nbsp;lenb,
720                                        int[]&nbsp;target)</PRE>
721<DL>
722<DD><DL>
723</DL>
724</DD>
725</DL>
726<HR>
727
728<A NAME="andNot(int[], int, int[], int, int[])"><!-- --></A><H3>
729andNot</H3>
730<PRE>
731public static int <B>andNot</B>(int[]&nbsp;a,
732                         int&nbsp;lena,
733                         int[]&nbsp;b,
734                         int&nbsp;lenb,
735                         int[]&nbsp;target)</PRE>
736<DL>
737<DD>puts the intersection of a and not b into the target array and returns the size
738<P>
739<DD><DL>
740</DL>
741</DD>
742</DL>
743<HR>
744
745<A NAME="andNot(org.apache.solr.search.DocSet)"><!-- --></A><H3>
746andNot</H3>
747<PRE>
748public <A HREF="../../../../org/apache/solr/search/DocSet.html" title="interface in org.apache.solr.search">DocSet</A> <B>andNot</B>(<A HREF="../../../../org/apache/solr/search/DocSet.html" title="interface in org.apache.solr.search">DocSet</A>&nbsp;other)</PRE>
749<DL>
750<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/solr/search/DocSet.html#andNot(org.apache.solr.search.DocSet)">DocSet</A></CODE></B></DD>
751<DD>Returns the documents in this set that are not in the other set. Neither set is modified - a new DocSet is
752 created and returned.
753<P>
754<DD><DL>
755<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/solr/search/DocSet.html#andNot(org.apache.solr.search.DocSet)">andNot</A></CODE> in interface <CODE><A HREF="../../../../org/apache/solr/search/DocSet.html" title="interface in org.apache.solr.search">DocSet</A></CODE></DL>
756</DD>
757<DD><DL>
758
759<DT><B>Returns:</B><DD>a DocSet representing this AND NOT other</DL>
760</DD>
761</DL>
762<HR>
763
764<A NAME="setBitsOn(org.apache.lucene.util.OpenBitSet)"><!-- --></A><H3>
765setBitsOn</H3>
766<PRE>
767public void <B>setBitsOn</B>(<A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/util/OpenBitSet.html?is-external=true" title="class or interface in org.apache.lucene.util">OpenBitSet</A>&nbsp;target)</PRE>
768<DL>
769<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/solr/search/DocSet.html#setBitsOn(org.apache.lucene.util.OpenBitSet)">DocSet</A></CODE></B></DD>
770<DD>Takes the docs from this set and sets those bits on the target OpenBitSet.
771 The target should be sized large enough to accommodate all of the documents before calling this method.
772<P>
773<DD><DL>
774<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/solr/search/DocSet.html#setBitsOn(org.apache.lucene.util.OpenBitSet)">setBitsOn</A></CODE> in interface <CODE><A HREF="../../../../org/apache/solr/search/DocSet.html" title="interface in org.apache.solr.search">DocSet</A></CODE></DL>
775</DD>
776<DD><DL>
777</DL>
778</DD>
779</DL>
780<HR>
781
782<A NAME="exists(int)"><!-- --></A><H3>
783exists</H3>
784<PRE>
785public boolean <B>exists</B>(int&nbsp;doc)</PRE>
786<DL>
787<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/solr/search/DocSet.html#exists(int)">DocSet</A></CODE></B></DD>
788<DD>Returns true if a document is in the DocSet.
789<P>
790<DD><DL>
791</DL>
792</DD>
793</DL>
794<HR>
795
796<A NAME="iterator()"><!-- --></A><H3>
797iterator</H3>
798<PRE>
799public <A HREF="../../../../org/apache/solr/search/DocIterator.html" title="interface in org.apache.solr.search">DocIterator</A> <B>iterator</B>()</PRE>
800<DL>
801<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/solr/search/DocSet.html#iterator()">DocSet</A></CODE></B></DD>
802<DD>Returns an iterator that may be used to iterate over all of the documents in the set.
803
804 <p>
805 The order of the documents returned by this iterator is
806 non-deterministic, and any scoring information is meaningless
807 </p>
808<P>
809<DD><DL>
810</DL>
811</DD>
812</DL>
813<HR>
814
815<A NAME="getBits()"><!-- --></A><H3>
816getBits</H3>
817<PRE>
818public <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/util/OpenBitSet.html?is-external=true" title="class or interface in org.apache.lucene.util">OpenBitSet</A> <B>getBits</B>()</PRE>
819<DL>
820<DD>Inefficient base implementation.
821<P>
822<DD><DL>
823<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/solr/search/DocSet.html#getBits()">getBits</A></CODE> in interface <CODE><A HREF="../../../../org/apache/solr/search/DocSet.html" title="interface in org.apache.solr.search">DocSet</A></CODE></DL>
824</DD>
825<DD><DL>
826
827<DT><B>Returns:</B><DD>An OpenBitSet with the bit number of every docid set in the set.<DT><B>See Also:</B><DD><A HREF="../../../../org/apache/solr/search/BitDocSet.html#getBits()"><CODE>BitDocSet.getBits()</CODE></A></DL>
828</DD>
829</DL>
830<HR>
831
832<A NAME="findIndex(int[], int, int, int)"><!-- --></A><H3>
833findIndex</H3>
834<PRE>
835public static int <B>findIndex</B>(int[]&nbsp;arr,
836                            int&nbsp;value,
837                            int&nbsp;low,
838                            int&nbsp;high)</PRE>
839<DL>
840<DD><DL>
841</DL>
842</DD>
843</DL>
844<HR>
845
846<A NAME="getTopFilter()"><!-- --></A><H3>
847getTopFilter</H3>
848<PRE>
849public <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/search/Filter.html?is-external=true" title="class or interface in org.apache.lucene.search">Filter</A> <B>getTopFilter</B>()</PRE>
850<DL>
851<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/solr/search/DocSet.html#getTopFilter()">DocSet</A></CODE></B></DD>
852<DD>Returns a Filter for use in Lucene search methods, assuming this DocSet
853 was generated from the top-level MultiReader that the Lucene search
854 methods will be invoked with.
855<P>
856<DD><DL>
857<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/solr/search/DocSet.html#getTopFilter()">getTopFilter</A></CODE> in interface <CODE><A HREF="../../../../org/apache/solr/search/DocSet.html" title="interface in org.apache.solr.search">DocSet</A></CODE></DL>
858</DD>
859<DD><DL>
860</DL>
861</DD>
862</DL>
863<HR>
864
865<A NAME="clone()"><!-- --></A><H3>
866clone</H3>
867<PRE>
868protected <A HREF="../../../../org/apache/solr/search/SortedIntDocSet.html" title="class in org.apache.solr.search">SortedIntDocSet</A> <B>clone</B>()</PRE>
869<DL>
870<DD><DL>
871<DT><B>Overrides:</B><DD><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></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>
872</DD>
873<DD><DL>
874</DL>
875</DD>
876</DL>
877<HR>
878
879<A NAME="equals(java.lang.Object)"><!-- --></A><H3>
880equals</H3>
881<PRE>
882public boolean <B>equals</B>(<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>&nbsp;obj)</PRE>
883<DL>
884<DD><DL>
885<DT><B>Overrides:</B><DD><CODE><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></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>
886</DD>
887<DD><DL>
888</DL>
889</DD>
890</DL>
891<HR>
892
893<A NAME="add(int)"><!-- --></A><H3>
894add</H3>
895<PRE>
896public void <B>add</B>(int&nbsp;doc)</PRE>
897<DL>
898<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/solr/search/DocSet.html#add(int)">DocSet</A></CODE></B></DD>
899<DD>Adds the specified document if it is not currently in the DocSet
900 (optional operation).
901<P>
902<DD><DL>
903<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/solr/search/DocSet.html#add(int)">add</A></CODE> in interface <CODE><A HREF="../../../../org/apache/solr/search/DocSet.html" title="interface in org.apache.solr.search">DocSet</A></CODE></DL>
904</DD>
905<DD><DL>
906
907<DT><B>Throws:</B>
908<DD><CODE><A HREF="../../../../org/apache/solr/common/SolrException.html" title="class in org.apache.solr.common">SolrException</A></CODE> - Base implementation does not allow modifications<DT><B>See Also:</B><DD><A HREF="../../../../org/apache/solr/search/DocSet.html#addUnique(int)"><CODE>DocSet.addUnique(int)</CODE></A></DL>
909</DD>
910</DL>
911<HR>
912
913<A NAME="addUnique(int)"><!-- --></A><H3>
914addUnique</H3>
915<PRE>
916public void <B>addUnique</B>(int&nbsp;doc)</PRE>
917<DL>
918<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/solr/search/DocSet.html#addUnique(int)">DocSet</A></CODE></B></DD>
919<DD>Adds a document the caller knows is not currently in the DocSet
920 (optional operation).
921
922 <p>
923 This method may be faster then <code>add(doc)</code> in some
924 implementaions provided the caller is certain of the precondition.
925 </p>
926<P>
927<DD><DL>
928<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/solr/search/DocSet.html#addUnique(int)">addUnique</A></CODE> in interface <CODE><A HREF="../../../../org/apache/solr/search/DocSet.html" title="interface in org.apache.solr.search">DocSet</A></CODE></DL>
929</DD>
930<DD><DL>
931
932<DT><B>Throws:</B>
933<DD><CODE><A HREF="../../../../org/apache/solr/common/SolrException.html" title="class in org.apache.solr.common">SolrException</A></CODE> - Base implementation does not allow modifications<DT><B>See Also:</B><DD><A HREF="../../../../org/apache/solr/search/DocSet.html#add(int)"><CODE>DocSet.add(int)</CODE></A></DL>
934</DD>
935</DL>
936<HR>
937
938<A NAME="union(org.apache.solr.search.DocSet)"><!-- --></A><H3>
939union</H3>
940<PRE>
941public <A HREF="../../../../org/apache/solr/search/DocSet.html" title="interface in org.apache.solr.search">DocSet</A> <B>union</B>(<A HREF="../../../../org/apache/solr/search/DocSet.html" title="interface in org.apache.solr.search">DocSet</A>&nbsp;other)</PRE>
942<DL>
943<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/solr/search/DocSet.html#union(org.apache.solr.search.DocSet)">DocSet</A></CODE></B></DD>
944<DD>Returns the union of this set with another set.  Neither set is modified - a new DocSet is
945 created and returned.
946<P>
947<DD><DL>
948<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/solr/search/DocSet.html#union(org.apache.solr.search.DocSet)">union</A></CODE> in interface <CODE><A HREF="../../../../org/apache/solr/search/DocSet.html" title="interface in org.apache.solr.search">DocSet</A></CODE></DL>
949</DD>
950<DD><DL>
951
952<DT><B>Returns:</B><DD>a DocSet representing the union</DL>
953</DD>
954</DL>
955<HR>
956
957<A NAME="unionSize(org.apache.solr.search.DocSet)"><!-- --></A><H3>
958unionSize</H3>
959<PRE>
960public int <B>unionSize</B>(<A HREF="../../../../org/apache/solr/search/DocSet.html" title="interface in org.apache.solr.search">DocSet</A>&nbsp;other)</PRE>
961<DL>
962<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/solr/search/DocSet.html#unionSize(org.apache.solr.search.DocSet)">DocSet</A></CODE></B></DD>
963<DD>Returns the number of documents of the union of this set with another set.
964 May be more efficient than actually creating the union and then getting it's size.
965<P>
966<DD><DL>
967<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/solr/search/DocSet.html#unionSize(org.apache.solr.search.DocSet)">unionSize</A></CODE> in interface <CODE><A HREF="../../../../org/apache/solr/search/DocSet.html" title="interface in org.apache.solr.search">DocSet</A></CODE></DL>
968</DD>
969<DD><DL>
970</DL>
971</DD>
972</DL>
973<HR>
974
975<A NAME="andNotSize(org.apache.solr.search.DocSet)"><!-- --></A><H3>
976andNotSize</H3>
977<PRE>
978public int <B>andNotSize</B>(<A HREF="../../../../org/apache/solr/search/DocSet.html" title="interface in org.apache.solr.search">DocSet</A>&nbsp;other)</PRE>
979<DL>
980<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/solr/search/DocSet.html#andNotSize(org.apache.solr.search.DocSet)">DocSet</A></CODE></B></DD>
981<DD>Returns the number of documents in this set that are not in the other set.
982<P>
983<DD><DL>
984<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/solr/search/DocSet.html#andNotSize(org.apache.solr.search.DocSet)">andNotSize</A></CODE> in interface <CODE><A HREF="../../../../org/apache/solr/search/DocSet.html" title="interface in org.apache.solr.search">DocSet</A></CODE></DL>
985</DD>
986<DD><DL>
987</DL>
988</DD>
989</DL>
990<!-- ========= END OF CLASS DATA ========= -->
991<HR>
992
993
994<!-- ======= START OF BOTTOM NAVBAR ====== -->
995<A NAME="navbar_bottom"><!-- --></A>
996<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
997<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
998<TR>
999<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
1000<A NAME="navbar_bottom_firstrow"><!-- --></A>
1001<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
1002  <TR ALIGN="center" VALIGN="top">
1003  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
1004  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
1005  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
1006  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/SortedIntDocSet.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
1007  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
1008  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
1009  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
1010  </TR>
1011</TABLE>
1012</TD>
1013<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
1014</EM>
1015</TD>
1016</TR>
1017
1018<TR>
1019<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
1020&nbsp;<A HREF="../../../../org/apache/solr/search/SolrSortField.html" title="interface in org.apache.solr.search"><B>PREV CLASS</B></A>&nbsp;
1021&nbsp;<A HREF="../../../../org/apache/solr/search/Sorting.html" title="class in org.apache.solr.search"><B>NEXT CLASS</B></A></FONT></TD>
1022<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
1023  <A HREF="../../../../index.html?org/apache/solr/search/SortedIntDocSet.html" target="_top"><B>FRAMES</B></A>  &nbsp;
1024&nbsp;<A HREF="SortedIntDocSet.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
1025&nbsp;<SCRIPT type="text/javascript">
1026  <!--
1027  if(window==top) {
1028    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
1029  }
1030  //-->
1031</SCRIPT>
1032<NOSCRIPT>
1033  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
1034</NOSCRIPT>
1035
1036
1037</FONT></TD>
1038</TR>
1039<TR>
1040<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
1041  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
1042<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
1043DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
1044</TR>
1045</TABLE>
1046<A NAME="skip-navbar_bottom"></A>
1047<!-- ======== END OF BOTTOM NAVBAR ======= -->
1048
1049<HR>
1050
1051          <address>Copyright &copy; 2000-2012 Apache Software Foundation.  All Rights Reserved.</address>
1052          <script src='../../../../prettify.js' type='text/javascript'></script>
1053          <script type='text/javascript'>
1054            (function(){
1055              var oldonload = window.onload;
1056              if (typeof oldonload != 'function') {
1057                window.onload = prettyPrint;
1058              } else {
1059                window.onload = function() {
1060                  oldonload();
1061                  prettyPrint();
1062                }
1063              }
1064            })();
1065          </script>
1066       
1067</BODY>
1068</HTML>
Note: See TracBrowser for help on using the repository browser.