1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
5 <!-- Generated by javadoc (build 1.6.0_30) on Tue Nov 19 11:17:01 CET 2013 -->
6 <META http-equiv="Content-Type" content="text/html; charset=utf-8">
8 SolrQuery.ORDER (Solr 4.6.0 API)
11 <META NAME="date" CONTENT="2013-11-19">
13 <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
15 <SCRIPT type="text/javascript">
16 function windowTitle()
18 if (location.href.indexOf('is-external=true') == -1) {
19 parent.document.title="SolrQuery.ORDER (Solr 4.6.0 API)";
28 <BODY BGCOLOR="white" onload="windowTitle();">
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="">
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/SolrQuery.ORDER.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>
51 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
57 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
58 <A HREF="../../../../../org/apache/solr/client/solrj/SolrQuery.html" title="class in org.apache.solr.client.solrj"><B>PREV CLASS</B></A>
59 <A HREF="../../../../../org/apache/solr/client/solrj/SolrQuery.SortClause.html" title="class in org.apache.solr.client.solrj"><B>NEXT CLASS</B></A></FONT></TD>
60 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
61 <A HREF="../../../../../index.html?org/apache/solr/client/solrj/SolrQuery.ORDER.html" target="_top"><B>FRAMES</B></A>
62 <A HREF="SolrQuery.ORDER.html" target="_top"><B>NO FRAMES</B></A>
63 <SCRIPT type="text/javascript">
66 document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
71 <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
78 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
79 SUMMARY: NESTED | <A HREF="#enum_constant_summary">ENUM CONSTANTS</A> | FIELD | <A HREF="#method_summary">METHOD</A></FONT></TD>
80 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
81 DETAIL: <A HREF="#enum_constant_detail">ENUM CONSTANTS</A> | FIELD | <A HREF="#method_detail">METHOD</A></FONT></TD>
84 <A NAME="skip-navbar_top"></A>
85 <!-- ========= END OF TOP NAVBAR ========= -->
88 <!-- ======== START OF CLASS DATA ======== -->
91 org.apache.solr.client.solrj</FONT>
93 Enum SolrQuery.ORDER</H2>
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://download.oracle.com/javase/6/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">java.lang.Enum</A><<A HREF="../../../../../org/apache/solr/client/solrj/SolrQuery.ORDER.html" title="enum in org.apache.solr.client.solrj">SolrQuery.ORDER</A>>
97 <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.solr.client.solrj.SolrQuery.ORDER</B>
100 <DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://download.oracle.com/javase/6/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</A>, <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><<A HREF="../../../../../org/apache/solr/client/solrj/SolrQuery.ORDER.html" title="enum in org.apache.solr.client.solrj">SolrQuery.ORDER</A>></DD>
103 <DT><B>Enclosing class:</B><DD><A HREF="../../../../../org/apache/solr/client/solrj/SolrQuery.html" title="class in org.apache.solr.client.solrj">SolrQuery</A></DD>
107 <DT><PRE>public static enum <B>SolrQuery.ORDER</B><DT>extends <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</A><<A HREF="../../../../../org/apache/solr/client/solrj/SolrQuery.ORDER.html" title="enum in org.apache.solr.client.solrj">SolrQuery.ORDER</A>></DL>
114 <!-- =========== ENUM CONSTANT SUMMARY =========== -->
116 <A NAME="enum_constant_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>Enum Constant Summary</B></FONT></TH>
122 <TR BGCOLOR="white" CLASS="TableRowColor">
123 <TD><CODE><B><A HREF="../../../../../org/apache/solr/client/solrj/SolrQuery.ORDER.html#asc">asc</A></B></CODE>
126 </TD>
128 <TR BGCOLOR="white" CLASS="TableRowColor">
129 <TD><CODE><B><A HREF="../../../../../org/apache/solr/client/solrj/SolrQuery.ORDER.html#desc">desc</A></B></CODE>
132 </TD>
136 <!-- ========== METHOD SUMMARY =========== -->
138 <A NAME="method_summary"><!-- --></A>
139 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
140 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
141 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
142 <B>Method Summary</B></FONT></TH>
144 <TR BGCOLOR="white" CLASS="TableRowColor">
145 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
146 <CODE> <A HREF="../../../../../org/apache/solr/client/solrj/SolrQuery.ORDER.html" title="enum in org.apache.solr.client.solrj">SolrQuery.ORDER</A></CODE></FONT></TD>
147 <TD><CODE><B><A HREF="../../../../../org/apache/solr/client/solrj/SolrQuery.ORDER.html#reverse()">reverse</A></B>()</CODE>
150 </TD>
152 <TR BGCOLOR="white" CLASS="TableRowColor">
153 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
154 <CODE>static <A HREF="../../../../../org/apache/solr/client/solrj/SolrQuery.ORDER.html" title="enum in org.apache.solr.client.solrj">SolrQuery.ORDER</A></CODE></FONT></TD>
155 <TD><CODE><B><A HREF="../../../../../org/apache/solr/client/solrj/SolrQuery.ORDER.html#valueOf(java.lang.String)">valueOf</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> name)</CODE>
158 Returns the enum constant of this type with the specified name.</TD>
160 <TR BGCOLOR="white" CLASS="TableRowColor">
161 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
162 <CODE>static <A HREF="../../../../../org/apache/solr/client/solrj/SolrQuery.ORDER.html" title="enum in org.apache.solr.client.solrj">SolrQuery.ORDER</A>[]</CODE></FONT></TD>
163 <TD><CODE><B><A HREF="../../../../../org/apache/solr/client/solrj/SolrQuery.ORDER.html#values()">values</A></B>()</CODE>
166 Returns an array containing the constants of this enum type, in
167 the order they are declared.</TD>
170 <A NAME="methods_inherited_from_class_java.lang.Enum"><!-- --></A>
171 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
172 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
173 <TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</A></B></TH>
175 <TR BGCOLOR="white" CLASS="TableRowColor">
176 <TD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Enum.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/Enum.html?is-external=true#compareTo(E)" title="class or interface in java.lang">compareTo</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Enum.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/Enum.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/Enum.html?is-external=true#getDeclaringClass()" title="class or interface in java.lang">getDeclaringClass</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Enum.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/Enum.html?is-external=true#name()" title="class or interface in java.lang">name</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Enum.html?is-external=true#ordinal()" title="class or interface in java.lang">ordinal</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Enum.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/Enum.html?is-external=true#valueOf(java.lang.Class, java.lang.String)" title="class or interface in java.lang">valueOf</A></CODE></TD>
179 <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
180 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
181 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
182 <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>
184 <TR BGCOLOR="white" CLASS="TableRowColor">
185 <TD><CODE><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#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>
191 <!-- ============ ENUM CONSTANT DETAIL =========== -->
193 <A NAME="enum_constant_detail"><!-- --></A>
194 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
195 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
196 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
197 <B>Enum Constant Detail</B></FONT></TH>
201 <A NAME="desc"><!-- --></A><H3>
204 public static final <A HREF="../../../../../org/apache/solr/client/solrj/SolrQuery.ORDER.html" title="enum in org.apache.solr.client.solrj">SolrQuery.ORDER</A> <B>desc</B></PRE>
211 <A NAME="asc"><!-- --></A><H3>
214 public static final <A HREF="../../../../../org/apache/solr/client/solrj/SolrQuery.ORDER.html" title="enum in org.apache.solr.client.solrj">SolrQuery.ORDER</A> <B>asc</B></PRE>
220 <!-- ============ METHOD DETAIL ========== -->
222 <A NAME="method_detail"><!-- --></A>
223 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
224 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
225 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
226 <B>Method Detail</B></FONT></TH>
230 <A NAME="values()"><!-- --></A><H3>
233 public static <A HREF="../../../../../org/apache/solr/client/solrj/SolrQuery.ORDER.html" title="enum in org.apache.solr.client.solrj">SolrQuery.ORDER</A>[] <B>values</B>()</PRE>
235 <DD>Returns an array containing the constants of this enum type, in
236 the order they are declared. This method may be used to iterate
237 over the constants as follows:
239 for (SolrQuery.ORDER c : SolrQuery.ORDER.values())
240 System.out.println(c);
245 <DT><B>Returns:</B><DD>an array containing the constants of this enum type, in
246 the order they are declared</DL>
251 <A NAME="valueOf(java.lang.String)"><!-- --></A><H3>
254 public static <A HREF="../../../../../org/apache/solr/client/solrj/SolrQuery.ORDER.html" title="enum in org.apache.solr.client.solrj">SolrQuery.ORDER</A> <B>valueOf</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> name)</PRE>
256 <DD>Returns the enum constant of this type with the specified name.
257 The string must match <I>exactly</I> an identifier used to declare an
258 enum constant in this type. (Extraneous whitespace characters are
262 <DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the enum constant to be returned.
263 <DT><B>Returns:</B><DD>the enum constant with the specified name
265 <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if this enum type has no constant
266 with the specified name
267 <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</A></CODE> - if the argument is null</DL>
272 <A NAME="reverse()"><!-- --></A><H3>
275 public <A HREF="../../../../../org/apache/solr/client/solrj/SolrQuery.ORDER.html" title="enum in org.apache.solr.client.solrj">SolrQuery.ORDER</A> <B>reverse</B>()</PRE>
281 <!-- ========= END OF CLASS DATA ========= -->
285 <!-- ======= START OF BOTTOM NAVBAR ====== -->
286 <A NAME="navbar_bottom"><!-- --></A>
287 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
288 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
290 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
291 <A NAME="navbar_bottom_firstrow"><!-- --></A>
292 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
293 <TR ALIGN="center" VALIGN="top">
294 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
295 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
296 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
297 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/SolrQuery.ORDER.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
298 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
299 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
300 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
304 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
310 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
311 <A HREF="../../../../../org/apache/solr/client/solrj/SolrQuery.html" title="class in org.apache.solr.client.solrj"><B>PREV CLASS</B></A>
312 <A HREF="../../../../../org/apache/solr/client/solrj/SolrQuery.SortClause.html" title="class in org.apache.solr.client.solrj"><B>NEXT CLASS</B></A></FONT></TD>
313 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
314 <A HREF="../../../../../index.html?org/apache/solr/client/solrj/SolrQuery.ORDER.html" target="_top"><B>FRAMES</B></A>
315 <A HREF="SolrQuery.ORDER.html" target="_top"><B>NO FRAMES</B></A>
316 <SCRIPT type="text/javascript">
319 document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
324 <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
331 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
332 SUMMARY: NESTED | <A HREF="#enum_constant_summary">ENUM CONSTANTS</A> | FIELD | <A HREF="#method_summary">METHOD</A></FONT></TD>
333 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
334 DETAIL: <A HREF="#enum_constant_detail">ENUM CONSTANTS</A> | FIELD | <A HREF="#method_detail">METHOD</A></FONT></TD>
337 <A NAME="skip-navbar_bottom"></A>
338 <!-- ======== END OF BOTTOM NAVBAR ======= -->
342 <i>Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.</i>
343 <script src='../../../../../prettify.js' type='text/javascript'></script>
344 <script type='text/javascript'>
346 var oldonload = window.onload;
347 if (typeof oldonload != 'function') {
348 window.onload = prettyPrint;
350 window.onload = function() {