source: sandbox/expresso-solr/solr/docs/api/org/apache/solr/handler/extraction/SolrContentHandler.html @ 7588

Revision 7588, 54.7 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>
8SolrContentHandler (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="SolrContentHandler (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/SolrContentHandler.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/handler/extraction/ExtractingRequestHandler.html" title="class in org.apache.solr.handler.extraction"><B>PREV CLASS</B></A>&nbsp;
59&nbsp;<A HREF="../../../../../org/apache/solr/handler/extraction/SolrContentHandlerFactory.html" title="class in org.apache.solr.handler.extraction"><B>NEXT CLASS</B></A></FONT></TD>
60<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
61  <A HREF="../../../../../index.html?org/apache/solr/handler/extraction/SolrContentHandler.html" target="_top"><B>FRAMES</B></A>  &nbsp;
62&nbsp;<A HREF="SolrContentHandler.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.handler.extraction</FONT>
92<BR>
93Class SolrContentHandler</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="http://download.oracle.com/javase/6/docs/api/org/xml/sax/helpers/DefaultHandler.html?is-external=true" title="class or interface in org.xml.sax.helpers">org.xml.sax.helpers.DefaultHandler</A>
97      <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.solr.handler.extraction.SolrContentHandler</B>
98</PRE>
99<DL>
100<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../../org/apache/solr/handler/extraction/ExtractingParams.html" title="interface in org.apache.solr.handler.extraction">ExtractingParams</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/org/xml/sax/ContentHandler.html?is-external=true" title="class or interface in org.xml.sax">ContentHandler</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/org/xml/sax/DTDHandler.html?is-external=true" title="class or interface in org.xml.sax">DTDHandler</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/org/xml/sax/EntityResolver.html?is-external=true" title="class or interface in org.xml.sax">EntityResolver</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/org/xml/sax/ErrorHandler.html?is-external=true" title="class or interface in org.xml.sax">ErrorHandler</A></DD>
101</DL>
102<HR>
103<DL>
104<DT><PRE>public class <B>SolrContentHandler</B><DT>extends <A HREF="http://download.oracle.com/javase/6/docs/api/org/xml/sax/helpers/DefaultHandler.html?is-external=true" title="class or interface in org.xml.sax.helpers">DefaultHandler</A><DT>implements <A HREF="../../../../../org/apache/solr/handler/extraction/ExtractingParams.html" title="interface in org.apache.solr.handler.extraction">ExtractingParams</A></DL>
105</PRE>
106
107<P>
108The class responsible for handling Tika events and translating them into <A HREF="../../../../../org/apache/solr/common/SolrInputDocument.html" title="class in org.apache.solr.common"><CODE>SolrInputDocument</CODE></A>s.
109 <B>This class is not thread-safe.</B>
110 <p/>
111 <p/>
112 User's may wish to override this class to provide their own functionality.
113<P>
114
115<P>
116<DL>
117<DT><B>See Also:</B><DD><A HREF="../../../../../org/apache/solr/handler/extraction/SolrContentHandlerFactory.html" title="class in org.apache.solr.handler.extraction"><CODE>SolrContentHandlerFactory</CODE></A>,
118<A HREF="../../../../../org/apache/solr/handler/extraction/ExtractingRequestHandler.html" title="class in org.apache.solr.handler.extraction"><CODE>ExtractingRequestHandler</CODE></A>,
119<A HREF="../../../../../org/apache/solr/handler/extraction/ExtractingDocumentLoader.html" title="class in org.apache.solr.handler.extraction"><CODE>ExtractingDocumentLoader</CODE></A></DL>
120<HR>
121
122<P>
123<!-- =========== FIELD SUMMARY =========== -->
124
125<A NAME="field_summary"><!-- --></A>
126<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
127<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
128<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
129<B>Field Summary</B></FONT></TH>
130</TR>
131<TR BGCOLOR="white" CLASS="TableRowColor">
132<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
133<CODE>protected &nbsp;boolean</CODE></FONT></TD>
134<TD><CODE><B><A HREF="../../../../../org/apache/solr/handler/extraction/SolrContentHandler.html#captureAttribs">captureAttribs</A></B></CODE>
135
136<BR>
137&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
138</TR>
139<TR BGCOLOR="white" CLASS="TableRowColor">
140<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
141<CODE>protected &nbsp;<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang">StringBuilder</A></CODE></FONT></TD>
142<TD><CODE><B><A HREF="../../../../../org/apache/solr/handler/extraction/SolrContentHandler.html#catchAllBuilder">catchAllBuilder</A></B></CODE>
143
144<BR>
145&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
146</TR>
147<TR BGCOLOR="white" CLASS="TableRowColor">
148<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
149<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>
150<TD><CODE><B><A HREF="../../../../../org/apache/solr/handler/extraction/SolrContentHandler.html#contentFieldName">contentFieldName</A></B></CODE>
151
152<BR>
153&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
154</TR>
155<TR BGCOLOR="white" CLASS="TableRowColor">
156<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
157<CODE>protected &nbsp;<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A>&lt;<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>&gt;</CODE></FONT></TD>
158<TD><CODE><B><A HREF="../../../../../org/apache/solr/handler/extraction/SolrContentHandler.html#dateFormats">dateFormats</A></B></CODE>
159
160<BR>
161&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
162</TR>
163<TR BGCOLOR="white" CLASS="TableRowColor">
164<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
165<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>
166<TD><CODE><B><A HREF="../../../../../org/apache/solr/handler/extraction/SolrContentHandler.html#defaultField">defaultField</A></B></CODE>
167
168<BR>
169&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
170</TR>
171<TR BGCOLOR="white" CLASS="TableRowColor">
172<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
173<CODE>protected &nbsp;<A HREF="../../../../../org/apache/solr/common/SolrInputDocument.html" title="class in org.apache.solr.common">SolrInputDocument</A></CODE></FONT></TD>
174<TD><CODE><B><A HREF="../../../../../org/apache/solr/handler/extraction/SolrContentHandler.html#document">document</A></B></CODE>
175
176<BR>
177&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
178</TR>
179<TR BGCOLOR="white" CLASS="TableRowColor">
180<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
181<CODE>protected &nbsp;<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A>&lt;<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>,<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang">StringBuilder</A>&gt;</CODE></FONT></TD>
182<TD><CODE><B><A HREF="../../../../../org/apache/solr/handler/extraction/SolrContentHandler.html#fieldBuilders">fieldBuilders</A></B></CODE>
183
184<BR>
185&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
186</TR>
187<TR BGCOLOR="white" CLASS="TableRowColor">
188<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
189<CODE>protected &nbsp;boolean</CODE></FONT></TD>
190<TD><CODE><B><A HREF="../../../../../org/apache/solr/handler/extraction/SolrContentHandler.html#lowerNames">lowerNames</A></B></CODE>
191
192<BR>
193&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
194</TR>
195<TR BGCOLOR="white" CLASS="TableRowColor">
196<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
197<CODE>protected &nbsp;org.apache.tika.metadata.Metadata</CODE></FONT></TD>
198<TD><CODE><B><A HREF="../../../../../org/apache/solr/handler/extraction/SolrContentHandler.html#metadata">metadata</A></B></CODE>
199
200<BR>
201&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
202</TR>
203<TR BGCOLOR="white" CLASS="TableRowColor">
204<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
205<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>
206<TD><CODE><B><A HREF="../../../../../org/apache/solr/handler/extraction/SolrContentHandler.html#params">params</A></B></CODE>
207
208<BR>
209&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
210</TR>
211<TR BGCOLOR="white" CLASS="TableRowColor">
212<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
213<CODE>protected &nbsp;<A HREF="../../../../../org/apache/solr/schema/IndexSchema.html" title="class in org.apache.solr.schema">IndexSchema</A></CODE></FONT></TD>
214<TD><CODE><B><A HREF="../../../../../org/apache/solr/handler/extraction/SolrContentHandler.html#schema">schema</A></B></CODE>
215
216<BR>
217&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
218</TR>
219<TR BGCOLOR="white" CLASS="TableRowColor">
220<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
221<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>
222<TD><CODE><B><A HREF="../../../../../org/apache/solr/handler/extraction/SolrContentHandler.html#unknownFieldPrefix">unknownFieldPrefix</A></B></CODE>
223
224<BR>
225&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
226</TR>
227</TABLE>
228&nbsp;<A NAME="fields_inherited_from_class_org.apache.solr.handler.extraction.ExtractingParams"><!-- --></A>
229<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
230<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
231<TH ALIGN="left"><B>Fields inherited from interface org.apache.solr.handler.extraction.<A HREF="../../../../../org/apache/solr/handler/extraction/ExtractingParams.html" title="interface in org.apache.solr.handler.extraction">ExtractingParams</A></B></TH>
232</TR>
233<TR BGCOLOR="white" CLASS="TableRowColor">
234<TD><CODE><A HREF="../../../../../org/apache/solr/handler/extraction/ExtractingParams.html#BOOST_PREFIX">BOOST_PREFIX</A>, <A HREF="../../../../../org/apache/solr/handler/extraction/ExtractingParams.html#CAPTURE_ATTRIBUTES">CAPTURE_ATTRIBUTES</A>, <A HREF="../../../../../org/apache/solr/handler/extraction/ExtractingParams.html#CAPTURE_ELEMENTS">CAPTURE_ELEMENTS</A>, <A HREF="../../../../../org/apache/solr/handler/extraction/ExtractingParams.html#DEFAULT_FIELD">DEFAULT_FIELD</A>, <A HREF="../../../../../org/apache/solr/handler/extraction/ExtractingParams.html#EXTRACT_FORMAT">EXTRACT_FORMAT</A>, <A HREF="../../../../../org/apache/solr/handler/extraction/ExtractingParams.html#EXTRACT_ONLY">EXTRACT_ONLY</A>, <A HREF="../../../../../org/apache/solr/handler/extraction/ExtractingParams.html#IGNORE_TIKA_EXCEPTION">IGNORE_TIKA_EXCEPTION</A>, <A HREF="../../../../../org/apache/solr/handler/extraction/ExtractingParams.html#LITERALS_PREFIX">LITERALS_PREFIX</A>, <A HREF="../../../../../org/apache/solr/handler/extraction/ExtractingParams.html#LOWERNAMES">LOWERNAMES</A>, <A HREF="../../../../../org/apache/solr/handler/extraction/ExtractingParams.html#MAP_PREFIX">MAP_PREFIX</A>, <A HREF="../../../../../org/apache/solr/handler/extraction/ExtractingParams.html#RESOURCE_NAME">RESOURCE_NAME</A>, <A HREF="../../../../../org/apache/solr/handler/extraction/ExtractingParams.html#STREAM_TYPE">STREAM_TYPE</A>, <A HREF="../../../../../org/apache/solr/handler/extraction/ExtractingParams.html#UNKNOWN_FIELD_PREFIX">UNKNOWN_FIELD_PREFIX</A>, <A HREF="../../../../../org/apache/solr/handler/extraction/ExtractingParams.html#XPATH_EXPRESSION">XPATH_EXPRESSION</A></CODE></TD>
235</TR>
236</TABLE>
237&nbsp;
238<!-- ======== CONSTRUCTOR SUMMARY ======== -->
239
240<A NAME="constructor_summary"><!-- --></A>
241<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
242<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
243<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
244<B>Constructor Summary</B></FONT></TH>
245</TR>
246<TR BGCOLOR="white" CLASS="TableRowColor">
247<TD><CODE><B><A HREF="../../../../../org/apache/solr/handler/extraction/SolrContentHandler.html#SolrContentHandler(org.apache.tika.metadata.Metadata, org.apache.solr.common.params.SolrParams, org.apache.solr.schema.IndexSchema)">SolrContentHandler</A></B>(org.apache.tika.metadata.Metadata&nbsp;metadata,
248                   <A HREF="../../../../../org/apache/solr/common/params/SolrParams.html" title="class in org.apache.solr.common.params">SolrParams</A>&nbsp;params,
249                   <A HREF="../../../../../org/apache/solr/schema/IndexSchema.html" title="class in org.apache.solr.schema">IndexSchema</A>&nbsp;schema)</CODE>
250
251<BR>
252&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
253</TR>
254<TR BGCOLOR="white" CLASS="TableRowColor">
255<TD><CODE><B><A HREF="../../../../../org/apache/solr/handler/extraction/SolrContentHandler.html#SolrContentHandler(org.apache.tika.metadata.Metadata, org.apache.solr.common.params.SolrParams, org.apache.solr.schema.IndexSchema, java.util.Collection)">SolrContentHandler</A></B>(org.apache.tika.metadata.Metadata&nbsp;metadata,
256                   <A HREF="../../../../../org/apache/solr/common/params/SolrParams.html" title="class in org.apache.solr.common.params">SolrParams</A>&nbsp;params,
257                   <A HREF="../../../../../org/apache/solr/schema/IndexSchema.html" title="class in org.apache.solr.schema">IndexSchema</A>&nbsp;schema,
258                   <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A>&lt;<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>&gt;&nbsp;dateFormats)</CODE>
259
260<BR>
261&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
262</TR>
263</TABLE>
264&nbsp;
265<!-- ========== METHOD SUMMARY =========== -->
266
267<A NAME="method_summary"><!-- --></A>
268<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
269<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
270<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
271<B>Method Summary</B></FONT></TH>
272</TR>
273<TR BGCOLOR="white" CLASS="TableRowColor">
274<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
275<CODE>protected &nbsp;void</CODE></FONT></TD>
276<TD><CODE><B><A HREF="../../../../../org/apache/solr/handler/extraction/SolrContentHandler.html#addCapturedContent()">addCapturedContent</A></B>()</CODE>
277
278<BR>
279&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add the per field captured content to the Solr Document.</TD>
280</TR>
281<TR BGCOLOR="white" CLASS="TableRowColor">
282<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
283<CODE>protected &nbsp;void</CODE></FONT></TD>
284<TD><CODE><B><A HREF="../../../../../org/apache/solr/handler/extraction/SolrContentHandler.html#addContent()">addContent</A></B>()</CODE>
285
286<BR>
287&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add in the catch all content to the field.</TD>
288</TR>
289<TR BGCOLOR="white" CLASS="TableRowColor">
290<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
291<CODE>protected &nbsp;void</CODE></FONT></TD>
292<TD><CODE><B><A HREF="../../../../../org/apache/solr/handler/extraction/SolrContentHandler.html#addField(java.lang.String, java.lang.String, java.lang.String[])">addField</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;fname,
293         <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;fval,
294         <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;vals)</CODE>
295
296<BR>
297&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
298</TR>
299<TR BGCOLOR="white" CLASS="TableRowColor">
300<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
301<CODE>protected &nbsp;void</CODE></FONT></TD>
302<TD><CODE><B><A HREF="../../../../../org/apache/solr/handler/extraction/SolrContentHandler.html#addLiterals()">addLiterals</A></B>()</CODE>
303
304<BR>
305&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add in the literals to the document using the <A HREF="../../../../../org/apache/solr/handler/extraction/SolrContentHandler.html#params"><CODE>params</CODE></A> and the <A HREF="../../../../../org/apache/solr/handler/extraction/ExtractingParams.html#LITERALS_PREFIX"><CODE>ExtractingParams.LITERALS_PREFIX</CODE></A>.</TD>
306</TR>
307<TR BGCOLOR="white" CLASS="TableRowColor">
308<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
309<CODE>protected &nbsp;void</CODE></FONT></TD>
310<TD><CODE><B><A HREF="../../../../../org/apache/solr/handler/extraction/SolrContentHandler.html#addMetadata()">addMetadata</A></B>()</CODE>
311
312<BR>
313&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add in any metadata using <A HREF="../../../../../org/apache/solr/handler/extraction/SolrContentHandler.html#metadata"><CODE>metadata</CODE></A> as the source.</TD>
314</TR>
315<TR BGCOLOR="white" CLASS="TableRowColor">
316<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
317<CODE>&nbsp;void</CODE></FONT></TD>
318<TD><CODE><B><A HREF="../../../../../org/apache/solr/handler/extraction/SolrContentHandler.html#characters(char[], int, int)">characters</A></B>(char[]&nbsp;chars,
319           int&nbsp;offset,
320           int&nbsp;length)</CODE>
321
322<BR>
323&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
324</TR>
325<TR BGCOLOR="white" CLASS="TableRowColor">
326<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
327<CODE>&nbsp;void</CODE></FONT></TD>
328<TD><CODE><B><A HREF="../../../../../org/apache/solr/handler/extraction/SolrContentHandler.html#endElement(java.lang.String, java.lang.String, java.lang.String)">endElement</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;uri,
329           <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;localName,
330           <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;qName)</CODE>
331
332<BR>
333&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
334</TR>
335<TR BGCOLOR="white" CLASS="TableRowColor">
336<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
337<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>
338<TD><CODE><B><A HREF="../../../../../org/apache/solr/handler/extraction/SolrContentHandler.html#findMappedName(java.lang.String)">findMappedName</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>
339
340<BR>
341&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the name mapping</TD>
342</TR>
343<TR BGCOLOR="white" CLASS="TableRowColor">
344<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
345<CODE>protected &nbsp;float</CODE></FONT></TD>
346<TD><CODE><B><A HREF="../../../../../org/apache/solr/handler/extraction/SolrContentHandler.html#getBoost(java.lang.String)">getBoost</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>
347
348<BR>
349&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the value of any boost factor for the mapped name.</TD>
350</TR>
351<TR BGCOLOR="white" CLASS="TableRowColor">
352<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
353<CODE>&nbsp;<A HREF="../../../../../org/apache/solr/common/SolrInputDocument.html" title="class in org.apache.solr.common">SolrInputDocument</A></CODE></FONT></TD>
354<TD><CODE><B><A HREF="../../../../../org/apache/solr/handler/extraction/SolrContentHandler.html#newDocument()">newDocument</A></B>()</CODE>
355
356<BR>
357&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This is called by a consumer when it is ready to deal with a new SolrInputDocument.</TD>
358</TR>
359<TR BGCOLOR="white" CLASS="TableRowColor">
360<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
361<CODE>&nbsp;void</CODE></FONT></TD>
362<TD><CODE><B><A HREF="../../../../../org/apache/solr/handler/extraction/SolrContentHandler.html#startDocument()">startDocument</A></B>()</CODE>
363
364<BR>
365&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
366</TR>
367<TR BGCOLOR="white" CLASS="TableRowColor">
368<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
369<CODE>&nbsp;void</CODE></FONT></TD>
370<TD><CODE><B><A HREF="../../../../../org/apache/solr/handler/extraction/SolrContentHandler.html#startElement(java.lang.String, java.lang.String, java.lang.String, org.xml.sax.Attributes)">startElement</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;uri,
371             <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;localName,
372             <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;qName,
373             <A HREF="http://download.oracle.com/javase/6/docs/api/org/xml/sax/Attributes.html?is-external=true" title="class or interface in org.xml.sax">Attributes</A>&nbsp;attributes)</CODE>
374
375<BR>
376&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
377</TR>
378<TR BGCOLOR="white" CLASS="TableRowColor">
379<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
380<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>
381<TD><CODE><B><A HREF="../../../../../org/apache/solr/handler/extraction/SolrContentHandler.html#transformValue(java.lang.String, org.apache.solr.schema.SchemaField)">transformValue</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;val,
382               <A HREF="../../../../../org/apache/solr/schema/SchemaField.html" title="class in org.apache.solr.schema">SchemaField</A>&nbsp;schFld)</CODE>
383
384<BR>
385&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Can be used to transform input values based on their <A HREF="../../../../../org/apache/solr/schema/SchemaField.html" title="class in org.apache.solr.schema"><CODE>SchemaField</CODE></A>
386 <p/>
387 This implementation only formats dates using the <A HREF="../../../../../org/apache/solr/common/util/DateUtil.html" title="class in org.apache.solr.common.util"><CODE>DateUtil</CODE></A>.</TD>
388</TR>
389</TABLE>
390&nbsp;<A NAME="methods_inherited_from_class_org.xml.sax.helpers.DefaultHandler"><!-- --></A>
391<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
392<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
393<TH ALIGN="left"><B>Methods inherited from class org.xml.sax.helpers.<A HREF="http://download.oracle.com/javase/6/docs/api/org/xml/sax/helpers/DefaultHandler.html?is-external=true" title="class or interface in org.xml.sax.helpers">DefaultHandler</A></B></TH>
394</TR>
395<TR BGCOLOR="white" CLASS="TableRowColor">
396<TD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/org/xml/sax/helpers/DefaultHandler.html?is-external=true#endDocument()" title="class or interface in org.xml.sax.helpers">endDocument</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/org/xml/sax/helpers/DefaultHandler.html?is-external=true#endPrefixMapping(java.lang.String)" title="class or interface in org.xml.sax.helpers">endPrefixMapping</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/org/xml/sax/helpers/DefaultHandler.html?is-external=true#error(org.xml.sax.SAXParseException)" title="class or interface in org.xml.sax.helpers">error</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/org/xml/sax/helpers/DefaultHandler.html?is-external=true#fatalError(org.xml.sax.SAXParseException)" title="class or interface in org.xml.sax.helpers">fatalError</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/org/xml/sax/helpers/DefaultHandler.html?is-external=true#ignorableWhitespace(char[], int, int)" title="class or interface in org.xml.sax.helpers">ignorableWhitespace</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/org/xml/sax/helpers/DefaultHandler.html?is-external=true#notationDecl(java.lang.String, java.lang.String, java.lang.String)" title="class or interface in org.xml.sax.helpers">notationDecl</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/org/xml/sax/helpers/DefaultHandler.html?is-external=true#processingInstruction(java.lang.String, java.lang.String)" title="class or interface in org.xml.sax.helpers">processingInstruction</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/org/xml/sax/helpers/DefaultHandler.html?is-external=true#resolveEntity(java.lang.String, java.lang.String)" title="class or interface in org.xml.sax.helpers">resolveEntity</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/org/xml/sax/helpers/DefaultHandler.html?is-external=true#setDocumentLocator(org.xml.sax.Locator)" title="class or interface in org.xml.sax.helpers">setDocumentLocator</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/org/xml/sax/helpers/DefaultHandler.html?is-external=true#skippedEntity(java.lang.String)" title="class or interface in org.xml.sax.helpers">skippedEntity</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/org/xml/sax/helpers/DefaultHandler.html?is-external=true#startPrefixMapping(java.lang.String, java.lang.String)" title="class or interface in org.xml.sax.helpers">startPrefixMapping</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/org/xml/sax/helpers/DefaultHandler.html?is-external=true#unparsedEntityDecl(java.lang.String, java.lang.String, java.lang.String, java.lang.String)" title="class or interface in org.xml.sax.helpers">unparsedEntityDecl</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/org/xml/sax/helpers/DefaultHandler.html?is-external=true#warning(org.xml.sax.SAXParseException)" title="class or interface in org.xml.sax.helpers">warning</A></CODE></TD>
397</TR>
398</TABLE>
399&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
400<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
401<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
402<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>
403</TR>
404<TR BGCOLOR="white" CLASS="TableRowColor">
405<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>
406</TR>
407</TABLE>
408&nbsp;
409<P>
410
411<!-- ============ FIELD DETAIL =========== -->
412
413<A NAME="field_detail"><!-- --></A>
414<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
415<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
416<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
417<B>Field Detail</B></FONT></TH>
418</TR>
419</TABLE>
420
421<A NAME="document"><!-- --></A><H3>
422document</H3>
423<PRE>
424protected <A HREF="../../../../../org/apache/solr/common/SolrInputDocument.html" title="class in org.apache.solr.common">SolrInputDocument</A> <B>document</B></PRE>
425<DL>
426<DL>
427</DL>
428</DL>
429<HR>
430
431<A NAME="dateFormats"><!-- --></A><H3>
432dateFormats</H3>
433<PRE>
434protected <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A>&lt;<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>&gt; <B>dateFormats</B></PRE>
435<DL>
436<DL>
437</DL>
438</DL>
439<HR>
440
441<A NAME="metadata"><!-- --></A><H3>
442metadata</H3>
443<PRE>
444protected org.apache.tika.metadata.Metadata <B>metadata</B></PRE>
445<DL>
446<DL>
447</DL>
448</DL>
449<HR>
450
451<A NAME="params"><!-- --></A><H3>
452params</H3>
453<PRE>
454protected <A HREF="../../../../../org/apache/solr/common/params/SolrParams.html" title="class in org.apache.solr.common.params">SolrParams</A> <B>params</B></PRE>
455<DL>
456<DL>
457</DL>
458</DL>
459<HR>
460
461<A NAME="catchAllBuilder"><!-- --></A><H3>
462catchAllBuilder</H3>
463<PRE>
464protected <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang">StringBuilder</A> <B>catchAllBuilder</B></PRE>
465<DL>
466<DL>
467</DL>
468</DL>
469<HR>
470
471<A NAME="schema"><!-- --></A><H3>
472schema</H3>
473<PRE>
474protected <A HREF="../../../../../org/apache/solr/schema/IndexSchema.html" title="class in org.apache.solr.schema">IndexSchema</A> <B>schema</B></PRE>
475<DL>
476<DL>
477</DL>
478</DL>
479<HR>
480
481<A NAME="fieldBuilders"><!-- --></A><H3>
482fieldBuilders</H3>
483<PRE>
484protected <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A>&lt;<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>,<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang">StringBuilder</A>&gt; <B>fieldBuilders</B></PRE>
485<DL>
486<DL>
487</DL>
488</DL>
489<HR>
490
491<A NAME="captureAttribs"><!-- --></A><H3>
492captureAttribs</H3>
493<PRE>
494protected boolean <B>captureAttribs</B></PRE>
495<DL>
496<DL>
497</DL>
498</DL>
499<HR>
500
501<A NAME="lowerNames"><!-- --></A><H3>
502lowerNames</H3>
503<PRE>
504protected boolean <B>lowerNames</B></PRE>
505<DL>
506<DL>
507</DL>
508</DL>
509<HR>
510
511<A NAME="contentFieldName"><!-- --></A><H3>
512contentFieldName</H3>
513<PRE>
514protected <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>contentFieldName</B></PRE>
515<DL>
516<DL>
517</DL>
518</DL>
519<HR>
520
521<A NAME="unknownFieldPrefix"><!-- --></A><H3>
522unknownFieldPrefix</H3>
523<PRE>
524protected <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>unknownFieldPrefix</B></PRE>
525<DL>
526<DL>
527</DL>
528</DL>
529<HR>
530
531<A NAME="defaultField"><!-- --></A><H3>
532defaultField</H3>
533<PRE>
534protected <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>defaultField</B></PRE>
535<DL>
536<DL>
537</DL>
538</DL>
539
540<!-- ========= CONSTRUCTOR DETAIL ======== -->
541
542<A NAME="constructor_detail"><!-- --></A>
543<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
544<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
545<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
546<B>Constructor Detail</B></FONT></TH>
547</TR>
548</TABLE>
549
550<A NAME="SolrContentHandler(org.apache.tika.metadata.Metadata, org.apache.solr.common.params.SolrParams, org.apache.solr.schema.IndexSchema)"><!-- --></A><H3>
551SolrContentHandler</H3>
552<PRE>
553public <B>SolrContentHandler</B>(org.apache.tika.metadata.Metadata&nbsp;metadata,
554                          <A HREF="../../../../../org/apache/solr/common/params/SolrParams.html" title="class in org.apache.solr.common.params">SolrParams</A>&nbsp;params,
555                          <A HREF="../../../../../org/apache/solr/schema/IndexSchema.html" title="class in org.apache.solr.schema">IndexSchema</A>&nbsp;schema)</PRE>
556<DL>
557</DL>
558<HR>
559
560<A NAME="SolrContentHandler(org.apache.tika.metadata.Metadata, org.apache.solr.common.params.SolrParams, org.apache.solr.schema.IndexSchema, java.util.Collection)"><!-- --></A><H3>
561SolrContentHandler</H3>
562<PRE>
563public <B>SolrContentHandler</B>(org.apache.tika.metadata.Metadata&nbsp;metadata,
564                          <A HREF="../../../../../org/apache/solr/common/params/SolrParams.html" title="class in org.apache.solr.common.params">SolrParams</A>&nbsp;params,
565                          <A HREF="../../../../../org/apache/solr/schema/IndexSchema.html" title="class in org.apache.solr.schema">IndexSchema</A>&nbsp;schema,
566                          <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A>&lt;<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>&gt;&nbsp;dateFormats)</PRE>
567<DL>
568</DL>
569
570<!-- ============ METHOD DETAIL ========== -->
571
572<A NAME="method_detail"><!-- --></A>
573<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
574<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
575<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
576<B>Method Detail</B></FONT></TH>
577</TR>
578</TABLE>
579
580<A NAME="newDocument()"><!-- --></A><H3>
581newDocument</H3>
582<PRE>
583public <A HREF="../../../../../org/apache/solr/common/SolrInputDocument.html" title="class in org.apache.solr.common">SolrInputDocument</A> <B>newDocument</B>()</PRE>
584<DL>
585<DD>This is called by a consumer when it is ready to deal with a new SolrInputDocument.  Overriding
586 classes can use this hook to add in or change whatever they deem fit for the document at that time.
587 The base implementation adds the metadata as fields, allowing for potential remapping.
588<P>
589<DD><DL>
590</DL>
591</DD>
592<DD><DL>
593
594<DT><B>Returns:</B><DD>The <A HREF="../../../../../org/apache/solr/common/SolrInputDocument.html" title="class in org.apache.solr.common"><CODE>SolrInputDocument</CODE></A>.<DT><B>See Also:</B><DD><A HREF="../../../../../org/apache/solr/handler/extraction/SolrContentHandler.html#addMetadata()"><CODE>addMetadata()</CODE></A>,
595<A HREF="../../../../../org/apache/solr/handler/extraction/SolrContentHandler.html#addCapturedContent()"><CODE>addCapturedContent()</CODE></A>,
596<A HREF="../../../../../org/apache/solr/handler/extraction/SolrContentHandler.html#addContent()"><CODE>addContent()</CODE></A>,
597<A HREF="../../../../../org/apache/solr/handler/extraction/SolrContentHandler.html#addLiterals()"><CODE>addLiterals()</CODE></A></DL>
598</DD>
599</DL>
600<HR>
601
602<A NAME="addCapturedContent()"><!-- --></A><H3>
603addCapturedContent</H3>
604<PRE>
605protected void <B>addCapturedContent</B>()</PRE>
606<DL>
607<DD>Add the per field captured content to the Solr Document.  Default implementation uses the
608 <A HREF="../../../../../org/apache/solr/handler/extraction/SolrContentHandler.html#fieldBuilders"><CODE>fieldBuilders</CODE></A> info
609<P>
610<DD><DL>
611</DL>
612</DD>
613<DD><DL>
614</DL>
615</DD>
616</DL>
617<HR>
618
619<A NAME="addContent()"><!-- --></A><H3>
620addContent</H3>
621<PRE>
622protected void <B>addContent</B>()</PRE>
623<DL>
624<DD>Add in the catch all content to the field.  Default impl. uses the <A HREF="../../../../../org/apache/solr/handler/extraction/SolrContentHandler.html#contentFieldName"><CODE>contentFieldName</CODE></A>
625 and the <A HREF="../../../../../org/apache/solr/handler/extraction/SolrContentHandler.html#catchAllBuilder"><CODE>catchAllBuilder</CODE></A>
626<P>
627<DD><DL>
628</DL>
629</DD>
630<DD><DL>
631</DL>
632</DD>
633</DL>
634<HR>
635
636<A NAME="addLiterals()"><!-- --></A><H3>
637addLiterals</H3>
638<PRE>
639protected void <B>addLiterals</B>()</PRE>
640<DL>
641<DD>Add in the literals to the document using the <A HREF="../../../../../org/apache/solr/handler/extraction/SolrContentHandler.html#params"><CODE>params</CODE></A> and the <A HREF="../../../../../org/apache/solr/handler/extraction/ExtractingParams.html#LITERALS_PREFIX"><CODE>ExtractingParams.LITERALS_PREFIX</CODE></A>.
642<P>
643<DD><DL>
644</DL>
645</DD>
646<DD><DL>
647</DL>
648</DD>
649</DL>
650<HR>
651
652<A NAME="addMetadata()"><!-- --></A><H3>
653addMetadata</H3>
654<PRE>
655protected void <B>addMetadata</B>()</PRE>
656<DL>
657<DD>Add in any metadata using <A HREF="../../../../../org/apache/solr/handler/extraction/SolrContentHandler.html#metadata"><CODE>metadata</CODE></A> as the source.
658<P>
659<DD><DL>
660</DL>
661</DD>
662<DD><DL>
663</DL>
664</DD>
665</DL>
666<HR>
667
668<A NAME="addField(java.lang.String, java.lang.String, java.lang.String[])"><!-- --></A><H3>
669addField</H3>
670<PRE>
671protected void <B>addField</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;fname,
672                        <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;fval,
673                        <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;vals)</PRE>
674<DL>
675<DD><DL>
676</DL>
677</DD>
678<DD><DL>
679</DL>
680</DD>
681</DL>
682<HR>
683
684<A NAME="startDocument()"><!-- --></A><H3>
685startDocument</H3>
686<PRE>
687public void <B>startDocument</B>()
688                   throws <A HREF="http://download.oracle.com/javase/6/docs/api/org/xml/sax/SAXException.html?is-external=true" title="class or interface in org.xml.sax">SAXException</A></PRE>
689<DL>
690<DD><DL>
691<DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/org/xml/sax/ContentHandler.html?is-external=true#startDocument()" title="class or interface in org.xml.sax">startDocument</A></CODE> in interface <CODE><A HREF="http://download.oracle.com/javase/6/docs/api/org/xml/sax/ContentHandler.html?is-external=true" title="class or interface in org.xml.sax">ContentHandler</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/org/xml/sax/helpers/DefaultHandler.html?is-external=true#startDocument()" title="class or interface in org.xml.sax.helpers">startDocument</A></CODE> in class <CODE><A HREF="http://download.oracle.com/javase/6/docs/api/org/xml/sax/helpers/DefaultHandler.html?is-external=true" title="class or interface in org.xml.sax.helpers">DefaultHandler</A></CODE></DL>
692</DD>
693<DD><DL>
694
695<DT><B>Throws:</B>
696<DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/org/xml/sax/SAXException.html?is-external=true" title="class or interface in org.xml.sax">SAXException</A></CODE></DL>
697</DD>
698</DL>
699<HR>
700
701<A NAME="startElement(java.lang.String, java.lang.String, java.lang.String, org.xml.sax.Attributes)"><!-- --></A><H3>
702startElement</H3>
703<PRE>
704public void <B>startElement</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;uri,
705                         <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;localName,
706                         <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;qName,
707                         <A HREF="http://download.oracle.com/javase/6/docs/api/org/xml/sax/Attributes.html?is-external=true" title="class or interface in org.xml.sax">Attributes</A>&nbsp;attributes)
708                  throws <A HREF="http://download.oracle.com/javase/6/docs/api/org/xml/sax/SAXException.html?is-external=true" title="class or interface in org.xml.sax">SAXException</A></PRE>
709<DL>
710<DD><DL>
711<DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/org/xml/sax/ContentHandler.html?is-external=true#startElement(java.lang.String, java.lang.String, java.lang.String, org.xml.sax.Attributes)" title="class or interface in org.xml.sax">startElement</A></CODE> in interface <CODE><A HREF="http://download.oracle.com/javase/6/docs/api/org/xml/sax/ContentHandler.html?is-external=true" title="class or interface in org.xml.sax">ContentHandler</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/org/xml/sax/helpers/DefaultHandler.html?is-external=true#startElement(java.lang.String, java.lang.String, java.lang.String, org.xml.sax.Attributes)" title="class or interface in org.xml.sax.helpers">startElement</A></CODE> in class <CODE><A HREF="http://download.oracle.com/javase/6/docs/api/org/xml/sax/helpers/DefaultHandler.html?is-external=true" title="class or interface in org.xml.sax.helpers">DefaultHandler</A></CODE></DL>
712</DD>
713<DD><DL>
714
715<DT><B>Throws:</B>
716<DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/org/xml/sax/SAXException.html?is-external=true" title="class or interface in org.xml.sax">SAXException</A></CODE></DL>
717</DD>
718</DL>
719<HR>
720
721<A NAME="endElement(java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3>
722endElement</H3>
723<PRE>
724public void <B>endElement</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;uri,
725                       <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;localName,
726                       <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;qName)
727                throws <A HREF="http://download.oracle.com/javase/6/docs/api/org/xml/sax/SAXException.html?is-external=true" title="class or interface in org.xml.sax">SAXException</A></PRE>
728<DL>
729<DD><DL>
730<DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/org/xml/sax/ContentHandler.html?is-external=true#endElement(java.lang.String, java.lang.String, java.lang.String)" title="class or interface in org.xml.sax">endElement</A></CODE> in interface <CODE><A HREF="http://download.oracle.com/javase/6/docs/api/org/xml/sax/ContentHandler.html?is-external=true" title="class or interface in org.xml.sax">ContentHandler</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/org/xml/sax/helpers/DefaultHandler.html?is-external=true#endElement(java.lang.String, java.lang.String, java.lang.String)" title="class or interface in org.xml.sax.helpers">endElement</A></CODE> in class <CODE><A HREF="http://download.oracle.com/javase/6/docs/api/org/xml/sax/helpers/DefaultHandler.html?is-external=true" title="class or interface in org.xml.sax.helpers">DefaultHandler</A></CODE></DL>
731</DD>
732<DD><DL>
733
734<DT><B>Throws:</B>
735<DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/org/xml/sax/SAXException.html?is-external=true" title="class or interface in org.xml.sax">SAXException</A></CODE></DL>
736</DD>
737</DL>
738<HR>
739
740<A NAME="characters(char[], int, int)"><!-- --></A><H3>
741characters</H3>
742<PRE>
743public void <B>characters</B>(char[]&nbsp;chars,
744                       int&nbsp;offset,
745                       int&nbsp;length)
746                throws <A HREF="http://download.oracle.com/javase/6/docs/api/org/xml/sax/SAXException.html?is-external=true" title="class or interface in org.xml.sax">SAXException</A></PRE>
747<DL>
748<DD><DL>
749<DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/org/xml/sax/ContentHandler.html?is-external=true#characters(char[], int, int)" title="class or interface in org.xml.sax">characters</A></CODE> in interface <CODE><A HREF="http://download.oracle.com/javase/6/docs/api/org/xml/sax/ContentHandler.html?is-external=true" title="class or interface in org.xml.sax">ContentHandler</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/org/xml/sax/helpers/DefaultHandler.html?is-external=true#characters(char[], int, int)" title="class or interface in org.xml.sax.helpers">characters</A></CODE> in class <CODE><A HREF="http://download.oracle.com/javase/6/docs/api/org/xml/sax/helpers/DefaultHandler.html?is-external=true" title="class or interface in org.xml.sax.helpers">DefaultHandler</A></CODE></DL>
750</DD>
751<DD><DL>
752
753<DT><B>Throws:</B>
754<DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/org/xml/sax/SAXException.html?is-external=true" title="class or interface in org.xml.sax">SAXException</A></CODE></DL>
755</DD>
756</DL>
757<HR>
758
759<A NAME="transformValue(java.lang.String, org.apache.solr.schema.SchemaField)"><!-- --></A><H3>
760transformValue</H3>
761<PRE>
762protected <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>transformValue</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;val,
763                                <A HREF="../../../../../org/apache/solr/schema/SchemaField.html" title="class in org.apache.solr.schema">SchemaField</A>&nbsp;schFld)</PRE>
764<DL>
765<DD>Can be used to transform input values based on their <A HREF="../../../../../org/apache/solr/schema/SchemaField.html" title="class in org.apache.solr.schema"><CODE>SchemaField</CODE></A>
766 <p/>
767 This implementation only formats dates using the <A HREF="../../../../../org/apache/solr/common/util/DateUtil.html" title="class in org.apache.solr.common.util"><CODE>DateUtil</CODE></A>.
768<P>
769<DD><DL>
770</DL>
771</DD>
772<DD><DL>
773<DT><B>Parameters:</B><DD><CODE>val</CODE> - The value to transform<DD><CODE>schFld</CODE> - The <A HREF="../../../../../org/apache/solr/schema/SchemaField.html" title="class in org.apache.solr.schema"><CODE>SchemaField</CODE></A>
774<DT><B>Returns:</B><DD>The potentially new value.</DL>
775</DD>
776</DL>
777<HR>
778
779<A NAME="getBoost(java.lang.String)"><!-- --></A><H3>
780getBoost</H3>
781<PRE>
782protected float <B>getBoost</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>
783<DL>
784<DD>Get the value of any boost factor for the mapped name.
785<P>
786<DD><DL>
787</DL>
788</DD>
789<DD><DL>
790<DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of the field to see if there is a boost specified
791<DT><B>Returns:</B><DD>The boost value</DL>
792</DD>
793</DL>
794<HR>
795
796<A NAME="findMappedName(java.lang.String)"><!-- --></A><H3>
797findMappedName</H3>
798<PRE>
799protected <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>findMappedName</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>
800<DL>
801<DD>Get the name mapping
802<P>
803<DD><DL>
804</DL>
805</DD>
806<DD><DL>
807<DT><B>Parameters:</B><DD><CODE>name</CODE> - The name to check to see if there is a mapping
808<DT><B>Returns:</B><DD>The new name, if there is one, else <code>name</code></DL>
809</DD>
810</DL>
811<!-- ========= END OF CLASS DATA ========= -->
812<HR>
813
814
815<!-- ======= START OF BOTTOM NAVBAR ====== -->
816<A NAME="navbar_bottom"><!-- --></A>
817<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
818<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
819<TR>
820<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
821<A NAME="navbar_bottom_firstrow"><!-- --></A>
822<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
823  <TR ALIGN="center" VALIGN="top">
824  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
825  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
826  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
827  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/SolrContentHandler.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
828  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
829  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
830  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
831  </TR>
832</TABLE>
833</TD>
834<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
835</EM>
836</TD>
837</TR>
838
839<TR>
840<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
841&nbsp;<A HREF="../../../../../org/apache/solr/handler/extraction/ExtractingRequestHandler.html" title="class in org.apache.solr.handler.extraction"><B>PREV CLASS</B></A>&nbsp;
842&nbsp;<A HREF="../../../../../org/apache/solr/handler/extraction/SolrContentHandlerFactory.html" title="class in org.apache.solr.handler.extraction"><B>NEXT CLASS</B></A></FONT></TD>
843<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
844  <A HREF="../../../../../index.html?org/apache/solr/handler/extraction/SolrContentHandler.html" target="_top"><B>FRAMES</B></A>  &nbsp;
845&nbsp;<A HREF="SolrContentHandler.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
846&nbsp;<SCRIPT type="text/javascript">
847  <!--
848  if(window==top) {
849    document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
850  }
851  //-->
852</SCRIPT>
853<NOSCRIPT>
854  <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
855</NOSCRIPT>
856
857
858</FONT></TD>
859</TR>
860<TR>
861<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
862  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>
863<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
864DETAIL:&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>
865</TR>
866</TABLE>
867<A NAME="skip-navbar_bottom"></A>
868<!-- ======== END OF BOTTOM NAVBAR ======= -->
869
870<HR>
871
872          <address>Copyright &copy; 2000-2012 Apache Software Foundation.  All Rights Reserved.</address>
873          <script src='../../../../../prettify.js' type='text/javascript'></script>
874          <script type='text/javascript'>
875            (function(){
876              var oldonload = window.onload;
877              if (typeof oldonload != 'function') {
878                window.onload = prettyPrint;
879              } else {
880                window.onload = function() {
881                  oldonload();
882                  prettyPrint();
883                }
884              }
885            })();
886          </script>
887       
888</BODY>
889</HTML>
Note: See TracBrowser for help on using the repository browser.