source: sandbox/expresso-solr/solr/docs/api/org/apache/solr/update/processor/URLClassifyProcessor.html @ 7588

Revision 7588, 26.6 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:26 EDT 2012 -->
6<META http-equiv="Content-Type" content="text/html; charset=utf-8">
7<TITLE>
8URLClassifyProcessor (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="URLClassifyProcessor (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/URLClassifyProcessor.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/update/processor/UpdateRequestProcessorFactory.html" title="class in org.apache.solr.update.processor"><B>PREV CLASS</B></A>&nbsp;
59&nbsp;<A HREF="../../../../../org/apache/solr/update/processor/URLClassifyProcessorFactory.html" title="class in org.apache.solr.update.processor"><B>NEXT CLASS</B></A></FONT></TD>
60<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
61  <A HREF="../../../../../index.html?org/apache/solr/update/processor/URLClassifyProcessor.html" target="_top"><B>FRAMES</B></A>  &nbsp;
62&nbsp;<A HREF="URLClassifyProcessor.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="#fields_inherited_from_class_org.apache.solr.update.processor.UpdateRequestProcessor">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
80<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
81DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
82</TR>
83</TABLE>
84<A NAME="skip-navbar_top"></A>
85<!-- ========= END OF TOP NAVBAR ========= -->
86
87<HR>
88<!-- ======== START OF CLASS DATA ======== -->
89<H2>
90<FONT SIZE="-1">
91org.apache.solr.update.processor</FONT>
92<BR>
93Class URLClassifyProcessor</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/update/processor/UpdateRequestProcessor.html" title="class in org.apache.solr.update.processor">org.apache.solr.update.processor.UpdateRequestProcessor</A>
97      <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.solr.update.processor.URLClassifyProcessor</B>
98</PRE>
99<HR>
100<DL>
101<DT><PRE>public class <B>URLClassifyProcessor</B><DT>extends <A HREF="../../../../../org/apache/solr/update/processor/UpdateRequestProcessor.html" title="class in org.apache.solr.update.processor">UpdateRequestProcessor</A></DL>
102</PRE>
103
104<P>
105Update processor which examines a URL and outputs to various other fields
106 characteristics of that URL, including length, number of path levels, whether
107 it is a top level URL (levels==0), whether it looks like a landing/index page,
108 a canonical representation of the URL (e.g. stripping index.html), the domain
109 and path parts of the URL etc.
110 <p>
111 This processor is intended used in connection with processing web resources,
112 and helping to produce values which may be used for boosting or filtering later.
113<P>
114
115<P>
116<HR>
117
118<P>
119<!-- =========== FIELD SUMMARY =========== -->
120
121<A NAME="field_summary"><!-- --></A>
122<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
123<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
124<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
125<B>Field Summary</B></FONT></TH>
126</TR>
127</TABLE>
128&nbsp;<A NAME="fields_inherited_from_class_org.apache.solr.update.processor.UpdateRequestProcessor"><!-- --></A>
129<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
130<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
131<TH ALIGN="left"><B>Fields inherited from class org.apache.solr.update.processor.<A HREF="../../../../../org/apache/solr/update/processor/UpdateRequestProcessor.html" title="class in org.apache.solr.update.processor">UpdateRequestProcessor</A></B></TH>
132</TR>
133<TR BGCOLOR="white" CLASS="TableRowColor">
134<TD><CODE><A HREF="../../../../../org/apache/solr/update/processor/UpdateRequestProcessor.html#next">next</A></CODE></TD>
135</TR>
136</TABLE>
137&nbsp;
138<!-- ======== CONSTRUCTOR SUMMARY ======== -->
139
140<A NAME="constructor_summary"><!-- --></A>
141<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
142<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
143<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
144<B>Constructor Summary</B></FONT></TH>
145</TR>
146<TR BGCOLOR="white" CLASS="TableRowColor">
147<TD><CODE><B><A HREF="../../../../../org/apache/solr/update/processor/URLClassifyProcessor.html#URLClassifyProcessor(org.apache.solr.common.params.SolrParams, org.apache.solr.request.SolrQueryRequest, org.apache.solr.response.SolrQueryResponse, org.apache.solr.update.processor.UpdateRequestProcessor)">URLClassifyProcessor</A></B>(<A HREF="../../../../../org/apache/solr/common/params/SolrParams.html" title="class in org.apache.solr.common.params">SolrParams</A>&nbsp;parameters,
148                     <A HREF="../../../../../org/apache/solr/request/SolrQueryRequest.html" title="interface in org.apache.solr.request">SolrQueryRequest</A>&nbsp;request,
149                     <A HREF="../../../../../org/apache/solr/response/SolrQueryResponse.html" title="class in org.apache.solr.response">SolrQueryResponse</A>&nbsp;response,
150                     <A HREF="../../../../../org/apache/solr/update/processor/UpdateRequestProcessor.html" title="class in org.apache.solr.update.processor">UpdateRequestProcessor</A>&nbsp;nextProcessor)</CODE>
151
152<BR>
153&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
154</TR>
155</TABLE>
156&nbsp;
157<!-- ========== METHOD SUMMARY =========== -->
158
159<A NAME="method_summary"><!-- --></A>
160<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
161<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
162<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
163<B>Method Summary</B></FONT></TH>
164</TR>
165<TR BGCOLOR="white" CLASS="TableRowColor">
166<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
167<CODE>&nbsp;<A HREF="http://download.oracle.com/javase/6/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net">URL</A></CODE></FONT></TD>
168<TD><CODE><B><A HREF="../../../../../org/apache/solr/update/processor/URLClassifyProcessor.html#getCanonicalUrl(java.net.URL)">getCanonicalUrl</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net">URL</A>&nbsp;url)</CODE>
169
170<BR>
171&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets a canonical form of the URL for use as main URL</TD>
172</TR>
173<TR BGCOLOR="white" CLASS="TableRowColor">
174<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
175<CODE>&nbsp;<A HREF="http://download.oracle.com/javase/6/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net">URL</A></CODE></FONT></TD>
176<TD><CODE><B><A HREF="../../../../../org/apache/solr/update/processor/URLClassifyProcessor.html#getNormalizedURL(java.lang.String)">getNormalizedURL</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;url)</CODE>
177
178<BR>
179&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
180</TR>
181<TR BGCOLOR="white" CLASS="TableRowColor">
182<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
183<CODE>&nbsp;boolean</CODE></FONT></TD>
184<TD><CODE><B><A HREF="../../../../../org/apache/solr/update/processor/URLClassifyProcessor.html#isEnabled()">isEnabled</A></B>()</CODE>
185
186<BR>
187&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
188</TR>
189<TR BGCOLOR="white" CLASS="TableRowColor">
190<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
191<CODE>&nbsp;boolean</CODE></FONT></TD>
192<TD><CODE><B><A HREF="../../../../../org/apache/solr/update/processor/URLClassifyProcessor.html#isLandingPage(java.net.URL)">isLandingPage</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net">URL</A>&nbsp;url)</CODE>
193
194<BR>
195&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Calculates whether the URL is a landing page or not</TD>
196</TR>
197<TR BGCOLOR="white" CLASS="TableRowColor">
198<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
199<CODE>&nbsp;boolean</CODE></FONT></TD>
200<TD><CODE><B><A HREF="../../../../../org/apache/solr/update/processor/URLClassifyProcessor.html#isTopLevelPage(java.net.URL)">isTopLevelPage</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net">URL</A>&nbsp;url)</CODE>
201
202<BR>
203&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Calculates whether a URL is a top level page</TD>
204</TR>
205<TR BGCOLOR="white" CLASS="TableRowColor">
206<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
207<CODE>&nbsp;int</CODE></FONT></TD>
208<TD><CODE><B><A HREF="../../../../../org/apache/solr/update/processor/URLClassifyProcessor.html#length(java.net.URL)">length</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net">URL</A>&nbsp;url)</CODE>
209
210<BR>
211&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Calculates the length of the URL in characters</TD>
212</TR>
213<TR BGCOLOR="white" CLASS="TableRowColor">
214<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
215<CODE>&nbsp;int</CODE></FONT></TD>
216<TD><CODE><B><A HREF="../../../../../org/apache/solr/update/processor/URLClassifyProcessor.html#levels(java.net.URL)">levels</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net">URL</A>&nbsp;url)</CODE>
217
218<BR>
219&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Calculates the number of path levels in the given URL</TD>
220</TR>
221<TR BGCOLOR="white" CLASS="TableRowColor">
222<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
223<CODE>&nbsp;void</CODE></FONT></TD>
224<TD><CODE><B><A HREF="../../../../../org/apache/solr/update/processor/URLClassifyProcessor.html#processAdd(org.apache.solr.update.AddUpdateCommand)">processAdd</A></B>(<A HREF="../../../../../org/apache/solr/update/AddUpdateCommand.html" title="class in org.apache.solr.update">AddUpdateCommand</A>&nbsp;command)</CODE>
225
226<BR>
227&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
228</TR>
229<TR BGCOLOR="white" CLASS="TableRowColor">
230<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
231<CODE>&nbsp;void</CODE></FONT></TD>
232<TD><CODE><B><A HREF="../../../../../org/apache/solr/update/processor/URLClassifyProcessor.html#setEnabled(boolean)">setEnabled</A></B>(boolean&nbsp;enabled)</CODE>
233
234<BR>
235&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
236</TR>
237</TABLE>
238&nbsp;<A NAME="methods_inherited_from_class_org.apache.solr.update.processor.UpdateRequestProcessor"><!-- --></A>
239<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
240<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
241<TH ALIGN="left"><B>Methods inherited from class org.apache.solr.update.processor.<A HREF="../../../../../org/apache/solr/update/processor/UpdateRequestProcessor.html" title="class in org.apache.solr.update.processor">UpdateRequestProcessor</A></B></TH>
242</TR>
243<TR BGCOLOR="white" CLASS="TableRowColor">
244<TD><CODE><A HREF="../../../../../org/apache/solr/update/processor/UpdateRequestProcessor.html#finish()">finish</A>, <A HREF="../../../../../org/apache/solr/update/processor/UpdateRequestProcessor.html#processCommit(org.apache.solr.update.CommitUpdateCommand)">processCommit</A>, <A HREF="../../../../../org/apache/solr/update/processor/UpdateRequestProcessor.html#processDelete(org.apache.solr.update.DeleteUpdateCommand)">processDelete</A>, <A HREF="../../../../../org/apache/solr/update/processor/UpdateRequestProcessor.html#processMergeIndexes(org.apache.solr.update.MergeIndexesCommand)">processMergeIndexes</A>, <A HREF="../../../../../org/apache/solr/update/processor/UpdateRequestProcessor.html#processRollback(org.apache.solr.update.RollbackUpdateCommand)">processRollback</A></CODE></TD>
245</TR>
246</TABLE>
247&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
248<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
249<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
250<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>
251</TR>
252<TR BGCOLOR="white" CLASS="TableRowColor">
253<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>
254</TR>
255</TABLE>
256&nbsp;
257<P>
258
259<!-- ========= CONSTRUCTOR DETAIL ======== -->
260
261<A NAME="constructor_detail"><!-- --></A>
262<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
263<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
264<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
265<B>Constructor Detail</B></FONT></TH>
266</TR>
267</TABLE>
268
269<A NAME="URLClassifyProcessor(org.apache.solr.common.params.SolrParams, org.apache.solr.request.SolrQueryRequest, org.apache.solr.response.SolrQueryResponse, org.apache.solr.update.processor.UpdateRequestProcessor)"><!-- --></A><H3>
270URLClassifyProcessor</H3>
271<PRE>
272public <B>URLClassifyProcessor</B>(<A HREF="../../../../../org/apache/solr/common/params/SolrParams.html" title="class in org.apache.solr.common.params">SolrParams</A>&nbsp;parameters,
273                            <A HREF="../../../../../org/apache/solr/request/SolrQueryRequest.html" title="interface in org.apache.solr.request">SolrQueryRequest</A>&nbsp;request,
274                            <A HREF="../../../../../org/apache/solr/response/SolrQueryResponse.html" title="class in org.apache.solr.response">SolrQueryResponse</A>&nbsp;response,
275                            <A HREF="../../../../../org/apache/solr/update/processor/UpdateRequestProcessor.html" title="class in org.apache.solr.update.processor">UpdateRequestProcessor</A>&nbsp;nextProcessor)</PRE>
276<DL>
277</DL>
278
279<!-- ============ METHOD DETAIL ========== -->
280
281<A NAME="method_detail"><!-- --></A>
282<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
283<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
284<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
285<B>Method Detail</B></FONT></TH>
286</TR>
287</TABLE>
288
289<A NAME="processAdd(org.apache.solr.update.AddUpdateCommand)"><!-- --></A><H3>
290processAdd</H3>
291<PRE>
292public void <B>processAdd</B>(<A HREF="../../../../../org/apache/solr/update/AddUpdateCommand.html" title="class in org.apache.solr.update">AddUpdateCommand</A>&nbsp;command)
293                throws <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
294<DL>
295<DD><DL>
296<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/apache/solr/update/processor/UpdateRequestProcessor.html#processAdd(org.apache.solr.update.AddUpdateCommand)">processAdd</A></CODE> in class <CODE><A HREF="../../../../../org/apache/solr/update/processor/UpdateRequestProcessor.html" title="class in org.apache.solr.update.processor">UpdateRequestProcessor</A></CODE></DL>
297</DD>
298<DD><DL>
299
300<DT><B>Throws:</B>
301<DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
302</DD>
303</DL>
304<HR>
305
306<A NAME="getCanonicalUrl(java.net.URL)"><!-- --></A><H3>
307getCanonicalUrl</H3>
308<PRE>
309public <A HREF="http://download.oracle.com/javase/6/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net">URL</A> <B>getCanonicalUrl</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net">URL</A>&nbsp;url)</PRE>
310<DL>
311<DD>Gets a canonical form of the URL for use as main URL
312<P>
313<DD><DL>
314<DT><B>Parameters:</B><DD><CODE>url</CODE> - The input url
315<DT><B>Returns:</B><DD>The URL object representing the canonical URL</DL>
316</DD>
317</DL>
318<HR>
319
320<A NAME="length(java.net.URL)"><!-- --></A><H3>
321length</H3>
322<PRE>
323public int <B>length</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net">URL</A>&nbsp;url)</PRE>
324<DL>
325<DD>Calculates the length of the URL in characters
326<P>
327<DD><DL>
328<DT><B>Parameters:</B><DD><CODE>url</CODE> - The input URL
329<DT><B>Returns:</B><DD>the length of the URL</DL>
330</DD>
331</DL>
332<HR>
333
334<A NAME="levels(java.net.URL)"><!-- --></A><H3>
335levels</H3>
336<PRE>
337public int <B>levels</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net">URL</A>&nbsp;url)</PRE>
338<DL>
339<DD>Calculates the number of path levels in the given URL
340<P>
341<DD><DL>
342<DT><B>Parameters:</B><DD><CODE>url</CODE> - The input URL
343<DT><B>Returns:</B><DD>the number of levels, where a top-level URL is 0</DL>
344</DD>
345</DL>
346<HR>
347
348<A NAME="isTopLevelPage(java.net.URL)"><!-- --></A><H3>
349isTopLevelPage</H3>
350<PRE>
351public boolean <B>isTopLevelPage</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net">URL</A>&nbsp;url)</PRE>
352<DL>
353<DD>Calculates whether a URL is a top level page
354<P>
355<DD><DL>
356<DT><B>Parameters:</B><DD><CODE>url</CODE> - The input URL
357<DT><B>Returns:</B><DD>true if page is a top level page</DL>
358</DD>
359</DL>
360<HR>
361
362<A NAME="isLandingPage(java.net.URL)"><!-- --></A><H3>
363isLandingPage</H3>
364<PRE>
365public boolean <B>isLandingPage</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net">URL</A>&nbsp;url)</PRE>
366<DL>
367<DD>Calculates whether the URL is a landing page or not
368<P>
369<DD><DL>
370<DT><B>Parameters:</B><DD><CODE>url</CODE> - The input URL
371<DT><B>Returns:</B><DD>true if URL represents a landing page (index page)</DL>
372</DD>
373</DL>
374<HR>
375
376<A NAME="getNormalizedURL(java.lang.String)"><!-- --></A><H3>
377getNormalizedURL</H3>
378<PRE>
379public <A HREF="http://download.oracle.com/javase/6/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net">URL</A> <B>getNormalizedURL</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;url)
380                     throws <A HREF="http://download.oracle.com/javase/6/docs/api/java/net/MalformedURLException.html?is-external=true" title="class or interface in java.net">MalformedURLException</A>,
381                            <A HREF="http://download.oracle.com/javase/6/docs/api/java/net/URISyntaxException.html?is-external=true" title="class or interface in java.net">URISyntaxException</A></PRE>
382<DL>
383<DD><DL>
384
385<DT><B>Throws:</B>
386<DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/net/MalformedURLException.html?is-external=true" title="class or interface in java.net">MalformedURLException</A></CODE>
387<DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/net/URISyntaxException.html?is-external=true" title="class or interface in java.net">URISyntaxException</A></CODE></DL>
388</DD>
389</DL>
390<HR>
391
392<A NAME="isEnabled()"><!-- --></A><H3>
393isEnabled</H3>
394<PRE>
395public boolean <B>isEnabled</B>()</PRE>
396<DL>
397<DD><DL>
398</DL>
399</DD>
400</DL>
401<HR>
402
403<A NAME="setEnabled(boolean)"><!-- --></A><H3>
404setEnabled</H3>
405<PRE>
406public void <B>setEnabled</B>(boolean&nbsp;enabled)</PRE>
407<DL>
408<DD><DL>
409</DL>
410</DD>
411</DL>
412<!-- ========= END OF CLASS DATA ========= -->
413<HR>
414
415
416<!-- ======= START OF BOTTOM NAVBAR ====== -->
417<A NAME="navbar_bottom"><!-- --></A>
418<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
419<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
420<TR>
421<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
422<A NAME="navbar_bottom_firstrow"><!-- --></A>
423<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
424  <TR ALIGN="center" VALIGN="top">
425  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
426  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
427  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
428  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/URLClassifyProcessor.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
429  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
430  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
431  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
432  </TR>
433</TABLE>
434</TD>
435<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
436</EM>
437</TD>
438</TR>
439
440<TR>
441<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
442&nbsp;<A HREF="../../../../../org/apache/solr/update/processor/UpdateRequestProcessorFactory.html" title="class in org.apache.solr.update.processor"><B>PREV CLASS</B></A>&nbsp;
443&nbsp;<A HREF="../../../../../org/apache/solr/update/processor/URLClassifyProcessorFactory.html" title="class in org.apache.solr.update.processor"><B>NEXT CLASS</B></A></FONT></TD>
444<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
445  <A HREF="../../../../../index.html?org/apache/solr/update/processor/URLClassifyProcessor.html" target="_top"><B>FRAMES</B></A>  &nbsp;
446&nbsp;<A HREF="URLClassifyProcessor.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
447&nbsp;<SCRIPT type="text/javascript">
448  <!--
449  if(window==top) {
450    document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
451  }
452  //-->
453</SCRIPT>
454<NOSCRIPT>
455  <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
456</NOSCRIPT>
457
458
459</FONT></TD>
460</TR>
461<TR>
462<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
463  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_org.apache.solr.update.processor.UpdateRequestProcessor">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
464<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
465DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
466</TR>
467</TABLE>
468<A NAME="skip-navbar_bottom"></A>
469<!-- ======== END OF BOTTOM NAVBAR ======= -->
470
471<HR>
472
473          <address>Copyright &copy; 2000-2012 Apache Software Foundation.  All Rights Reserved.</address>
474          <script src='../../../../../prettify.js' type='text/javascript'></script>
475          <script type='text/javascript'>
476            (function(){
477              var oldonload = window.onload;
478              if (typeof oldonload != 'function') {
479                window.onload = prettyPrint;
480              } else {
481                window.onload = function() {
482                  oldonload();
483                  prettyPrint();
484                }
485              }
486            })();
487          </script>
488       
489</BODY>
490</HTML>
Note: See TracBrowser for help on using the repository browser.