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

Revision 7588, 41.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>
8QParser (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="QParser (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/QParser.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/PrefixQParserPlugin.html" title="class in org.apache.solr.search"><B>PREV CLASS</B></A>&nbsp;
59&nbsp;<A HREF="../../../../org/apache/solr/search/QParserPlugin.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/QParser.html" target="_top"><B>FRAMES</B></A>  &nbsp;
62&nbsp;<A HREF="QParser.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 QParser</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.QParser</B>
97</PRE>
98<DL>
99<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../org/apache/solr/search/DisMaxQParser.html" title="class in org.apache.solr.search">DisMaxQParser</A>, <A HREF="../../../../org/apache/solr/search/FunctionQParser.html" title="class in org.apache.solr.search">FunctionQParser</A>, <A HREF="../../../../org/apache/solr/search/SpatialFilterQParser.html" title="class in org.apache.solr.search">SpatialFilterQParser</A></DD>
100</DL>
101<HR>
102<DL>
103<DT><PRE>public abstract class <B>QParser</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<b>Note: This API is experimental and may change in non backward-compatible ways in the future</b>
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;<A HREF="../../../../org/apache/solr/common/params/SolrParams.html" title="class in org.apache.solr.common.params">SolrParams</A></CODE></FONT></TD>
125<TD><CODE><B><A HREF="../../../../org/apache/solr/search/QParser.html#localParams">localParams</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>protected &nbsp;int</CODE></FONT></TD>
133<TD><CODE><B><A HREF="../../../../org/apache/solr/search/QParser.html#localParamsEnd">localParamsEnd</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>protected &nbsp;<A HREF="../../../../org/apache/solr/common/params/SolrParams.html" title="class in org.apache.solr.common.params">SolrParams</A></CODE></FONT></TD>
141<TD><CODE><B><A HREF="../../../../org/apache/solr/search/QParser.html#params">params</A></B></CODE>
142
143<BR>
144&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
145</TR>
146<TR BGCOLOR="white" CLASS="TableRowColor">
147<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
148<CODE>protected &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>
149<TD><CODE><B><A HREF="../../../../org/apache/solr/search/QParser.html#qstr">qstr</A></B></CODE>
150
151<BR>
152&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
153</TR>
154<TR BGCOLOR="white" CLASS="TableRowColor">
155<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
156<CODE>protected &nbsp;<A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/search/Query.html?is-external=true" title="class or interface in org.apache.lucene.search">Query</A></CODE></FONT></TD>
157<TD><CODE><B><A HREF="../../../../org/apache/solr/search/QParser.html#query">query</A></B></CODE>
158
159<BR>
160&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
161</TR>
162<TR BGCOLOR="white" CLASS="TableRowColor">
163<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
164<CODE>protected &nbsp;int</CODE></FONT></TD>
165<TD><CODE><B><A HREF="../../../../org/apache/solr/search/QParser.html#recurseCount">recurseCount</A></B></CODE>
166
167<BR>
168&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
169</TR>
170<TR BGCOLOR="white" CLASS="TableRowColor">
171<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
172<CODE>protected &nbsp;<A HREF="../../../../org/apache/solr/request/SolrQueryRequest.html" title="interface in org.apache.solr.request">SolrQueryRequest</A></CODE></FONT></TD>
173<TD><CODE><B><A HREF="../../../../org/apache/solr/search/QParser.html#req">req</A></B></CODE>
174
175<BR>
176&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
177</TR>
178<TR BGCOLOR="white" CLASS="TableRowColor">
179<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
180<CODE>protected &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>
181<TD><CODE><B><A HREF="../../../../org/apache/solr/search/QParser.html#stringIncludingLocalParams">stringIncludingLocalParams</A></B></CODE>
182
183<BR>
184&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
185</TR>
186<TR BGCOLOR="white" CLASS="TableRowColor">
187<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
188<CODE>protected &nbsp;boolean</CODE></FONT></TD>
189<TD><CODE><B><A HREF="../../../../org/apache/solr/search/QParser.html#valFollowedParams">valFollowedParams</A></B></CODE>
190
191<BR>
192&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
193</TR>
194</TABLE>
195&nbsp;
196<!-- ======== CONSTRUCTOR SUMMARY ======== -->
197
198<A NAME="constructor_summary"><!-- --></A>
199<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
200<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
201<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
202<B>Constructor Summary</B></FONT></TH>
203</TR>
204<TR BGCOLOR="white" CLASS="TableRowColor">
205<TD><CODE><B><A HREF="../../../../org/apache/solr/search/QParser.html#QParser(java.lang.String, org.apache.solr.common.params.SolrParams, org.apache.solr.common.params.SolrParams, org.apache.solr.request.SolrQueryRequest)">QParser</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;qstr,
206        <A HREF="../../../../org/apache/solr/common/params/SolrParams.html" title="class in org.apache.solr.common.params">SolrParams</A>&nbsp;localParams,
207        <A HREF="../../../../org/apache/solr/common/params/SolrParams.html" title="class in org.apache.solr.common.params">SolrParams</A>&nbsp;params,
208        <A HREF="../../../../org/apache/solr/request/SolrQueryRequest.html" title="interface in org.apache.solr.request">SolrQueryRequest</A>&nbsp;req)</CODE>
209
210<BR>
211&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructor for the QParser</TD>
212</TR>
213</TABLE>
214&nbsp;
215<!-- ========== METHOD SUMMARY =========== -->
216
217<A NAME="method_summary"><!-- --></A>
218<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
219<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
220<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
221<B>Method Summary</B></FONT></TH>
222</TR>
223<TR BGCOLOR="white" CLASS="TableRowColor">
224<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
225<CODE>&nbsp;void</CODE></FONT></TD>
226<TD><CODE><B><A HREF="../../../../org/apache/solr/search/QParser.html#addDebugInfo(org.apache.solr.common.util.NamedList)">addDebugInfo</A></B>(<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/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&gt;&nbsp;debugInfo)</CODE>
227
228<BR>
229&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
230</TR>
231<TR BGCOLOR="white" CLASS="TableRowColor">
232<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
233<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>
234<TD><CODE><B><A HREF="../../../../org/apache/solr/search/QParser.html#getDefaultHighlightFields()">getDefaultHighlightFields</A></B>()</CODE>
235
236<BR>
237&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
238</TR>
239<TR BGCOLOR="white" CLASS="TableRowColor">
240<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
241<CODE>&nbsp;<A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/search/Query.html?is-external=true" title="class or interface in org.apache.lucene.search">Query</A></CODE></FONT></TD>
242<TD><CODE><B><A HREF="../../../../org/apache/solr/search/QParser.html#getHighlightQuery()">getHighlightQuery</A></B>()</CODE>
243
244<BR>
245&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
246</TR>
247<TR BGCOLOR="white" CLASS="TableRowColor">
248<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
249<CODE>&nbsp;<A HREF="../../../../org/apache/solr/common/params/SolrParams.html" title="class in org.apache.solr.common.params">SolrParams</A></CODE></FONT></TD>
250<TD><CODE><B><A HREF="../../../../org/apache/solr/search/QParser.html#getLocalParams()">getLocalParams</A></B>()</CODE>
251
252<BR>
253&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
254</TR>
255<TR BGCOLOR="white" CLASS="TableRowColor">
256<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
257<CODE>&nbsp;<A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/search/ScoreDoc.html?is-external=true" title="class or interface in org.apache.lucene.search">ScoreDoc</A></CODE></FONT></TD>
258<TD><CODE><B><A HREF="../../../../org/apache/solr/search/QParser.html#getPaging()">getPaging</A></B>()</CODE>
259
260<BR>
261&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;use common params to look up pageScore and pageDoc in global params</TD>
262</TR>
263<TR BGCOLOR="white" CLASS="TableRowColor">
264<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
265<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>
266<TD><CODE><B><A HREF="../../../../org/apache/solr/search/QParser.html#getParam(java.lang.String)">getParam</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;name)</CODE>
267
268<BR>
269&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;check both local and global params</TD>
270</TR>
271<TR BGCOLOR="white" CLASS="TableRowColor">
272<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
273<CODE>&nbsp;<A HREF="../../../../org/apache/solr/common/params/SolrParams.html" title="class in org.apache.solr.common.params">SolrParams</A></CODE></FONT></TD>
274<TD><CODE><B><A HREF="../../../../org/apache/solr/search/QParser.html#getParams()">getParams</A></B>()</CODE>
275
276<BR>
277&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
278</TR>
279<TR BGCOLOR="white" CLASS="TableRowColor">
280<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
281<CODE>static&nbsp;<A HREF="../../../../org/apache/solr/search/QParser.html" title="class in org.apache.solr.search">QParser</A></CODE></FONT></TD>
282<TD><CODE><B><A HREF="../../../../org/apache/solr/search/QParser.html#getParser(java.lang.String, java.lang.String, org.apache.solr.request.SolrQueryRequest)">getParser</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;qstr,
283          <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;defaultParser,
284          <A HREF="../../../../org/apache/solr/request/SolrQueryRequest.html" title="interface in org.apache.solr.request">SolrQueryRequest</A>&nbsp;req)</CODE>
285
286<BR>
287&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create a <code>QParser</code> to parse <code>qstr</code>,
288 assuming that the default query parser is <code>defaultParser</code>.</TD>
289</TR>
290<TR BGCOLOR="white" CLASS="TableRowColor">
291<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
292<CODE>&nbsp;<A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/search/Query.html?is-external=true" title="class or interface in org.apache.lucene.search">Query</A></CODE></FONT></TD>
293<TD><CODE><B><A HREF="../../../../org/apache/solr/search/QParser.html#getQuery()">getQuery</A></B>()</CODE>
294
295<BR>
296&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the resulting query from this QParser, calling parse() only the
297 first time and caching the Query result.</TD>
298</TR>
299<TR BGCOLOR="white" CLASS="TableRowColor">
300<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
301<CODE>&nbsp;<A HREF="../../../../org/apache/solr/request/SolrQueryRequest.html" title="interface in org.apache.solr.request">SolrQueryRequest</A></CODE></FONT></TD>
302<TD><CODE><B><A HREF="../../../../org/apache/solr/search/QParser.html#getReq()">getReq</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="../../../../org/apache/solr/search/SortSpec.html" title="class in org.apache.solr.search">SortSpec</A></CODE></FONT></TD>
310<TD><CODE><B><A HREF="../../../../org/apache/solr/search/QParser.html#getSort(boolean)">getSort</A></B>(boolean&nbsp;useGlobalParams)</CODE>
311
312<BR>
313&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
314</TR>
315<TR BGCOLOR="white" CLASS="TableRowColor">
316<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
317<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>
318<TD><CODE><B><A HREF="../../../../org/apache/solr/search/QParser.html#getString()">getString</A></B>()</CODE>
319
320<BR>
321&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
322</TR>
323<TR BGCOLOR="white" CLASS="TableRowColor">
324<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
325<CODE>abstract &nbsp;<A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/search/Query.html?is-external=true" title="class or interface in org.apache.lucene.search">Query</A></CODE></FONT></TD>
326<TD><CODE><B><A HREF="../../../../org/apache/solr/search/QParser.html#parse()">parse</A></B>()</CODE>
327
328<BR>
329&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create and return the <code>Query</code> object represented by <code>qstr</code>.</TD>
330</TR>
331<TR BGCOLOR="white" CLASS="TableRowColor">
332<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
333<CODE>&nbsp;void</CODE></FONT></TD>
334<TD><CODE><B><A HREF="../../../../org/apache/solr/search/QParser.html#setLocalParams(org.apache.solr.common.params.SolrParams)">setLocalParams</A></B>(<A HREF="../../../../org/apache/solr/common/params/SolrParams.html" title="class in org.apache.solr.common.params">SolrParams</A>&nbsp;localParams)</CODE>
335
336<BR>
337&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
338</TR>
339<TR BGCOLOR="white" CLASS="TableRowColor">
340<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
341<CODE>&nbsp;void</CODE></FONT></TD>
342<TD><CODE><B><A HREF="../../../../org/apache/solr/search/QParser.html#setParams(org.apache.solr.common.params.SolrParams)">setParams</A></B>(<A HREF="../../../../org/apache/solr/common/params/SolrParams.html" title="class in org.apache.solr.common.params">SolrParams</A>&nbsp;params)</CODE>
343
344<BR>
345&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
346</TR>
347<TR BGCOLOR="white" CLASS="TableRowColor">
348<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
349<CODE>&nbsp;void</CODE></FONT></TD>
350<TD><CODE><B><A HREF="../../../../org/apache/solr/search/QParser.html#setReq(org.apache.solr.request.SolrQueryRequest)">setReq</A></B>(<A HREF="../../../../org/apache/solr/request/SolrQueryRequest.html" title="interface in org.apache.solr.request">SolrQueryRequest</A>&nbsp;req)</CODE>
351
352<BR>
353&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
354</TR>
355<TR BGCOLOR="white" CLASS="TableRowColor">
356<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
357<CODE>&nbsp;void</CODE></FONT></TD>
358<TD><CODE><B><A HREF="../../../../org/apache/solr/search/QParser.html#setString(java.lang.String)">setString</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;s)</CODE>
359
360<BR>
361&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
362</TR>
363<TR BGCOLOR="white" CLASS="TableRowColor">
364<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
365<CODE>&nbsp;<A HREF="../../../../org/apache/solr/search/QParser.html" title="class in org.apache.solr.search">QParser</A></CODE></FONT></TD>
366<TD><CODE><B><A HREF="../../../../org/apache/solr/search/QParser.html#subQuery(java.lang.String, java.lang.String)">subQuery</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;q,
367         <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;defaultType)</CODE>
368
369<BR>
370&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create a new QParser for parsing an embedded sub-query</TD>
371</TR>
372</TABLE>
373&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
374<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
375<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
376<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>
377</TR>
378<TR BGCOLOR="white" CLASS="TableRowColor">
379<TD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
380</TR>
381</TABLE>
382&nbsp;
383<P>
384
385<!-- ============ FIELD DETAIL =========== -->
386
387<A NAME="field_detail"><!-- --></A>
388<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
389<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
390<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
391<B>Field Detail</B></FONT></TH>
392</TR>
393</TABLE>
394
395<A NAME="qstr"><!-- --></A><H3>
396qstr</H3>
397<PRE>
398protected <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>qstr</B></PRE>
399<DL>
400<DL>
401</DL>
402</DL>
403<HR>
404
405<A NAME="params"><!-- --></A><H3>
406params</H3>
407<PRE>
408protected <A HREF="../../../../org/apache/solr/common/params/SolrParams.html" title="class in org.apache.solr.common.params">SolrParams</A> <B>params</B></PRE>
409<DL>
410<DL>
411</DL>
412</DL>
413<HR>
414
415<A NAME="localParams"><!-- --></A><H3>
416localParams</H3>
417<PRE>
418protected <A HREF="../../../../org/apache/solr/common/params/SolrParams.html" title="class in org.apache.solr.common.params">SolrParams</A> <B>localParams</B></PRE>
419<DL>
420<DL>
421</DL>
422</DL>
423<HR>
424
425<A NAME="req"><!-- --></A><H3>
426req</H3>
427<PRE>
428protected <A HREF="../../../../org/apache/solr/request/SolrQueryRequest.html" title="interface in org.apache.solr.request">SolrQueryRequest</A> <B>req</B></PRE>
429<DL>
430<DL>
431</DL>
432</DL>
433<HR>
434
435<A NAME="recurseCount"><!-- --></A><H3>
436recurseCount</H3>
437<PRE>
438protected int <B>recurseCount</B></PRE>
439<DL>
440<DL>
441</DL>
442</DL>
443<HR>
444
445<A NAME="query"><!-- --></A><H3>
446query</H3>
447<PRE>
448protected <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/search/Query.html?is-external=true" title="class or interface in org.apache.lucene.search">Query</A> <B>query</B></PRE>
449<DL>
450<DL>
451</DL>
452</DL>
453<HR>
454
455<A NAME="stringIncludingLocalParams"><!-- --></A><H3>
456stringIncludingLocalParams</H3>
457<PRE>
458protected <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>stringIncludingLocalParams</B></PRE>
459<DL>
460<DL>
461</DL>
462</DL>
463<HR>
464
465<A NAME="valFollowedParams"><!-- --></A><H3>
466valFollowedParams</H3>
467<PRE>
468protected boolean <B>valFollowedParams</B></PRE>
469<DL>
470<DL>
471</DL>
472</DL>
473<HR>
474
475<A NAME="localParamsEnd"><!-- --></A><H3>
476localParamsEnd</H3>
477<PRE>
478protected int <B>localParamsEnd</B></PRE>
479<DL>
480<DL>
481</DL>
482</DL>
483
484<!-- ========= CONSTRUCTOR DETAIL ======== -->
485
486<A NAME="constructor_detail"><!-- --></A>
487<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
488<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
489<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
490<B>Constructor Detail</B></FONT></TH>
491</TR>
492</TABLE>
493
494<A NAME="QParser(java.lang.String, org.apache.solr.common.params.SolrParams, org.apache.solr.common.params.SolrParams, org.apache.solr.request.SolrQueryRequest)"><!-- --></A><H3>
495QParser</H3>
496<PRE>
497public <B>QParser</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;qstr,
498               <A HREF="../../../../org/apache/solr/common/params/SolrParams.html" title="class in org.apache.solr.common.params">SolrParams</A>&nbsp;localParams,
499               <A HREF="../../../../org/apache/solr/common/params/SolrParams.html" title="class in org.apache.solr.common.params">SolrParams</A>&nbsp;params,
500               <A HREF="../../../../org/apache/solr/request/SolrQueryRequest.html" title="interface in org.apache.solr.request">SolrQueryRequest</A>&nbsp;req)</PRE>
501<DL>
502<DD>Constructor for the QParser
503<P>
504<DL>
505<DT><B>Parameters:</B><DD><CODE>qstr</CODE> - The part of the query string specific to this parser<DD><CODE>localParams</CODE> - The set of parameters that are specific to this QParser.  See http://wiki.apache.org/solr/LocalParams<DD><CODE>params</CODE> - The rest of the <A HREF="../../../../org/apache/solr/common/params/SolrParams.html" title="class in org.apache.solr.common.params"><CODE>SolrParams</CODE></A><DD><CODE>req</CODE> - The original <A HREF="../../../../org/apache/solr/request/SolrQueryRequest.html" title="interface in org.apache.solr.request"><CODE>SolrQueryRequest</CODE></A>.</DL>
506</DL>
507
508<!-- ============ METHOD DETAIL ========== -->
509
510<A NAME="method_detail"><!-- --></A>
511<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
512<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
513<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
514<B>Method Detail</B></FONT></TH>
515</TR>
516</TABLE>
517
518<A NAME="parse()"><!-- --></A><H3>
519parse</H3>
520<PRE>
521public abstract <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/search/Query.html?is-external=true" title="class or interface in org.apache.lucene.search">Query</A> <B>parse</B>()
522                     throws <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//queryparser/org/apache/lucene/queryparser/classic/ParseException.html?is-external=true" title="class or interface in org.apache.lucene.queryparser.classic">ParseException</A></PRE>
523<DL>
524<DD>Create and return the <code>Query</code> object represented by <code>qstr</code>.  Null MAY be returned to signify
525 there was no input (e.g. no query string) to parse.
526<P>
527<DD><DL>
528
529<DT><B>Throws:</B>
530<DD><CODE><A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//queryparser/org/apache/lucene/queryparser/classic/ParseException.html?is-external=true" title="class or interface in org.apache.lucene.queryparser.classic">ParseException</A></CODE><DT><B>See Also:</B><DD><A HREF="../../../../org/apache/solr/search/QParser.html#getQuery()"><CODE>getQuery()</CODE></A></DL>
531</DD>
532</DL>
533<HR>
534
535<A NAME="getLocalParams()"><!-- --></A><H3>
536getLocalParams</H3>
537<PRE>
538public <A HREF="../../../../org/apache/solr/common/params/SolrParams.html" title="class in org.apache.solr.common.params">SolrParams</A> <B>getLocalParams</B>()</PRE>
539<DL>
540<DD><DL>
541</DL>
542</DD>
543</DL>
544<HR>
545
546<A NAME="setLocalParams(org.apache.solr.common.params.SolrParams)"><!-- --></A><H3>
547setLocalParams</H3>
548<PRE>
549public void <B>setLocalParams</B>(<A HREF="../../../../org/apache/solr/common/params/SolrParams.html" title="class in org.apache.solr.common.params">SolrParams</A>&nbsp;localParams)</PRE>
550<DL>
551<DD><DL>
552</DL>
553</DD>
554</DL>
555<HR>
556
557<A NAME="getParams()"><!-- --></A><H3>
558getParams</H3>
559<PRE>
560public <A HREF="../../../../org/apache/solr/common/params/SolrParams.html" title="class in org.apache.solr.common.params">SolrParams</A> <B>getParams</B>()</PRE>
561<DL>
562<DD><DL>
563</DL>
564</DD>
565</DL>
566<HR>
567
568<A NAME="setParams(org.apache.solr.common.params.SolrParams)"><!-- --></A><H3>
569setParams</H3>
570<PRE>
571public void <B>setParams</B>(<A HREF="../../../../org/apache/solr/common/params/SolrParams.html" title="class in org.apache.solr.common.params">SolrParams</A>&nbsp;params)</PRE>
572<DL>
573<DD><DL>
574</DL>
575</DD>
576</DL>
577<HR>
578
579<A NAME="getReq()"><!-- --></A><H3>
580getReq</H3>
581<PRE>
582public <A HREF="../../../../org/apache/solr/request/SolrQueryRequest.html" title="interface in org.apache.solr.request">SolrQueryRequest</A> <B>getReq</B>()</PRE>
583<DL>
584<DD><DL>
585</DL>
586</DD>
587</DL>
588<HR>
589
590<A NAME="setReq(org.apache.solr.request.SolrQueryRequest)"><!-- --></A><H3>
591setReq</H3>
592<PRE>
593public void <B>setReq</B>(<A HREF="../../../../org/apache/solr/request/SolrQueryRequest.html" title="interface in org.apache.solr.request">SolrQueryRequest</A>&nbsp;req)</PRE>
594<DL>
595<DD><DL>
596</DL>
597</DD>
598</DL>
599<HR>
600
601<A NAME="getString()"><!-- --></A><H3>
602getString</H3>
603<PRE>
604public <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>getString</B>()</PRE>
605<DL>
606<DD><DL>
607</DL>
608</DD>
609</DL>
610<HR>
611
612<A NAME="setString(java.lang.String)"><!-- --></A><H3>
613setString</H3>
614<PRE>
615public void <B>setString</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;s)</PRE>
616<DL>
617<DD><DL>
618</DL>
619</DD>
620</DL>
621<HR>
622
623<A NAME="getQuery()"><!-- --></A><H3>
624getQuery</H3>
625<PRE>
626public <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/search/Query.html?is-external=true" title="class or interface in org.apache.lucene.search">Query</A> <B>getQuery</B>()
627               throws <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//queryparser/org/apache/lucene/queryparser/classic/ParseException.html?is-external=true" title="class or interface in org.apache.lucene.queryparser.classic">ParseException</A></PRE>
628<DL>
629<DD>Returns the resulting query from this QParser, calling parse() only the
630 first time and caching the Query result.
631<P>
632<DD><DL>
633
634<DT><B>Throws:</B>
635<DD><CODE><A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//queryparser/org/apache/lucene/queryparser/classic/ParseException.html?is-external=true" title="class or interface in org.apache.lucene.queryparser.classic">ParseException</A></CODE></DL>
636</DD>
637</DL>
638<HR>
639
640<A NAME="getParam(java.lang.String)"><!-- --></A><H3>
641getParam</H3>
642<PRE>
643public <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>getParam</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;name)</PRE>
644<DL>
645<DD>check both local and global params
646<P>
647<DD><DL>
648</DL>
649</DD>
650</DL>
651<HR>
652
653<A NAME="subQuery(java.lang.String, java.lang.String)"><!-- --></A><H3>
654subQuery</H3>
655<PRE>
656public <A HREF="../../../../org/apache/solr/search/QParser.html" title="class in org.apache.solr.search">QParser</A> <B>subQuery</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;q,
657                        <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;defaultType)
658                 throws <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//queryparser/org/apache/lucene/queryparser/classic/ParseException.html?is-external=true" title="class or interface in org.apache.lucene.queryparser.classic">ParseException</A></PRE>
659<DL>
660<DD>Create a new QParser for parsing an embedded sub-query
661<P>
662<DD><DL>
663
664<DT><B>Throws:</B>
665<DD><CODE><A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//queryparser/org/apache/lucene/queryparser/classic/ParseException.html?is-external=true" title="class or interface in org.apache.lucene.queryparser.classic">ParseException</A></CODE></DL>
666</DD>
667</DL>
668<HR>
669
670<A NAME="getPaging()"><!-- --></A><H3>
671getPaging</H3>
672<PRE>
673public <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/search/ScoreDoc.html?is-external=true" title="class or interface in org.apache.lucene.search">ScoreDoc</A> <B>getPaging</B>()
674                   throws <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//queryparser/org/apache/lucene/queryparser/classic/ParseException.html?is-external=true" title="class or interface in org.apache.lucene.queryparser.classic">ParseException</A></PRE>
675<DL>
676<DD>use common params to look up pageScore and pageDoc in global params
677<P>
678<DD><DL>
679
680<DT><B>Returns:</B><DD>the ScoreDoc
681<DT><B>Throws:</B>
682<DD><CODE><A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//queryparser/org/apache/lucene/queryparser/classic/ParseException.html?is-external=true" title="class or interface in org.apache.lucene.queryparser.classic">ParseException</A></CODE></DL>
683</DD>
684</DL>
685<HR>
686
687<A NAME="getSort(boolean)"><!-- --></A><H3>
688getSort</H3>
689<PRE>
690public <A HREF="../../../../org/apache/solr/search/SortSpec.html" title="class in org.apache.solr.search">SortSpec</A> <B>getSort</B>(boolean&nbsp;useGlobalParams)
691                 throws <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//queryparser/org/apache/lucene/queryparser/classic/ParseException.html?is-external=true" title="class or interface in org.apache.lucene.queryparser.classic">ParseException</A></PRE>
692<DL>
693<DD><DL>
694<DT><B>Parameters:</B><DD><CODE>useGlobalParams</CODE> - look up sort, start, rows in global params if not in local params
695<DT><B>Returns:</B><DD>the sort specification
696<DT><B>Throws:</B>
697<DD><CODE><A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//queryparser/org/apache/lucene/queryparser/classic/ParseException.html?is-external=true" title="class or interface in org.apache.lucene.queryparser.classic">ParseException</A></CODE></DL>
698</DD>
699</DL>
700<HR>
701
702<A NAME="getDefaultHighlightFields()"><!-- --></A><H3>
703getDefaultHighlightFields</H3>
704<PRE>
705public <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>getDefaultHighlightFields</B>()</PRE>
706<DL>
707<DD><DL>
708</DL>
709</DD>
710</DL>
711<HR>
712
713<A NAME="getHighlightQuery()"><!-- --></A><H3>
714getHighlightQuery</H3>
715<PRE>
716public <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/search/Query.html?is-external=true" title="class or interface in org.apache.lucene.search">Query</A> <B>getHighlightQuery</B>()
717                        throws <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//queryparser/org/apache/lucene/queryparser/classic/ParseException.html?is-external=true" title="class or interface in org.apache.lucene.queryparser.classic">ParseException</A></PRE>
718<DL>
719<DD><DL>
720
721<DT><B>Throws:</B>
722<DD><CODE><A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//queryparser/org/apache/lucene/queryparser/classic/ParseException.html?is-external=true" title="class or interface in org.apache.lucene.queryparser.classic">ParseException</A></CODE></DL>
723</DD>
724</DL>
725<HR>
726
727<A NAME="addDebugInfo(org.apache.solr.common.util.NamedList)"><!-- --></A><H3>
728addDebugInfo</H3>
729<PRE>
730public void <B>addDebugInfo</B>(<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/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&gt;&nbsp;debugInfo)</PRE>
731<DL>
732<DD><DL>
733</DL>
734</DD>
735</DL>
736<HR>
737
738<A NAME="getParser(java.lang.String, java.lang.String, org.apache.solr.request.SolrQueryRequest)"><!-- --></A><H3>
739getParser</H3>
740<PRE>
741public static <A HREF="../../../../org/apache/solr/search/QParser.html" title="class in org.apache.solr.search">QParser</A> <B>getParser</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;qstr,
742                                <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;defaultParser,
743                                <A HREF="../../../../org/apache/solr/request/SolrQueryRequest.html" title="interface in org.apache.solr.request">SolrQueryRequest</A>&nbsp;req)
744                         throws <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//queryparser/org/apache/lucene/queryparser/classic/ParseException.html?is-external=true" title="class or interface in org.apache.lucene.queryparser.classic">ParseException</A></PRE>
745<DL>
746<DD>Create a <code>QParser</code> to parse <code>qstr</code>,
747 assuming that the default query parser is <code>defaultParser</code>.
748 The query parser may be overridden by local parameters in the query
749 string itself.  For example if defaultParser=<code>"dismax"</code>
750 and qstr=<code>foo</code>, then the dismax query parser will be used
751 to parse and construct the query object.  However
752 if qstr=<code>{!prefix f=myfield}foo</code>
753 then the prefix query parser will be used.
754<P>
755<DD><DL>
756
757<DT><B>Throws:</B>
758<DD><CODE><A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//queryparser/org/apache/lucene/queryparser/classic/ParseException.html?is-external=true" title="class or interface in org.apache.lucene.queryparser.classic">ParseException</A></CODE></DL>
759</DD>
760</DL>
761<!-- ========= END OF CLASS DATA ========= -->
762<HR>
763
764
765<!-- ======= START OF BOTTOM NAVBAR ====== -->
766<A NAME="navbar_bottom"><!-- --></A>
767<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
768<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
769<TR>
770<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
771<A NAME="navbar_bottom_firstrow"><!-- --></A>
772<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
773  <TR ALIGN="center" VALIGN="top">
774  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
775  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
776  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
777  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/QParser.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
778  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
779  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
780  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
781  </TR>
782</TABLE>
783</TD>
784<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
785</EM>
786</TD>
787</TR>
788
789<TR>
790<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
791&nbsp;<A HREF="../../../../org/apache/solr/search/PrefixQParserPlugin.html" title="class in org.apache.solr.search"><B>PREV CLASS</B></A>&nbsp;
792&nbsp;<A HREF="../../../../org/apache/solr/search/QParserPlugin.html" title="class in org.apache.solr.search"><B>NEXT CLASS</B></A></FONT></TD>
793<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
794  <A HREF="../../../../index.html?org/apache/solr/search/QParser.html" target="_top"><B>FRAMES</B></A>  &nbsp;
795&nbsp;<A HREF="QParser.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
796&nbsp;<SCRIPT type="text/javascript">
797  <!--
798  if(window==top) {
799    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
800  }
801  //-->
802</SCRIPT>
803<NOSCRIPT>
804  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
805</NOSCRIPT>
806
807
808</FONT></TD>
809</TR>
810<TR>
811<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
812  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>
813<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
814DETAIL:&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>
815</TR>
816</TABLE>
817<A NAME="skip-navbar_bottom"></A>
818<!-- ======== END OF BOTTOM NAVBAR ======= -->
819
820<HR>
821
822          <address>Copyright &copy; 2000-2012 Apache Software Foundation.  All Rights Reserved.</address>
823          <script src='../../../../prettify.js' type='text/javascript'></script>
824          <script type='text/javascript'>
825            (function(){
826              var oldonload = window.onload;
827              if (typeof oldonload != 'function') {
828                window.onload = prettyPrint;
829              } else {
830                window.onload = function() {
831                  oldonload();
832                  prettyPrint();
833                }
834              }
835            })();
836          </script>
837       
838</BODY>
839</HTML>
Note: See TracBrowser for help on using the repository browser.