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> |
---|
8 | FunctionQParser (Solr 4.0.0-ALPHA API) |
---|
9 | </TITLE> |
---|
10 | |
---|
11 | <META NAME="date" CONTENT="2012-06-25"> |
---|
12 | |
---|
13 | <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> |
---|
14 | |
---|
15 | <SCRIPT type="text/javascript"> |
---|
16 | function windowTitle() |
---|
17 | { |
---|
18 | if (location.href.indexOf('is-external=true') == -1) { |
---|
19 | parent.document.title="FunctionQParser (Solr 4.0.0-ALPHA API)"; |
---|
20 | } |
---|
21 | } |
---|
22 | </SCRIPT> |
---|
23 | <NOSCRIPT> |
---|
24 | </NOSCRIPT> |
---|
25 | |
---|
26 | </HEAD> |
---|
27 | |
---|
28 | <BODY BGCOLOR="white" onload="windowTitle();"> |
---|
29 | <HR> |
---|
30 | |
---|
31 | |
---|
32 | <!-- ========= START OF TOP NAVBAR ======= --> |
---|
33 | <A NAME="navbar_top"><!-- --></A> |
---|
34 | <A HREF="#skip-navbar_top" title="Skip navigation links"></A> |
---|
35 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
---|
36 | <TR> |
---|
37 | <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
---|
38 | <A NAME="navbar_top_firstrow"><!-- --></A> |
---|
39 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
---|
40 | <TR ALIGN="center" VALIGN="top"> |
---|
41 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
---|
42 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
---|
43 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
---|
44 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/FunctionQParser.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
---|
45 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
---|
46 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
---|
47 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
---|
48 | </TR> |
---|
49 | </TABLE> |
---|
50 | </TD> |
---|
51 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
---|
52 | </EM> |
---|
53 | </TD> |
---|
54 | </TR> |
---|
55 | |
---|
56 | <TR> |
---|
57 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
58 | <A HREF="../../../../org/apache/solr/search/FieldQParserPlugin.html" title="class in org.apache.solr.search"><B>PREV CLASS</B></A> |
---|
59 | <A HREF="../../../../org/apache/solr/search/FunctionQParserPlugin.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/FunctionQParser.html" target="_top"><B>FRAMES</B></A> |
---|
62 | <A HREF="FunctionQParser.html" target="_top"><B>NO FRAMES</B></A> |
---|
63 | <SCRIPT type="text/javascript"> |
---|
64 | <!-- |
---|
65 | if(window==top) { |
---|
66 | document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
---|
67 | } |
---|
68 | //--> |
---|
69 | </SCRIPT> |
---|
70 | <NOSCRIPT> |
---|
71 | <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> |
---|
72 | </NOSCRIPT> |
---|
73 | |
---|
74 | |
---|
75 | </FONT></TD> |
---|
76 | </TR> |
---|
77 | <TR> |
---|
78 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
79 | SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
---|
80 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
81 | DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
---|
82 | </TR> |
---|
83 | </TABLE> |
---|
84 | <A NAME="skip-navbar_top"></A> |
---|
85 | <!-- ========= END OF TOP NAVBAR ========= --> |
---|
86 | |
---|
87 | <HR> |
---|
88 | <!-- ======== START OF CLASS DATA ======== --> |
---|
89 | <H2> |
---|
90 | <FONT SIZE="-1"> |
---|
91 | org.apache.solr.search</FONT> |
---|
92 | <BR> |
---|
93 | Class FunctionQParser</H2> |
---|
94 | <PRE> |
---|
95 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A> |
---|
96 | <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../org/apache/solr/search/QParser.html" title="class in org.apache.solr.search">org.apache.solr.search.QParser</A> |
---|
97 | <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.solr.search.FunctionQParser</B> |
---|
98 | </PRE> |
---|
99 | <HR> |
---|
100 | <DL> |
---|
101 | <DT><PRE>public class <B>FunctionQParser</B><DT>extends <A HREF="../../../../org/apache/solr/search/QParser.html" title="class in org.apache.solr.search">QParser</A></DL> |
---|
102 | </PRE> |
---|
103 | |
---|
104 | <P> |
---|
105 | <HR> |
---|
106 | |
---|
107 | <P> |
---|
108 | <!-- =========== FIELD SUMMARY =========== --> |
---|
109 | |
---|
110 | <A NAME="field_summary"><!-- --></A> |
---|
111 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
112 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
113 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
114 | <B>Field Summary</B></FONT></TH> |
---|
115 | </TR> |
---|
116 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
117 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
118 | <CODE> <A HREF="../../../../org/apache/solr/search/QueryParsing.StrParser.html" title="class in org.apache.solr.search">QueryParsing.StrParser</A></CODE></FONT></TD> |
---|
119 | <TD><CODE><B><A HREF="../../../../org/apache/solr/search/FunctionQParser.html#sp">sp</A></B></CODE> |
---|
120 | |
---|
121 | <BR> |
---|
122 | </TD> |
---|
123 | </TR> |
---|
124 | </TABLE> |
---|
125 | <A NAME="fields_inherited_from_class_org.apache.solr.search.QParser"><!-- --></A> |
---|
126 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
127 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
128 | <TH ALIGN="left"><B>Fields inherited from class org.apache.solr.search.<A HREF="../../../../org/apache/solr/search/QParser.html" title="class in org.apache.solr.search">QParser</A></B></TH> |
---|
129 | </TR> |
---|
130 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
131 | <TD><CODE><A HREF="../../../../org/apache/solr/search/QParser.html#localParams">localParams</A>, <A HREF="../../../../org/apache/solr/search/QParser.html#localParamsEnd">localParamsEnd</A>, <A HREF="../../../../org/apache/solr/search/QParser.html#params">params</A>, <A HREF="../../../../org/apache/solr/search/QParser.html#qstr">qstr</A>, <A HREF="../../../../org/apache/solr/search/QParser.html#query">query</A>, <A HREF="../../../../org/apache/solr/search/QParser.html#recurseCount">recurseCount</A>, <A HREF="../../../../org/apache/solr/search/QParser.html#req">req</A>, <A HREF="../../../../org/apache/solr/search/QParser.html#stringIncludingLocalParams">stringIncludingLocalParams</A>, <A HREF="../../../../org/apache/solr/search/QParser.html#valFollowedParams">valFollowedParams</A></CODE></TD> |
---|
132 | </TR> |
---|
133 | </TABLE> |
---|
134 | |
---|
135 | <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
---|
136 | |
---|
137 | <A NAME="constructor_summary"><!-- --></A> |
---|
138 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
139 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
140 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
141 | <B>Constructor Summary</B></FONT></TH> |
---|
142 | </TR> |
---|
143 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
144 | <TD><CODE><B><A HREF="../../../../org/apache/solr/search/FunctionQParser.html#FunctionQParser(java.lang.String, org.apache.solr.common.params.SolrParams, org.apache.solr.common.params.SolrParams, org.apache.solr.request.SolrQueryRequest)">FunctionQParser</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> qstr, |
---|
145 | <A HREF="../../../../org/apache/solr/common/params/SolrParams.html" title="class in org.apache.solr.common.params">SolrParams</A> localParams, |
---|
146 | <A HREF="../../../../org/apache/solr/common/params/SolrParams.html" title="class in org.apache.solr.common.params">SolrParams</A> params, |
---|
147 | <A HREF="../../../../org/apache/solr/request/SolrQueryRequest.html" title="interface in org.apache.solr.request">SolrQueryRequest</A> req)</CODE> |
---|
148 | |
---|
149 | <BR> |
---|
150 | </TD> |
---|
151 | </TR> |
---|
152 | </TABLE> |
---|
153 | |
---|
154 | <!-- ========== METHOD SUMMARY =========== --> |
---|
155 | |
---|
156 | <A NAME="method_summary"><!-- --></A> |
---|
157 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
158 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
159 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
160 | <B>Method Summary</B></FONT></TH> |
---|
161 | </TR> |
---|
162 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
163 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
164 | <CODE> boolean</CODE></FONT></TD> |
---|
165 | <TD><CODE><B><A HREF="../../../../org/apache/solr/search/FunctionQParser.html#argWasQuoted()">argWasQuoted</A></B>()</CODE> |
---|
166 | |
---|
167 | <BR> |
---|
168 | </TD> |
---|
169 | </TR> |
---|
170 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
171 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
172 | <CODE>protected boolean</CODE></FONT></TD> |
---|
173 | <TD><CODE><B><A HREF="../../../../org/apache/solr/search/FunctionQParser.html#consumeArgumentDelimiter()">consumeArgumentDelimiter</A></B>()</CODE> |
---|
174 | |
---|
175 | <BR> |
---|
176 | Consume an argument delimiter (a comma) from the token stream.</TD> |
---|
177 | </TR> |
---|
178 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
179 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
180 | <CODE> boolean</CODE></FONT></TD> |
---|
181 | <TD><CODE><B><A HREF="../../../../org/apache/solr/search/FunctionQParser.html#getParseMultipleSources()">getParseMultipleSources</A></B>()</CODE> |
---|
182 | |
---|
183 | <BR> |
---|
184 | parse multiple comma separated value sources</TD> |
---|
185 | </TR> |
---|
186 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
187 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
188 | <CODE> boolean</CODE></FONT></TD> |
---|
189 | <TD><CODE><B><A HREF="../../../../org/apache/solr/search/FunctionQParser.html#getParseToEnd()">getParseToEnd</A></B>()</CODE> |
---|
190 | |
---|
191 | <BR> |
---|
192 | throw exception if there is extra stuff at the end of the parsed valuesource(s).</TD> |
---|
193 | </TR> |
---|
194 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
195 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
196 | <CODE> boolean</CODE></FONT></TD> |
---|
197 | <TD><CODE><B><A HREF="../../../../org/apache/solr/search/FunctionQParser.html#hasMoreArguments()">hasMoreArguments</A></B>()</CODE> |
---|
198 | |
---|
199 | <BR> |
---|
200 | Are there more arguments in the argument list being parsed?</TD> |
---|
201 | </TR> |
---|
202 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
203 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
204 | <CODE> <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> |
---|
205 | <TD><CODE><B><A HREF="../../../../org/apache/solr/search/FunctionQParser.html#parse()">parse</A></B>()</CODE> |
---|
206 | |
---|
207 | <BR> |
---|
208 | Create and return the <code>Query</code> object represented by <code>qstr</code>.</TD> |
---|
209 | </TR> |
---|
210 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
211 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
212 | <CODE> <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> |
---|
213 | <TD><CODE><B><A HREF="../../../../org/apache/solr/search/FunctionQParser.html#parseArg()">parseArg</A></B>()</CODE> |
---|
214 | |
---|
215 | <BR> |
---|
216 | </TD> |
---|
217 | </TR> |
---|
218 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
219 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
220 | <CODE> double</CODE></FONT></TD> |
---|
221 | <TD><CODE><B><A HREF="../../../../org/apache/solr/search/FunctionQParser.html#parseDouble()">parseDouble</A></B>()</CODE> |
---|
222 | |
---|
223 | <BR> |
---|
224 | Parse a Double</TD> |
---|
225 | </TR> |
---|
226 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
227 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
228 | <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Float.html?is-external=true" title="class or interface in java.lang">Float</A></CODE></FONT></TD> |
---|
229 | <TD><CODE><B><A HREF="../../../../org/apache/solr/search/FunctionQParser.html#parseFloat()">parseFloat</A></B>()</CODE> |
---|
230 | |
---|
231 | <BR> |
---|
232 | Parse a float.</TD> |
---|
233 | </TR> |
---|
234 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
235 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
236 | <CODE> <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> |
---|
237 | <TD><CODE><B><A HREF="../../../../org/apache/solr/search/FunctionQParser.html#parseId()">parseId</A></B>()</CODE> |
---|
238 | |
---|
239 | <BR> |
---|
240 | TODO: Doc</TD> |
---|
241 | </TR> |
---|
242 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
243 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
244 | <CODE> int</CODE></FONT></TD> |
---|
245 | <TD><CODE><B><A HREF="../../../../org/apache/solr/search/FunctionQParser.html#parseInt()">parseInt</A></B>()</CODE> |
---|
246 | |
---|
247 | <BR> |
---|
248 | Parse an integer</TD> |
---|
249 | </TR> |
---|
250 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
251 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
252 | <CODE> <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> |
---|
253 | <TD><CODE><B><A HREF="../../../../org/apache/solr/search/FunctionQParser.html#parseNestedQuery()">parseNestedQuery</A></B>()</CODE> |
---|
254 | |
---|
255 | <BR> |
---|
256 | TODO: Doc</TD> |
---|
257 | </TR> |
---|
258 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
259 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
260 | <CODE> <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//queries/org/apache/lucene/queries/function/ValueSource.html?is-external=true" title="class or interface in org.apache.lucene.queries.function">ValueSource</A></CODE></FONT></TD> |
---|
261 | <TD><CODE><B><A HREF="../../../../org/apache/solr/search/FunctionQParser.html#parseValueSource()">parseValueSource</A></B>()</CODE> |
---|
262 | |
---|
263 | <BR> |
---|
264 | Parse an individual ValueSource.</TD> |
---|
265 | </TR> |
---|
266 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
267 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
268 | <CODE>protected <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//queries/org/apache/lucene/queries/function/ValueSource.html?is-external=true" title="class or interface in org.apache.lucene.queries.function">ValueSource</A></CODE></FONT></TD> |
---|
269 | <TD><CODE><B><A HREF="../../../../org/apache/solr/search/FunctionQParser.html#parseValueSource(boolean)">parseValueSource</A></B>(boolean doConsumeDelimiter)</CODE> |
---|
270 | |
---|
271 | <BR> |
---|
272 | Parse an individual value source.</TD> |
---|
273 | </TR> |
---|
274 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
275 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
276 | <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//queries/org/apache/lucene/queries/function/ValueSource.html?is-external=true" title="class or interface in org.apache.lucene.queries.function">ValueSource</A>></CODE></FONT></TD> |
---|
277 | <TD><CODE><B><A HREF="../../../../org/apache/solr/search/FunctionQParser.html#parseValueSourceList()">parseValueSourceList</A></B>()</CODE> |
---|
278 | |
---|
279 | <BR> |
---|
280 | Parse a list of ValueSource.</TD> |
---|
281 | </TR> |
---|
282 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
283 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
284 | <CODE> void</CODE></FONT></TD> |
---|
285 | <TD><CODE><B><A HREF="../../../../org/apache/solr/search/FunctionQParser.html#setParseMultipleSources(boolean)">setParseMultipleSources</A></B>(boolean parseMultipleSources)</CODE> |
---|
286 | |
---|
287 | <BR> |
---|
288 | </TD> |
---|
289 | </TR> |
---|
290 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
291 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
292 | <CODE> void</CODE></FONT></TD> |
---|
293 | <TD><CODE><B><A HREF="../../../../org/apache/solr/search/FunctionQParser.html#setParseToEnd(boolean)">setParseToEnd</A></B>(boolean parseToEnd)</CODE> |
---|
294 | |
---|
295 | <BR> |
---|
296 | </TD> |
---|
297 | </TR> |
---|
298 | </TABLE> |
---|
299 | <A NAME="methods_inherited_from_class_org.apache.solr.search.QParser"><!-- --></A> |
---|
300 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
301 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
302 | <TH ALIGN="left"><B>Methods inherited from class org.apache.solr.search.<A HREF="../../../../org/apache/solr/search/QParser.html" title="class in org.apache.solr.search">QParser</A></B></TH> |
---|
303 | </TR> |
---|
304 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
305 | <TD><CODE><A HREF="../../../../org/apache/solr/search/QParser.html#addDebugInfo(org.apache.solr.common.util.NamedList)">addDebugInfo</A>, <A HREF="../../../../org/apache/solr/search/QParser.html#getDefaultHighlightFields()">getDefaultHighlightFields</A>, <A HREF="../../../../org/apache/solr/search/QParser.html#getHighlightQuery()">getHighlightQuery</A>, <A HREF="../../../../org/apache/solr/search/QParser.html#getLocalParams()">getLocalParams</A>, <A HREF="../../../../org/apache/solr/search/QParser.html#getPaging()">getPaging</A>, <A HREF="../../../../org/apache/solr/search/QParser.html#getParam(java.lang.String)">getParam</A>, <A HREF="../../../../org/apache/solr/search/QParser.html#getParams()">getParams</A>, <A HREF="../../../../org/apache/solr/search/QParser.html#getParser(java.lang.String, java.lang.String, org.apache.solr.request.SolrQueryRequest)">getParser</A>, <A HREF="../../../../org/apache/solr/search/QParser.html#getQuery()">getQuery</A>, <A HREF="../../../../org/apache/solr/search/QParser.html#getReq()">getReq</A>, <A HREF="../../../../org/apache/solr/search/QParser.html#getSort(boolean)">getSort</A>, <A HREF="../../../../org/apache/solr/search/QParser.html#getString()">getString</A>, <A HREF="../../../../org/apache/solr/search/QParser.html#setLocalParams(org.apache.solr.common.params.SolrParams)">setLocalParams</A>, <A HREF="../../../../org/apache/solr/search/QParser.html#setParams(org.apache.solr.common.params.SolrParams)">setParams</A>, <A HREF="../../../../org/apache/solr/search/QParser.html#setReq(org.apache.solr.request.SolrQueryRequest)">setReq</A>, <A HREF="../../../../org/apache/solr/search/QParser.html#setString(java.lang.String)">setString</A>, <A HREF="../../../../org/apache/solr/search/QParser.html#subQuery(java.lang.String, java.lang.String)">subQuery</A></CODE></TD> |
---|
306 | </TR> |
---|
307 | </TABLE> |
---|
308 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
---|
309 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
310 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
311 | <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> |
---|
312 | </TR> |
---|
313 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
314 | <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> |
---|
315 | </TR> |
---|
316 | </TABLE> |
---|
317 | |
---|
318 | <P> |
---|
319 | |
---|
320 | <!-- ============ FIELD DETAIL =========== --> |
---|
321 | |
---|
322 | <A NAME="field_detail"><!-- --></A> |
---|
323 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
324 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
325 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
326 | <B>Field Detail</B></FONT></TH> |
---|
327 | </TR> |
---|
328 | </TABLE> |
---|
329 | |
---|
330 | <A NAME="sp"><!-- --></A><H3> |
---|
331 | sp</H3> |
---|
332 | <PRE> |
---|
333 | public <A HREF="../../../../org/apache/solr/search/QueryParsing.StrParser.html" title="class in org.apache.solr.search">QueryParsing.StrParser</A> <B>sp</B></PRE> |
---|
334 | <DL> |
---|
335 | <DL> |
---|
336 | <DT><B>NOTE: This API is for internal purposes only and might change in incompatible ways in the next release.</B></DT> |
---|
337 | <DD></DD> |
---|
338 | </DL> |
---|
339 | </DL> |
---|
340 | |
---|
341 | <!-- ========= CONSTRUCTOR DETAIL ======== --> |
---|
342 | |
---|
343 | <A NAME="constructor_detail"><!-- --></A> |
---|
344 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
345 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
346 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
347 | <B>Constructor Detail</B></FONT></TH> |
---|
348 | </TR> |
---|
349 | </TABLE> |
---|
350 | |
---|
351 | <A NAME="FunctionQParser(java.lang.String, org.apache.solr.common.params.SolrParams, org.apache.solr.common.params.SolrParams, org.apache.solr.request.SolrQueryRequest)"><!-- --></A><H3> |
---|
352 | FunctionQParser</H3> |
---|
353 | <PRE> |
---|
354 | public <B>FunctionQParser</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> qstr, |
---|
355 | <A HREF="../../../../org/apache/solr/common/params/SolrParams.html" title="class in org.apache.solr.common.params">SolrParams</A> localParams, |
---|
356 | <A HREF="../../../../org/apache/solr/common/params/SolrParams.html" title="class in org.apache.solr.common.params">SolrParams</A> params, |
---|
357 | <A HREF="../../../../org/apache/solr/request/SolrQueryRequest.html" title="interface in org.apache.solr.request">SolrQueryRequest</A> req)</PRE> |
---|
358 | <DL> |
---|
359 | </DL> |
---|
360 | |
---|
361 | <!-- ============ METHOD DETAIL ========== --> |
---|
362 | |
---|
363 | <A NAME="method_detail"><!-- --></A> |
---|
364 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
365 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
366 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
367 | <B>Method Detail</B></FONT></TH> |
---|
368 | </TR> |
---|
369 | </TABLE> |
---|
370 | |
---|
371 | <A NAME="setParseMultipleSources(boolean)"><!-- --></A><H3> |
---|
372 | setParseMultipleSources</H3> |
---|
373 | <PRE> |
---|
374 | public void <B>setParseMultipleSources</B>(boolean parseMultipleSources)</PRE> |
---|
375 | <DL> |
---|
376 | <DD><DL> |
---|
377 | </DL> |
---|
378 | </DD> |
---|
379 | </DL> |
---|
380 | <HR> |
---|
381 | |
---|
382 | <A NAME="getParseMultipleSources()"><!-- --></A><H3> |
---|
383 | getParseMultipleSources</H3> |
---|
384 | <PRE> |
---|
385 | public boolean <B>getParseMultipleSources</B>()</PRE> |
---|
386 | <DL> |
---|
387 | <DD>parse multiple comma separated value sources |
---|
388 | <P> |
---|
389 | <DD><DL> |
---|
390 | </DL> |
---|
391 | </DD> |
---|
392 | </DL> |
---|
393 | <HR> |
---|
394 | |
---|
395 | <A NAME="setParseToEnd(boolean)"><!-- --></A><H3> |
---|
396 | setParseToEnd</H3> |
---|
397 | <PRE> |
---|
398 | public void <B>setParseToEnd</B>(boolean parseToEnd)</PRE> |
---|
399 | <DL> |
---|
400 | <DD><DL> |
---|
401 | </DL> |
---|
402 | </DD> |
---|
403 | </DL> |
---|
404 | <HR> |
---|
405 | |
---|
406 | <A NAME="getParseToEnd()"><!-- --></A><H3> |
---|
407 | getParseToEnd</H3> |
---|
408 | <PRE> |
---|
409 | public boolean <B>getParseToEnd</B>()</PRE> |
---|
410 | <DL> |
---|
411 | <DD>throw exception if there is extra stuff at the end of the parsed valuesource(s). |
---|
412 | <P> |
---|
413 | <DD><DL> |
---|
414 | </DL> |
---|
415 | </DD> |
---|
416 | </DL> |
---|
417 | <HR> |
---|
418 | |
---|
419 | <A NAME="parse()"><!-- --></A><H3> |
---|
420 | parse</H3> |
---|
421 | <PRE> |
---|
422 | public <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>() |
---|
423 | 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> |
---|
424 | <DL> |
---|
425 | <DD><B>Description copied from class: <CODE><A HREF="../../../../org/apache/solr/search/QParser.html#parse()">QParser</A></CODE></B></DD> |
---|
426 | <DD>Create and return the <code>Query</code> object represented by <code>qstr</code>. Null MAY be returned to signify |
---|
427 | there was no input (e.g. no query string) to parse. |
---|
428 | <P> |
---|
429 | <DD><DL> |
---|
430 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/solr/search/QParser.html#parse()">parse</A></CODE> in class <CODE><A HREF="../../../../org/apache/solr/search/QParser.html" title="class in org.apache.solr.search">QParser</A></CODE></DL> |
---|
431 | </DD> |
---|
432 | <DD><DL> |
---|
433 | |
---|
434 | <DT><B>Throws:</B> |
---|
435 | <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>QParser.getQuery()</CODE></A></DL> |
---|
436 | </DD> |
---|
437 | </DL> |
---|
438 | <HR> |
---|
439 | |
---|
440 | <A NAME="hasMoreArguments()"><!-- --></A><H3> |
---|
441 | hasMoreArguments</H3> |
---|
442 | <PRE> |
---|
443 | public boolean <B>hasMoreArguments</B>() |
---|
444 | 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> |
---|
445 | <DL> |
---|
446 | <DD>Are there more arguments in the argument list being parsed? |
---|
447 | <P> |
---|
448 | <DD><DL> |
---|
449 | |
---|
450 | <DT><B>Returns:</B><DD>whether more args exist |
---|
451 | <DT><B>Throws:</B> |
---|
452 | <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> |
---|
453 | </DD> |
---|
454 | </DL> |
---|
455 | <HR> |
---|
456 | |
---|
457 | <A NAME="parseId()"><!-- --></A><H3> |
---|
458 | parseId</H3> |
---|
459 | <PRE> |
---|
460 | public <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>parseId</B>() |
---|
461 | 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> |
---|
462 | <DL> |
---|
463 | <DD>TODO: Doc |
---|
464 | <P> |
---|
465 | <DD><DL> |
---|
466 | |
---|
467 | <DT><B>Throws:</B> |
---|
468 | <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> |
---|
469 | </DD> |
---|
470 | </DL> |
---|
471 | <HR> |
---|
472 | |
---|
473 | <A NAME="parseFloat()"><!-- --></A><H3> |
---|
474 | parseFloat</H3> |
---|
475 | <PRE> |
---|
476 | public <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Float.html?is-external=true" title="class or interface in java.lang">Float</A> <B>parseFloat</B>() |
---|
477 | 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> |
---|
478 | <DL> |
---|
479 | <DD>Parse a float. |
---|
480 | <P> |
---|
481 | <DD><DL> |
---|
482 | |
---|
483 | <DT><B>Returns:</B><DD>Float |
---|
484 | <DT><B>Throws:</B> |
---|
485 | <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> |
---|
486 | </DD> |
---|
487 | </DL> |
---|
488 | <HR> |
---|
489 | |
---|
490 | <A NAME="parseDouble()"><!-- --></A><H3> |
---|
491 | parseDouble</H3> |
---|
492 | <PRE> |
---|
493 | public double <B>parseDouble</B>() |
---|
494 | 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> |
---|
495 | <DL> |
---|
496 | <DD>Parse a Double |
---|
497 | <P> |
---|
498 | <DD><DL> |
---|
499 | |
---|
500 | <DT><B>Returns:</B><DD>double |
---|
501 | <DT><B>Throws:</B> |
---|
502 | <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> |
---|
503 | </DD> |
---|
504 | </DL> |
---|
505 | <HR> |
---|
506 | |
---|
507 | <A NAME="parseInt()"><!-- --></A><H3> |
---|
508 | parseInt</H3> |
---|
509 | <PRE> |
---|
510 | public int <B>parseInt</B>() |
---|
511 | 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> |
---|
512 | <DL> |
---|
513 | <DD>Parse an integer |
---|
514 | <P> |
---|
515 | <DD><DL> |
---|
516 | |
---|
517 | <DT><B>Returns:</B><DD>An int |
---|
518 | <DT><B>Throws:</B> |
---|
519 | <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> |
---|
520 | </DD> |
---|
521 | </DL> |
---|
522 | <HR> |
---|
523 | |
---|
524 | <A NAME="argWasQuoted()"><!-- --></A><H3> |
---|
525 | argWasQuoted</H3> |
---|
526 | <PRE> |
---|
527 | public boolean <B>argWasQuoted</B>()</PRE> |
---|
528 | <DL> |
---|
529 | <DD><DL> |
---|
530 | </DL> |
---|
531 | </DD> |
---|
532 | </DL> |
---|
533 | <HR> |
---|
534 | |
---|
535 | <A NAME="parseArg()"><!-- --></A><H3> |
---|
536 | parseArg</H3> |
---|
537 | <PRE> |
---|
538 | public <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>parseArg</B>() |
---|
539 | 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> |
---|
540 | <DL> |
---|
541 | <DD><DL> |
---|
542 | |
---|
543 | <DT><B>Throws:</B> |
---|
544 | <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> |
---|
545 | </DD> |
---|
546 | </DL> |
---|
547 | <HR> |
---|
548 | |
---|
549 | <A NAME="parseValueSourceList()"><!-- --></A><H3> |
---|
550 | parseValueSourceList</H3> |
---|
551 | <PRE> |
---|
552 | public <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//queries/org/apache/lucene/queries/function/ValueSource.html?is-external=true" title="class or interface in org.apache.lucene.queries.function">ValueSource</A>> <B>parseValueSourceList</B>() |
---|
553 | 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> |
---|
554 | <DL> |
---|
555 | <DD>Parse a list of ValueSource. Must be the final set of arguments |
---|
556 | to a ValueSource. |
---|
557 | <P> |
---|
558 | <DD><DL> |
---|
559 | |
---|
560 | <DT><B>Returns:</B><DD>List<ValueSource> |
---|
561 | <DT><B>Throws:</B> |
---|
562 | <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> |
---|
563 | </DD> |
---|
564 | </DL> |
---|
565 | <HR> |
---|
566 | |
---|
567 | <A NAME="parseValueSource()"><!-- --></A><H3> |
---|
568 | parseValueSource</H3> |
---|
569 | <PRE> |
---|
570 | public <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//queries/org/apache/lucene/queries/function/ValueSource.html?is-external=true" title="class or interface in org.apache.lucene.queries.function">ValueSource</A> <B>parseValueSource</B>() |
---|
571 | 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> |
---|
572 | <DL> |
---|
573 | <DD>Parse an individual ValueSource. |
---|
574 | <P> |
---|
575 | <DD><DL> |
---|
576 | |
---|
577 | <DT><B>Throws:</B> |
---|
578 | <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> |
---|
579 | </DD> |
---|
580 | </DL> |
---|
581 | <HR> |
---|
582 | |
---|
583 | <A NAME="parseNestedQuery()"><!-- --></A><H3> |
---|
584 | parseNestedQuery</H3> |
---|
585 | <PRE> |
---|
586 | public <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>parseNestedQuery</B>() |
---|
587 | 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> |
---|
588 | <DL> |
---|
589 | <DD>TODO: Doc |
---|
590 | <P> |
---|
591 | <DD><DL> |
---|
592 | |
---|
593 | <DT><B>Throws:</B> |
---|
594 | <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> |
---|
595 | </DD> |
---|
596 | </DL> |
---|
597 | <HR> |
---|
598 | |
---|
599 | <A NAME="parseValueSource(boolean)"><!-- --></A><H3> |
---|
600 | parseValueSource</H3> |
---|
601 | <PRE> |
---|
602 | protected <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//queries/org/apache/lucene/queries/function/ValueSource.html?is-external=true" title="class or interface in org.apache.lucene.queries.function">ValueSource</A> <B>parseValueSource</B>(boolean doConsumeDelimiter) |
---|
603 | 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> |
---|
604 | <DL> |
---|
605 | <DD>Parse an individual value source. |
---|
606 | <P> |
---|
607 | <DD><DL> |
---|
608 | <DT><B>Parameters:</B><DD><CODE>doConsumeDelimiter</CODE> - whether to consume a delimiter following the ValueSource |
---|
609 | <DT><B>Throws:</B> |
---|
610 | <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> |
---|
611 | </DD> |
---|
612 | </DL> |
---|
613 | <HR> |
---|
614 | |
---|
615 | <A NAME="consumeArgumentDelimiter()"><!-- --></A><H3> |
---|
616 | consumeArgumentDelimiter</H3> |
---|
617 | <PRE> |
---|
618 | protected boolean <B>consumeArgumentDelimiter</B>() |
---|
619 | 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> |
---|
620 | <DL> |
---|
621 | <DD>Consume an argument delimiter (a comma) from the token stream. |
---|
622 | Only consumes if more arguments should exist (no ending parens or end of string). |
---|
623 | <P> |
---|
624 | <DD><DL> |
---|
625 | |
---|
626 | <DT><B>Returns:</B><DD>whether a delimiter was consumed |
---|
627 | <DT><B>Throws:</B> |
---|
628 | <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> |
---|
629 | </DD> |
---|
630 | </DL> |
---|
631 | <!-- ========= END OF CLASS DATA ========= --> |
---|
632 | <HR> |
---|
633 | |
---|
634 | |
---|
635 | <!-- ======= START OF BOTTOM NAVBAR ====== --> |
---|
636 | <A NAME="navbar_bottom"><!-- --></A> |
---|
637 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
---|
638 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
---|
639 | <TR> |
---|
640 | <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
---|
641 | <A NAME="navbar_bottom_firstrow"><!-- --></A> |
---|
642 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
---|
643 | <TR ALIGN="center" VALIGN="top"> |
---|
644 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
---|
645 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
---|
646 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
---|
647 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/FunctionQParser.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
---|
648 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
---|
649 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
---|
650 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
---|
651 | </TR> |
---|
652 | </TABLE> |
---|
653 | </TD> |
---|
654 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
---|
655 | </EM> |
---|
656 | </TD> |
---|
657 | </TR> |
---|
658 | |
---|
659 | <TR> |
---|
660 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
661 | <A HREF="../../../../org/apache/solr/search/FieldQParserPlugin.html" title="class in org.apache.solr.search"><B>PREV CLASS</B></A> |
---|
662 | <A HREF="../../../../org/apache/solr/search/FunctionQParserPlugin.html" title="class in org.apache.solr.search"><B>NEXT CLASS</B></A></FONT></TD> |
---|
663 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
664 | <A HREF="../../../../index.html?org/apache/solr/search/FunctionQParser.html" target="_top"><B>FRAMES</B></A> |
---|
665 | <A HREF="FunctionQParser.html" target="_top"><B>NO FRAMES</B></A> |
---|
666 | <SCRIPT type="text/javascript"> |
---|
667 | <!-- |
---|
668 | if(window==top) { |
---|
669 | document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
---|
670 | } |
---|
671 | //--> |
---|
672 | </SCRIPT> |
---|
673 | <NOSCRIPT> |
---|
674 | <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> |
---|
675 | </NOSCRIPT> |
---|
676 | |
---|
677 | |
---|
678 | </FONT></TD> |
---|
679 | </TR> |
---|
680 | <TR> |
---|
681 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
682 | SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
---|
683 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
684 | DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
---|
685 | </TR> |
---|
686 | </TABLE> |
---|
687 | <A NAME="skip-navbar_bottom"></A> |
---|
688 | <!-- ======== END OF BOTTOM NAVBAR ======= --> |
---|
689 | |
---|
690 | <HR> |
---|
691 | |
---|
692 | <address>Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.</address> |
---|
693 | <script src='../../../../prettify.js' type='text/javascript'></script> |
---|
694 | <script type='text/javascript'> |
---|
695 | (function(){ |
---|
696 | var oldonload = window.onload; |
---|
697 | if (typeof oldonload != 'function') { |
---|
698 | window.onload = prettyPrint; |
---|
699 | } else { |
---|
700 | window.onload = function() { |
---|
701 | oldonload(); |
---|
702 | prettyPrint(); |
---|
703 | } |
---|
704 | } |
---|
705 | })(); |
---|
706 | </script> |
---|
707 | |
---|
708 | </BODY> |
---|
709 | </HTML> |
---|