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:24 EDT 2012 --> |
---|
6 | <META http-equiv="Content-Type" content="text/html; charset=utf-8"> |
---|
7 | <TITLE> |
---|
8 | CoreContainer (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="CoreContainer (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/CoreContainer.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/core/Config.html" title="class in org.apache.solr.core"><B>PREV CLASS</B></A> |
---|
59 | <A HREF="../../../../org/apache/solr/core/CoreContainer.Initializer.html" title="class in org.apache.solr.core"><B>NEXT CLASS</B></A></FONT></TD> |
---|
60 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
61 | <A HREF="../../../../index.html?org/apache/solr/core/CoreContainer.html" target="_top"><B>FRAMES</B></A> |
---|
62 | <A HREF="CoreContainer.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: <A HREF="#nested_class_summary">NESTED</A> | <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.core</FONT> |
---|
92 | <BR> |
---|
93 | Class CoreContainer</H2> |
---|
94 | <PRE> |
---|
95 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A> |
---|
96 | <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.solr.core.CoreContainer</B> |
---|
97 | </PRE> |
---|
98 | <HR> |
---|
99 | <DL> |
---|
100 | <DT><PRE>public class <B>CoreContainer</B><DT>extends <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></DL> |
---|
101 | </PRE> |
---|
102 | |
---|
103 | <P> |
---|
104 | <DL> |
---|
105 | <DT><B>Since:</B></DT> |
---|
106 | <DD>solr 1.3</DD> |
---|
107 | </DL> |
---|
108 | <HR> |
---|
109 | |
---|
110 | <P> |
---|
111 | <!-- ======== NESTED CLASS SUMMARY ======== --> |
---|
112 | |
---|
113 | <A NAME="nested_class_summary"><!-- --></A> |
---|
114 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
115 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
116 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
117 | <B>Nested Class Summary</B></FONT></TH> |
---|
118 | </TR> |
---|
119 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
120 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
121 | <CODE>static class</CODE></FONT></TD> |
---|
122 | <TD><CODE><B><A HREF="../../../../org/apache/solr/core/CoreContainer.Initializer.html" title="class in org.apache.solr.core">CoreContainer.Initializer</A></B></CODE> |
---|
123 | |
---|
124 | <BR> |
---|
125 | </TD> |
---|
126 | </TR> |
---|
127 | </TABLE> |
---|
128 | <!-- =========== FIELD SUMMARY =========== --> |
---|
129 | |
---|
130 | <A NAME="field_summary"><!-- --></A> |
---|
131 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
132 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
133 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
134 | <B>Field Summary</B></FONT></TH> |
---|
135 | </TR> |
---|
136 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
137 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
138 | <CODE>protected <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> |
---|
139 | <TD><CODE><B><A HREF="../../../../org/apache/solr/core/CoreContainer.html#adminHandler">adminHandler</A></B></CODE> |
---|
140 | |
---|
141 | <BR> |
---|
142 | </TD> |
---|
143 | </TR> |
---|
144 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
145 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
146 | <CODE>protected <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> |
---|
147 | <TD><CODE><B><A HREF="../../../../org/apache/solr/core/CoreContainer.html#adminPath">adminPath</A></B></CODE> |
---|
148 | |
---|
149 | <BR> |
---|
150 | </TD> |
---|
151 | </TR> |
---|
152 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
153 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
154 | <CODE>protected <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</A></CODE></FONT></TD> |
---|
155 | <TD><CODE><B><A HREF="../../../../org/apache/solr/core/CoreContainer.html#configFile">configFile</A></B></CODE> |
---|
156 | |
---|
157 | <BR> |
---|
158 | </TD> |
---|
159 | </TR> |
---|
160 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
161 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
162 | <CODE>protected <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Properties.html?is-external=true" title="class or interface in java.util">Properties</A></CODE></FONT></TD> |
---|
163 | <TD><CODE><B><A HREF="../../../../org/apache/solr/core/CoreContainer.html#containerProperties">containerProperties</A></B></CODE> |
---|
164 | |
---|
165 | <BR> |
---|
166 | </TD> |
---|
167 | </TR> |
---|
168 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
169 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
170 | <CODE>protected <A HREF="../../../../org/apache/solr/handler/admin/CoreAdminHandler.html" title="class in org.apache.solr.handler.admin">CoreAdminHandler</A></CODE></FONT></TD> |
---|
171 | <TD><CODE><B><A HREF="../../../../org/apache/solr/core/CoreContainer.html#coreAdminHandler">coreAdminHandler</A></B></CODE> |
---|
172 | |
---|
173 | <BR> |
---|
174 | </TD> |
---|
175 | </TR> |
---|
176 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
177 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
178 | <CODE>protected <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><<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="../../../../org/apache/solr/core/SolrCore.html" title="class in org.apache.solr.core">SolrCore</A>></CODE></FONT></TD> |
---|
179 | <TD><CODE><B><A HREF="../../../../org/apache/solr/core/CoreContainer.html#cores">cores</A></B></CODE> |
---|
180 | |
---|
181 | <BR> |
---|
182 | </TD> |
---|
183 | </TR> |
---|
184 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
185 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
186 | <CODE>static <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> |
---|
187 | <TD><CODE><B><A HREF="../../../../org/apache/solr/core/CoreContainer.html#DEFAULT_DEFAULT_CORE_NAME">DEFAULT_DEFAULT_CORE_NAME</A></B></CODE> |
---|
188 | |
---|
189 | <BR> |
---|
190 | </TD> |
---|
191 | </TR> |
---|
192 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
193 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
194 | <CODE>protected <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> |
---|
195 | <TD><CODE><B><A HREF="../../../../org/apache/solr/core/CoreContainer.html#defaultCoreName">defaultCoreName</A></B></CODE> |
---|
196 | |
---|
197 | <BR> |
---|
198 | </TD> |
---|
199 | </TR> |
---|
200 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
201 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
202 | <CODE>protected <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> |
---|
203 | <TD><CODE><B><A HREF="../../../../org/apache/solr/core/CoreContainer.html#host">host</A></B></CODE> |
---|
204 | |
---|
205 | <BR> |
---|
206 | </TD> |
---|
207 | </TR> |
---|
208 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
209 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
210 | <CODE>protected <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> |
---|
211 | <TD><CODE><B><A HREF="../../../../org/apache/solr/core/CoreContainer.html#hostContext">hostContext</A></B></CODE> |
---|
212 | |
---|
213 | <BR> |
---|
214 | </TD> |
---|
215 | </TR> |
---|
216 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
217 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
218 | <CODE>protected <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> |
---|
219 | <TD><CODE><B><A HREF="../../../../org/apache/solr/core/CoreContainer.html#hostPort">hostPort</A></B></CODE> |
---|
220 | |
---|
221 | <BR> |
---|
222 | </TD> |
---|
223 | </TR> |
---|
224 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
225 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
226 | <CODE>protected <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><<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="../../../../org/apache/solr/schema/IndexSchema.html" title="class in org.apache.solr.schema">IndexSchema</A>></CODE></FONT></TD> |
---|
227 | <TD><CODE><B><A HREF="../../../../org/apache/solr/core/CoreContainer.html#indexSchemaCache">indexSchemaCache</A></B></CODE> |
---|
228 | |
---|
229 | <BR> |
---|
230 | </TD> |
---|
231 | </TR> |
---|
232 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
233 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
234 | <CODE>protected <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> |
---|
235 | <TD><CODE><B><A HREF="../../../../org/apache/solr/core/CoreContainer.html#libDir">libDir</A></B></CODE> |
---|
236 | |
---|
237 | <BR> |
---|
238 | </TD> |
---|
239 | </TR> |
---|
240 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
241 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
242 | <CODE>protected <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/ClassLoader.html?is-external=true" title="class or interface in java.lang">ClassLoader</A></CODE></FONT></TD> |
---|
243 | <TD><CODE><B><A HREF="../../../../org/apache/solr/core/CoreContainer.html#libLoader">libLoader</A></B></CODE> |
---|
244 | |
---|
245 | <BR> |
---|
246 | </TD> |
---|
247 | </TR> |
---|
248 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
249 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
250 | <CODE>protected <A HREF="../../../../org/apache/solr/core/SolrResourceLoader.html" title="class in org.apache.solr.core">SolrResourceLoader</A></CODE></FONT></TD> |
---|
251 | <TD><CODE><B><A HREF="../../../../org/apache/solr/core/CoreContainer.html#loader">loader</A></B></CODE> |
---|
252 | |
---|
253 | <BR> |
---|
254 | </TD> |
---|
255 | </TR> |
---|
256 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
257 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
258 | <CODE>protected static org.slf4j.Logger</CODE></FONT></TD> |
---|
259 | <TD><CODE><B><A HREF="../../../../org/apache/solr/core/CoreContainer.html#log">log</A></B></CODE> |
---|
260 | |
---|
261 | <BR> |
---|
262 | </TD> |
---|
263 | </TR> |
---|
264 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
265 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
266 | <CODE>protected <A HREF="../../../../org/apache/solr/logging/LogWatcher.html" title="class in org.apache.solr.logging">LogWatcher</A></CODE></FONT></TD> |
---|
267 | <TD><CODE><B><A HREF="../../../../org/apache/solr/core/CoreContainer.html#logging">logging</A></B></CODE> |
---|
268 | |
---|
269 | <BR> |
---|
270 | </TD> |
---|
271 | </TR> |
---|
272 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
273 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
274 | <CODE>protected <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> |
---|
275 | <TD><CODE><B><A HREF="../../../../org/apache/solr/core/CoreContainer.html#managementPath">managementPath</A></B></CODE> |
---|
276 | |
---|
277 | <BR> |
---|
278 | </TD> |
---|
279 | </TR> |
---|
280 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
281 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
282 | <CODE>protected boolean</CODE></FONT></TD> |
---|
283 | <TD><CODE><B><A HREF="../../../../org/apache/solr/core/CoreContainer.html#persistent">persistent</A></B></CODE> |
---|
284 | |
---|
285 | <BR> |
---|
286 | </TD> |
---|
287 | </TR> |
---|
288 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
289 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
290 | <CODE>protected boolean</CODE></FONT></TD> |
---|
291 | <TD><CODE><B><A HREF="../../../../org/apache/solr/core/CoreContainer.html#shareSchema">shareSchema</A></B></CODE> |
---|
292 | |
---|
293 | <BR> |
---|
294 | </TD> |
---|
295 | </TR> |
---|
296 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
297 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
298 | <CODE>protected <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> |
---|
299 | <TD><CODE><B><A HREF="../../../../org/apache/solr/core/CoreContainer.html#solrHome">solrHome</A></B></CODE> |
---|
300 | |
---|
301 | <BR> |
---|
302 | </TD> |
---|
303 | </TR> |
---|
304 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
305 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
306 | <CODE>protected <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</A></CODE></FONT></TD> |
---|
307 | <TD><CODE><B><A HREF="../../../../org/apache/solr/core/CoreContainer.html#zkClientTimeout">zkClientTimeout</A></B></CODE> |
---|
308 | |
---|
309 | <BR> |
---|
310 | </TD> |
---|
311 | </TR> |
---|
312 | </TABLE> |
---|
313 | |
---|
314 | <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
---|
315 | |
---|
316 | <A NAME="constructor_summary"><!-- --></A> |
---|
317 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
318 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
319 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
320 | <B>Constructor Summary</B></FONT></TH> |
---|
321 | </TR> |
---|
322 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
323 | <TD><CODE><B><A HREF="../../../../org/apache/solr/core/CoreContainer.html#CoreContainer()">CoreContainer</A></B>()</CODE> |
---|
324 | |
---|
325 | <BR> |
---|
326 | <B>Deprecated.</B> <I>use the single arg constructure with locateSolrHome()</I></TD> |
---|
327 | </TR> |
---|
328 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
329 | <TD><CODE><B><A HREF="../../../../org/apache/solr/core/CoreContainer.html#CoreContainer(org.apache.solr.core.SolrResourceLoader)">CoreContainer</A></B>(<A HREF="../../../../org/apache/solr/core/SolrResourceLoader.html" title="class in org.apache.solr.core">SolrResourceLoader</A> loader)</CODE> |
---|
330 | |
---|
331 | <BR> |
---|
332 | Minimal CoreContainer constructor.</TD> |
---|
333 | </TR> |
---|
334 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
335 | <TD><CODE><B><A HREF="../../../../org/apache/solr/core/CoreContainer.html#CoreContainer(java.lang.String)">CoreContainer</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> solrHome)</CODE> |
---|
336 | |
---|
337 | <BR> |
---|
338 | </TD> |
---|
339 | </TR> |
---|
340 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
341 | <TD><CODE><B><A HREF="../../../../org/apache/solr/core/CoreContainer.html#CoreContainer(java.lang.String, java.io.File)">CoreContainer</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> dir, |
---|
342 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</A> configFile)</CODE> |
---|
343 | |
---|
344 | <BR> |
---|
345 | Initalize CoreContainer directly from the constructor</TD> |
---|
346 | </TR> |
---|
347 | </TABLE> |
---|
348 | |
---|
349 | <!-- ========== METHOD SUMMARY =========== --> |
---|
350 | |
---|
351 | <A NAME="method_summary"><!-- --></A> |
---|
352 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
353 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
354 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
355 | <B>Method Summary</B></FONT></TH> |
---|
356 | </TR> |
---|
357 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
358 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
359 | <CODE> <A HREF="../../../../org/apache/solr/core/SolrCore.html" title="class in org.apache.solr.core">SolrCore</A></CODE></FONT></TD> |
---|
360 | <TD><CODE><B><A HREF="../../../../org/apache/solr/core/CoreContainer.html#create(org.apache.solr.core.CoreDescriptor)">create</A></B>(<A HREF="../../../../org/apache/solr/core/CoreDescriptor.html" title="class in org.apache.solr.core">CoreDescriptor</A> dcore)</CODE> |
---|
361 | |
---|
362 | <BR> |
---|
363 | Creates a new core based on a descriptor but does not register it.</TD> |
---|
364 | </TR> |
---|
365 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
366 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
367 | <CODE>protected <A HREF="../../../../org/apache/solr/handler/admin/CoreAdminHandler.html" title="class in org.apache.solr.handler.admin">CoreAdminHandler</A></CODE></FONT></TD> |
---|
368 | <TD><CODE><B><A HREF="../../../../org/apache/solr/core/CoreContainer.html#createMultiCoreHandler(java.lang.String)">createMultiCoreHandler</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> adminHandlerClass)</CODE> |
---|
369 | |
---|
370 | <BR> |
---|
371 | Creates a CoreAdminHandler for this MultiCore.</TD> |
---|
372 | </TR> |
---|
373 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
374 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
375 | <CODE>protected void</CODE></FONT></TD> |
---|
376 | <TD><CODE><B><A HREF="../../../../org/apache/solr/core/CoreContainer.html#finalize()">finalize</A></B>()</CODE> |
---|
377 | |
---|
378 | <BR> |
---|
379 | </TD> |
---|
380 | </TR> |
---|
381 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
382 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
383 | <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> |
---|
384 | <TD><CODE><B><A HREF="../../../../org/apache/solr/core/CoreContainer.html#getAdminPath()">getAdminPath</A></B>()</CODE> |
---|
385 | |
---|
386 | <BR> |
---|
387 | </TD> |
---|
388 | </TR> |
---|
389 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
390 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
391 | <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</A></CODE></FONT></TD> |
---|
392 | <TD><CODE><B><A HREF="../../../../org/apache/solr/core/CoreContainer.html#getConfigFile()">getConfigFile</A></B>()</CODE> |
---|
393 | |
---|
394 | <BR> |
---|
395 | </TD> |
---|
396 | </TR> |
---|
397 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
398 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
399 | <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Properties.html?is-external=true" title="class or interface in java.util">Properties</A></CODE></FONT></TD> |
---|
400 | <TD><CODE><B><A HREF="../../../../org/apache/solr/core/CoreContainer.html#getContainerProperties()">getContainerProperties</A></B>()</CODE> |
---|
401 | |
---|
402 | <BR> |
---|
403 | </TD> |
---|
404 | </TR> |
---|
405 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
406 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
407 | <CODE> <A HREF="../../../../org/apache/solr/core/SolrCore.html" title="class in org.apache.solr.core">SolrCore</A></CODE></FONT></TD> |
---|
408 | <TD><CODE><B><A HREF="../../../../org/apache/solr/core/CoreContainer.html#getCore(java.lang.String)">getCore</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name)</CODE> |
---|
409 | |
---|
410 | <BR> |
---|
411 | Gets a core by name and increase its refcount.</TD> |
---|
412 | </TR> |
---|
413 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
414 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
415 | <CODE> <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><<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> |
---|
416 | <TD><CODE><B><A HREF="../../../../org/apache/solr/core/CoreContainer.html#getCoreNames()">getCoreNames</A></B>()</CODE> |
---|
417 | |
---|
418 | <BR> |
---|
419 | </TD> |
---|
420 | </TR> |
---|
421 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
422 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
423 | <CODE> <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><<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> |
---|
424 | <TD><CODE><B><A HREF="../../../../org/apache/solr/core/CoreContainer.html#getCoreNames(org.apache.solr.core.SolrCore)">getCoreNames</A></B>(<A HREF="../../../../org/apache/solr/core/SolrCore.html" title="class in org.apache.solr.core">SolrCore</A> core)</CODE> |
---|
425 | |
---|
426 | <BR> |
---|
427 | This method is currently experimental.</TD> |
---|
428 | </TR> |
---|
429 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
430 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
431 | <CODE> <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><<A HREF="../../../../org/apache/solr/core/SolrCore.html" title="class in org.apache.solr.core">SolrCore</A>></CODE></FONT></TD> |
---|
432 | <TD><CODE><B><A HREF="../../../../org/apache/solr/core/CoreContainer.html#getCores()">getCores</A></B>()</CODE> |
---|
433 | |
---|
434 | <BR> |
---|
435 | </TD> |
---|
436 | </TR> |
---|
437 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
438 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
439 | <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> |
---|
440 | <TD><CODE><B><A HREF="../../../../org/apache/solr/core/CoreContainer.html#getDefaultCoreName()">getDefaultCoreName</A></B>()</CODE> |
---|
441 | |
---|
442 | <BR> |
---|
443 | the default core name, or null if there is no default core name</TD> |
---|
444 | </TR> |
---|
445 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
446 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
447 | <CODE> <A HREF="../../../../org/apache/solr/logging/LogWatcher.html" title="class in org.apache.solr.logging">LogWatcher</A></CODE></FONT></TD> |
---|
448 | <TD><CODE><B><A HREF="../../../../org/apache/solr/core/CoreContainer.html#getLogging()">getLogging</A></B>()</CODE> |
---|
449 | |
---|
450 | <BR> |
---|
451 | </TD> |
---|
452 | </TR> |
---|
453 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
454 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
455 | <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> |
---|
456 | <TD><CODE><B><A HREF="../../../../org/apache/solr/core/CoreContainer.html#getManagementPath()">getManagementPath</A></B>()</CODE> |
---|
457 | |
---|
458 | <BR> |
---|
459 | </TD> |
---|
460 | </TR> |
---|
461 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
462 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
463 | <CODE> <A HREF="../../../../org/apache/solr/handler/admin/CoreAdminHandler.html" title="class in org.apache.solr.handler.admin">CoreAdminHandler</A></CODE></FONT></TD> |
---|
464 | <TD><CODE><B><A HREF="../../../../org/apache/solr/core/CoreContainer.html#getMultiCoreHandler()">getMultiCoreHandler</A></B>()</CODE> |
---|
465 | |
---|
466 | <BR> |
---|
467 | </TD> |
---|
468 | </TR> |
---|
469 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
470 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
471 | <CODE> <A HREF="../../../../org/apache/solr/handler/component/ShardHandlerFactory.html" title="class in org.apache.solr.handler.component">ShardHandlerFactory</A></CODE></FONT></TD> |
---|
472 | <TD><CODE><B><A HREF="../../../../org/apache/solr/core/CoreContainer.html#getShardHandlerFactory()">getShardHandlerFactory</A></B>()</CODE> |
---|
473 | |
---|
474 | <BR> |
---|
475 | The default ShardHandlerFactory used to communicate with other solr instances</TD> |
---|
476 | </TR> |
---|
477 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
478 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
479 | <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> |
---|
480 | <TD><CODE><B><A HREF="../../../../org/apache/solr/core/CoreContainer.html#getSolrHome()">getSolrHome</A></B>()</CODE> |
---|
481 | |
---|
482 | <BR> |
---|
483 | </TD> |
---|
484 | </TR> |
---|
485 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
486 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
487 | <CODE> <A HREF="../../../../org/apache/solr/cloud/ZkController.html" title="class in org.apache.solr.cloud">ZkController</A></CODE></FONT></TD> |
---|
488 | <TD><CODE><B><A HREF="../../../../org/apache/solr/core/CoreContainer.html#getZkController()">getZkController</A></B>()</CODE> |
---|
489 | |
---|
490 | <BR> |
---|
491 | </TD> |
---|
492 | </TR> |
---|
493 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
494 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
495 | <CODE>protected void</CODE></FONT></TD> |
---|
496 | <TD><CODE><B><A HREF="../../../../org/apache/solr/core/CoreContainer.html#initZooKeeper(java.lang.String, int)">initZooKeeper</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> zkHost, |
---|
497 | int zkClientTimeout)</CODE> |
---|
498 | |
---|
499 | <BR> |
---|
500 | </TD> |
---|
501 | </TR> |
---|
502 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
503 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
504 | <CODE> boolean</CODE></FONT></TD> |
---|
505 | <TD><CODE><B><A HREF="../../../../org/apache/solr/core/CoreContainer.html#isPersistent()">isPersistent</A></B>()</CODE> |
---|
506 | |
---|
507 | <BR> |
---|
508 | </TD> |
---|
509 | </TR> |
---|
510 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
511 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
512 | <CODE> boolean</CODE></FONT></TD> |
---|
513 | <TD><CODE><B><A HREF="../../../../org/apache/solr/core/CoreContainer.html#isShutDown()">isShutDown</A></B>()</CODE> |
---|
514 | |
---|
515 | <BR> |
---|
516 | </TD> |
---|
517 | </TR> |
---|
518 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
519 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
520 | <CODE> boolean</CODE></FONT></TD> |
---|
521 | <TD><CODE><B><A HREF="../../../../org/apache/solr/core/CoreContainer.html#isZooKeeperAware()">isZooKeeperAware</A></B>()</CODE> |
---|
522 | |
---|
523 | <BR> |
---|
524 | </TD> |
---|
525 | </TR> |
---|
526 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
527 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
528 | <CODE> void</CODE></FONT></TD> |
---|
529 | <TD><CODE><B><A HREF="../../../../org/apache/solr/core/CoreContainer.html#load(java.lang.String, java.io.File)">load</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> dir, |
---|
530 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</A> configFile)</CODE> |
---|
531 | |
---|
532 | <BR> |
---|
533 | Load a config file listing the available solr cores.</TD> |
---|
534 | </TR> |
---|
535 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
536 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
537 | <CODE> void</CODE></FONT></TD> |
---|
538 | <TD><CODE><B><A HREF="../../../../org/apache/solr/core/CoreContainer.html#load(java.lang.String, org.xml.sax.InputSource)">load</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> dir, |
---|
539 | <A HREF="http://download.oracle.com/javase/6/docs/api/org/xml/sax/InputSource.html?is-external=true" title="class or interface in org.xml.sax">InputSource</A> cfgis)</CODE> |
---|
540 | |
---|
541 | <BR> |
---|
542 | Load a config file listing the available solr cores.</TD> |
---|
543 | </TR> |
---|
544 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
545 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
546 | <CODE> void</CODE></FONT></TD> |
---|
547 | <TD><CODE><B><A HREF="../../../../org/apache/solr/core/CoreContainer.html#persist()">persist</A></B>()</CODE> |
---|
548 | |
---|
549 | <BR> |
---|
550 | Persists the cores config file in cores.xml.</TD> |
---|
551 | </TR> |
---|
552 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
553 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
554 | <CODE> void</CODE></FONT></TD> |
---|
555 | <TD><CODE><B><A HREF="../../../../org/apache/solr/core/CoreContainer.html#persistFile(java.io.File)">persistFile</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</A> file)</CODE> |
---|
556 | |
---|
557 | <BR> |
---|
558 | Persists the cores config file in a user provided file.</TD> |
---|
559 | </TR> |
---|
560 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
561 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
562 | <CODE> <A HREF="../../../../org/apache/solr/core/SolrCore.html" title="class in org.apache.solr.core">SolrCore</A></CODE></FONT></TD> |
---|
563 | <TD><CODE><B><A HREF="../../../../org/apache/solr/core/CoreContainer.html#register(org.apache.solr.core.SolrCore, boolean)">register</A></B>(<A HREF="../../../../org/apache/solr/core/SolrCore.html" title="class in org.apache.solr.core">SolrCore</A> core, |
---|
564 | boolean returnPrev)</CODE> |
---|
565 | |
---|
566 | <BR> |
---|
567 | Registers a SolrCore descriptor in the registry using the core's name.</TD> |
---|
568 | </TR> |
---|
569 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
570 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
571 | <CODE> <A HREF="../../../../org/apache/solr/core/SolrCore.html" title="class in org.apache.solr.core">SolrCore</A></CODE></FONT></TD> |
---|
572 | <TD><CODE><B><A HREF="../../../../org/apache/solr/core/CoreContainer.html#register(java.lang.String, org.apache.solr.core.SolrCore, boolean)">register</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name, |
---|
573 | <A HREF="../../../../org/apache/solr/core/SolrCore.html" title="class in org.apache.solr.core">SolrCore</A> core, |
---|
574 | boolean returnPrevNotClosed)</CODE> |
---|
575 | |
---|
576 | <BR> |
---|
577 | Registers a SolrCore descriptor in the registry using the specified name.</TD> |
---|
578 | </TR> |
---|
579 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
580 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
581 | <CODE> void</CODE></FONT></TD> |
---|
582 | <TD><CODE><B><A HREF="../../../../org/apache/solr/core/CoreContainer.html#reload(java.lang.String)">reload</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name)</CODE> |
---|
583 | |
---|
584 | <BR> |
---|
585 | Recreates a SolrCore.</TD> |
---|
586 | </TR> |
---|
587 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
588 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
589 | <CODE> <A HREF="../../../../org/apache/solr/core/SolrCore.html" title="class in org.apache.solr.core">SolrCore</A></CODE></FONT></TD> |
---|
590 | <TD><CODE><B><A HREF="../../../../org/apache/solr/core/CoreContainer.html#remove(java.lang.String)">remove</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name)</CODE> |
---|
591 | |
---|
592 | <BR> |
---|
593 | Removes and returns registered core w/o decrementing it's reference count</TD> |
---|
594 | </TR> |
---|
595 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
596 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
597 | <CODE> void</CODE></FONT></TD> |
---|
598 | <TD><CODE><B><A HREF="../../../../org/apache/solr/core/CoreContainer.html#rename(java.lang.String, java.lang.String)">rename</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name, |
---|
599 | <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> toName)</CODE> |
---|
600 | |
---|
601 | <BR> |
---|
602 | </TD> |
---|
603 | </TR> |
---|
604 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
605 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
606 | <CODE> void</CODE></FONT></TD> |
---|
607 | <TD><CODE><B><A HREF="../../../../org/apache/solr/core/CoreContainer.html#setAdminPath(java.lang.String)">setAdminPath</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> adminPath)</CODE> |
---|
608 | |
---|
609 | <BR> |
---|
610 | </TD> |
---|
611 | </TR> |
---|
612 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
613 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
614 | <CODE> void</CODE></FONT></TD> |
---|
615 | <TD><CODE><B><A HREF="../../../../org/apache/solr/core/CoreContainer.html#setLogging(org.apache.solr.logging.LogWatcher)">setLogging</A></B>(<A HREF="../../../../org/apache/solr/logging/LogWatcher.html" title="class in org.apache.solr.logging">LogWatcher</A> v)</CODE> |
---|
616 | |
---|
617 | <BR> |
---|
618 | </TD> |
---|
619 | </TR> |
---|
620 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
621 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
622 | <CODE> void</CODE></FONT></TD> |
---|
623 | <TD><CODE><B><A HREF="../../../../org/apache/solr/core/CoreContainer.html#setManagementPath(java.lang.String)">setManagementPath</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> path)</CODE> |
---|
624 | |
---|
625 | <BR> |
---|
626 | Sets the alternate path for multicore handling: |
---|
627 | This is used in case there is a registered unnamed core (aka name is "") to |
---|
628 | declare an alternate way of accessing named cores.</TD> |
---|
629 | </TR> |
---|
630 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
631 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
632 | <CODE> void</CODE></FONT></TD> |
---|
633 | <TD><CODE><B><A HREF="../../../../org/apache/solr/core/CoreContainer.html#setPersistent(boolean)">setPersistent</A></B>(boolean persistent)</CODE> |
---|
634 | |
---|
635 | <BR> |
---|
636 | </TD> |
---|
637 | </TR> |
---|
638 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
639 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
640 | <CODE> void</CODE></FONT></TD> |
---|
641 | <TD><CODE><B><A HREF="../../../../org/apache/solr/core/CoreContainer.html#shutdown()">shutdown</A></B>()</CODE> |
---|
642 | |
---|
643 | <BR> |
---|
644 | Stops all cores.</TD> |
---|
645 | </TR> |
---|
646 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
647 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
648 | <CODE> void</CODE></FONT></TD> |
---|
649 | <TD><CODE><B><A HREF="../../../../org/apache/solr/core/CoreContainer.html#swap(java.lang.String, java.lang.String)">swap</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> n0, |
---|
650 | <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> n1)</CODE> |
---|
651 | |
---|
652 | <BR> |
---|
653 | Swaps two SolrCore descriptors.</TD> |
---|
654 | </TR> |
---|
655 | </TABLE> |
---|
656 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
---|
657 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
658 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
659 | <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> |
---|
660 | </TR> |
---|
661 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
662 | <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#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> |
---|
663 | </TR> |
---|
664 | </TABLE> |
---|
665 | |
---|
666 | <P> |
---|
667 | |
---|
668 | <!-- ============ FIELD DETAIL =========== --> |
---|
669 | |
---|
670 | <A NAME="field_detail"><!-- --></A> |
---|
671 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
672 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
673 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
674 | <B>Field Detail</B></FONT></TH> |
---|
675 | </TR> |
---|
676 | </TABLE> |
---|
677 | |
---|
678 | <A NAME="DEFAULT_DEFAULT_CORE_NAME"><!-- --></A><H3> |
---|
679 | DEFAULT_DEFAULT_CORE_NAME</H3> |
---|
680 | <PRE> |
---|
681 | public static final <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>DEFAULT_DEFAULT_CORE_NAME</B></PRE> |
---|
682 | <DL> |
---|
683 | <DL> |
---|
684 | <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.solr.core.CoreContainer.DEFAULT_DEFAULT_CORE_NAME">Constant Field Values</A></DL> |
---|
685 | </DL> |
---|
686 | <HR> |
---|
687 | |
---|
688 | <A NAME="log"><!-- --></A><H3> |
---|
689 | log</H3> |
---|
690 | <PRE> |
---|
691 | protected static org.slf4j.Logger <B>log</B></PRE> |
---|
692 | <DL> |
---|
693 | <DL> |
---|
694 | </DL> |
---|
695 | </DL> |
---|
696 | <HR> |
---|
697 | |
---|
698 | <A NAME="cores"><!-- --></A><H3> |
---|
699 | cores</H3> |
---|
700 | <PRE> |
---|
701 | protected final <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><<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="../../../../org/apache/solr/core/SolrCore.html" title="class in org.apache.solr.core">SolrCore</A>> <B>cores</B></PRE> |
---|
702 | <DL> |
---|
703 | <DL> |
---|
704 | </DL> |
---|
705 | </DL> |
---|
706 | <HR> |
---|
707 | |
---|
708 | <A NAME="persistent"><!-- --></A><H3> |
---|
709 | persistent</H3> |
---|
710 | <PRE> |
---|
711 | protected boolean <B>persistent</B></PRE> |
---|
712 | <DL> |
---|
713 | <DL> |
---|
714 | </DL> |
---|
715 | </DL> |
---|
716 | <HR> |
---|
717 | |
---|
718 | <A NAME="adminPath"><!-- --></A><H3> |
---|
719 | adminPath</H3> |
---|
720 | <PRE> |
---|
721 | protected <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>adminPath</B></PRE> |
---|
722 | <DL> |
---|
723 | <DL> |
---|
724 | </DL> |
---|
725 | </DL> |
---|
726 | <HR> |
---|
727 | |
---|
728 | <A NAME="managementPath"><!-- --></A><H3> |
---|
729 | managementPath</H3> |
---|
730 | <PRE> |
---|
731 | protected <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>managementPath</B></PRE> |
---|
732 | <DL> |
---|
733 | <DL> |
---|
734 | </DL> |
---|
735 | </DL> |
---|
736 | <HR> |
---|
737 | |
---|
738 | <A NAME="hostPort"><!-- --></A><H3> |
---|
739 | hostPort</H3> |
---|
740 | <PRE> |
---|
741 | protected <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>hostPort</B></PRE> |
---|
742 | <DL> |
---|
743 | <DL> |
---|
744 | </DL> |
---|
745 | </DL> |
---|
746 | <HR> |
---|
747 | |
---|
748 | <A NAME="hostContext"><!-- --></A><H3> |
---|
749 | hostContext</H3> |
---|
750 | <PRE> |
---|
751 | protected <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>hostContext</B></PRE> |
---|
752 | <DL> |
---|
753 | <DL> |
---|
754 | </DL> |
---|
755 | </DL> |
---|
756 | <HR> |
---|
757 | |
---|
758 | <A NAME="host"><!-- --></A><H3> |
---|
759 | host</H3> |
---|
760 | <PRE> |
---|
761 | protected <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>host</B></PRE> |
---|
762 | <DL> |
---|
763 | <DL> |
---|
764 | </DL> |
---|
765 | </DL> |
---|
766 | <HR> |
---|
767 | |
---|
768 | <A NAME="coreAdminHandler"><!-- --></A><H3> |
---|
769 | coreAdminHandler</H3> |
---|
770 | <PRE> |
---|
771 | protected <A HREF="../../../../org/apache/solr/handler/admin/CoreAdminHandler.html" title="class in org.apache.solr.handler.admin">CoreAdminHandler</A> <B>coreAdminHandler</B></PRE> |
---|
772 | <DL> |
---|
773 | <DL> |
---|
774 | </DL> |
---|
775 | </DL> |
---|
776 | <HR> |
---|
777 | |
---|
778 | <A NAME="configFile"><!-- --></A><H3> |
---|
779 | configFile</H3> |
---|
780 | <PRE> |
---|
781 | protected <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</A> <B>configFile</B></PRE> |
---|
782 | <DL> |
---|
783 | <DL> |
---|
784 | </DL> |
---|
785 | </DL> |
---|
786 | <HR> |
---|
787 | |
---|
788 | <A NAME="libDir"><!-- --></A><H3> |
---|
789 | libDir</H3> |
---|
790 | <PRE> |
---|
791 | protected <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>libDir</B></PRE> |
---|
792 | <DL> |
---|
793 | <DL> |
---|
794 | </DL> |
---|
795 | </DL> |
---|
796 | <HR> |
---|
797 | |
---|
798 | <A NAME="libLoader"><!-- --></A><H3> |
---|
799 | libLoader</H3> |
---|
800 | <PRE> |
---|
801 | protected <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/ClassLoader.html?is-external=true" title="class or interface in java.lang">ClassLoader</A> <B>libLoader</B></PRE> |
---|
802 | <DL> |
---|
803 | <DL> |
---|
804 | </DL> |
---|
805 | </DL> |
---|
806 | <HR> |
---|
807 | |
---|
808 | <A NAME="loader"><!-- --></A><H3> |
---|
809 | loader</H3> |
---|
810 | <PRE> |
---|
811 | protected <A HREF="../../../../org/apache/solr/core/SolrResourceLoader.html" title="class in org.apache.solr.core">SolrResourceLoader</A> <B>loader</B></PRE> |
---|
812 | <DL> |
---|
813 | <DL> |
---|
814 | </DL> |
---|
815 | </DL> |
---|
816 | <HR> |
---|
817 | |
---|
818 | <A NAME="containerProperties"><!-- --></A><H3> |
---|
819 | containerProperties</H3> |
---|
820 | <PRE> |
---|
821 | protected <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Properties.html?is-external=true" title="class or interface in java.util">Properties</A> <B>containerProperties</B></PRE> |
---|
822 | <DL> |
---|
823 | <DL> |
---|
824 | </DL> |
---|
825 | </DL> |
---|
826 | <HR> |
---|
827 | |
---|
828 | <A NAME="indexSchemaCache"><!-- --></A><H3> |
---|
829 | indexSchemaCache</H3> |
---|
830 | <PRE> |
---|
831 | protected <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><<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="../../../../org/apache/solr/schema/IndexSchema.html" title="class in org.apache.solr.schema">IndexSchema</A>> <B>indexSchemaCache</B></PRE> |
---|
832 | <DL> |
---|
833 | <DL> |
---|
834 | </DL> |
---|
835 | </DL> |
---|
836 | <HR> |
---|
837 | |
---|
838 | <A NAME="adminHandler"><!-- --></A><H3> |
---|
839 | adminHandler</H3> |
---|
840 | <PRE> |
---|
841 | protected <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>adminHandler</B></PRE> |
---|
842 | <DL> |
---|
843 | <DL> |
---|
844 | </DL> |
---|
845 | </DL> |
---|
846 | <HR> |
---|
847 | |
---|
848 | <A NAME="shareSchema"><!-- --></A><H3> |
---|
849 | shareSchema</H3> |
---|
850 | <PRE> |
---|
851 | protected boolean <B>shareSchema</B></PRE> |
---|
852 | <DL> |
---|
853 | <DL> |
---|
854 | </DL> |
---|
855 | </DL> |
---|
856 | <HR> |
---|
857 | |
---|
858 | <A NAME="zkClientTimeout"><!-- --></A><H3> |
---|
859 | zkClientTimeout</H3> |
---|
860 | <PRE> |
---|
861 | protected <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</A> <B>zkClientTimeout</B></PRE> |
---|
862 | <DL> |
---|
863 | <DL> |
---|
864 | </DL> |
---|
865 | </DL> |
---|
866 | <HR> |
---|
867 | |
---|
868 | <A NAME="solrHome"><!-- --></A><H3> |
---|
869 | solrHome</H3> |
---|
870 | <PRE> |
---|
871 | protected <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>solrHome</B></PRE> |
---|
872 | <DL> |
---|
873 | <DL> |
---|
874 | </DL> |
---|
875 | </DL> |
---|
876 | <HR> |
---|
877 | |
---|
878 | <A NAME="defaultCoreName"><!-- --></A><H3> |
---|
879 | defaultCoreName</H3> |
---|
880 | <PRE> |
---|
881 | protected <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>defaultCoreName</B></PRE> |
---|
882 | <DL> |
---|
883 | <DL> |
---|
884 | </DL> |
---|
885 | </DL> |
---|
886 | <HR> |
---|
887 | |
---|
888 | <A NAME="logging"><!-- --></A><H3> |
---|
889 | logging</H3> |
---|
890 | <PRE> |
---|
891 | protected <A HREF="../../../../org/apache/solr/logging/LogWatcher.html" title="class in org.apache.solr.logging">LogWatcher</A> <B>logging</B></PRE> |
---|
892 | <DL> |
---|
893 | <DL> |
---|
894 | </DL> |
---|
895 | </DL> |
---|
896 | |
---|
897 | <!-- ========= CONSTRUCTOR DETAIL ======== --> |
---|
898 | |
---|
899 | <A NAME="constructor_detail"><!-- --></A> |
---|
900 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
901 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
902 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
903 | <B>Constructor Detail</B></FONT></TH> |
---|
904 | </TR> |
---|
905 | </TABLE> |
---|
906 | |
---|
907 | <A NAME="CoreContainer()"><!-- --></A><H3> |
---|
908 | CoreContainer</H3> |
---|
909 | <PRE> |
---|
910 | <FONT SIZE="-1"><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</A> |
---|
911 | </FONT>public <B>CoreContainer</B>()</PRE> |
---|
912 | <DL> |
---|
913 | <DD><B>Deprecated.</B> <I>use the single arg constructure with locateSolrHome()</I> |
---|
914 | <P> |
---|
915 | <DD>Deprecated |
---|
916 | <P> |
---|
917 | <DL> |
---|
918 | <DT><B>See Also:</B><DD><A HREF="../../../../org/apache/solr/core/SolrResourceLoader.html#locateSolrHome()"><CODE>SolrResourceLoader.locateSolrHome()</CODE></A></DL> |
---|
919 | </DL> |
---|
920 | <HR> |
---|
921 | |
---|
922 | <A NAME="CoreContainer(java.lang.String, java.io.File)"><!-- --></A><H3> |
---|
923 | CoreContainer</H3> |
---|
924 | <PRE> |
---|
925 | public <B>CoreContainer</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> dir, |
---|
926 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</A> configFile) |
---|
927 | throws <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/parsers/ParserConfigurationException.html?is-external=true" title="class or interface in javax.xml.parsers">ParserConfigurationException</A>, |
---|
928 | <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>, |
---|
929 | <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> |
---|
930 | <DL> |
---|
931 | <DD>Initalize CoreContainer directly from the constructor |
---|
932 | <P> |
---|
933 | <DL> |
---|
934 | <DT><B>Parameters:</B><DD><CODE>dir</CODE> - <DD><CODE>configFile</CODE> - |
---|
935 | <DT><B>Throws:</B> |
---|
936 | <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/parsers/ParserConfigurationException.html?is-external=true" title="class or interface in javax.xml.parsers">ParserConfigurationException</A></CODE> |
---|
937 | <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> |
---|
938 | <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> |
---|
939 | </DL> |
---|
940 | <HR> |
---|
941 | |
---|
942 | <A NAME="CoreContainer(org.apache.solr.core.SolrResourceLoader)"><!-- --></A><H3> |
---|
943 | CoreContainer</H3> |
---|
944 | <PRE> |
---|
945 | public <B>CoreContainer</B>(<A HREF="../../../../org/apache/solr/core/SolrResourceLoader.html" title="class in org.apache.solr.core">SolrResourceLoader</A> loader)</PRE> |
---|
946 | <DL> |
---|
947 | <DD>Minimal CoreContainer constructor. |
---|
948 | <P> |
---|
949 | <DL> |
---|
950 | <DT><B>Parameters:</B><DD><CODE>loader</CODE> - the CoreContainer resource loader</DL> |
---|
951 | </DL> |
---|
952 | <HR> |
---|
953 | |
---|
954 | <A NAME="CoreContainer(java.lang.String)"><!-- --></A><H3> |
---|
955 | CoreContainer</H3> |
---|
956 | <PRE> |
---|
957 | public <B>CoreContainer</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> solrHome)</PRE> |
---|
958 | <DL> |
---|
959 | </DL> |
---|
960 | |
---|
961 | <!-- ============ METHOD DETAIL ========== --> |
---|
962 | |
---|
963 | <A NAME="method_detail"><!-- --></A> |
---|
964 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
965 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
966 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
967 | <B>Method Detail</B></FONT></TH> |
---|
968 | </TR> |
---|
969 | </TABLE> |
---|
970 | |
---|
971 | <A NAME="initZooKeeper(java.lang.String, int)"><!-- --></A><H3> |
---|
972 | initZooKeeper</H3> |
---|
973 | <PRE> |
---|
974 | protected void <B>initZooKeeper</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> zkHost, |
---|
975 | int zkClientTimeout)</PRE> |
---|
976 | <DL> |
---|
977 | <DD><DL> |
---|
978 | </DL> |
---|
979 | </DD> |
---|
980 | </DL> |
---|
981 | <HR> |
---|
982 | |
---|
983 | <A NAME="getContainerProperties()"><!-- --></A><H3> |
---|
984 | getContainerProperties</H3> |
---|
985 | <PRE> |
---|
986 | public <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Properties.html?is-external=true" title="class or interface in java.util">Properties</A> <B>getContainerProperties</B>()</PRE> |
---|
987 | <DL> |
---|
988 | <DD><DL> |
---|
989 | </DL> |
---|
990 | </DD> |
---|
991 | </DL> |
---|
992 | <HR> |
---|
993 | |
---|
994 | <A NAME="load(java.lang.String, java.io.File)"><!-- --></A><H3> |
---|
995 | load</H3> |
---|
996 | <PRE> |
---|
997 | public void <B>load</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> dir, |
---|
998 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</A> configFile) |
---|
999 | throws <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/parsers/ParserConfigurationException.html?is-external=true" title="class or interface in javax.xml.parsers">ParserConfigurationException</A>, |
---|
1000 | <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>, |
---|
1001 | <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> |
---|
1002 | <DL> |
---|
1003 | <DD>Load a config file listing the available solr cores. |
---|
1004 | <P> |
---|
1005 | <DD><DL> |
---|
1006 | <DT><B>Parameters:</B><DD><CODE>dir</CODE> - the home directory of all resources.<DD><CODE>configFile</CODE> - the configuration file |
---|
1007 | <DT><B>Throws:</B> |
---|
1008 | <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/parsers/ParserConfigurationException.html?is-external=true" title="class or interface in javax.xml.parsers">ParserConfigurationException</A></CODE> |
---|
1009 | <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> |
---|
1010 | <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> |
---|
1011 | </DD> |
---|
1012 | </DL> |
---|
1013 | <HR> |
---|
1014 | |
---|
1015 | <A NAME="load(java.lang.String, org.xml.sax.InputSource)"><!-- --></A><H3> |
---|
1016 | load</H3> |
---|
1017 | <PRE> |
---|
1018 | public void <B>load</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> dir, |
---|
1019 | <A HREF="http://download.oracle.com/javase/6/docs/api/org/xml/sax/InputSource.html?is-external=true" title="class or interface in org.xml.sax">InputSource</A> cfgis) |
---|
1020 | throws <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/parsers/ParserConfigurationException.html?is-external=true" title="class or interface in javax.xml.parsers">ParserConfigurationException</A>, |
---|
1021 | <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>, |
---|
1022 | <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> |
---|
1023 | <DL> |
---|
1024 | <DD>Load a config file listing the available solr cores. |
---|
1025 | <P> |
---|
1026 | <DD><DL> |
---|
1027 | <DT><B>Parameters:</B><DD><CODE>dir</CODE> - the home directory of all resources.<DD><CODE>cfgis</CODE> - the configuration file InputStream |
---|
1028 | <DT><B>Throws:</B> |
---|
1029 | <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/parsers/ParserConfigurationException.html?is-external=true" title="class or interface in javax.xml.parsers">ParserConfigurationException</A></CODE> |
---|
1030 | <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> |
---|
1031 | <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> |
---|
1032 | </DD> |
---|
1033 | </DL> |
---|
1034 | <HR> |
---|
1035 | |
---|
1036 | <A NAME="isShutDown()"><!-- --></A><H3> |
---|
1037 | isShutDown</H3> |
---|
1038 | <PRE> |
---|
1039 | public boolean <B>isShutDown</B>()</PRE> |
---|
1040 | <DL> |
---|
1041 | <DD><DL> |
---|
1042 | </DL> |
---|
1043 | </DD> |
---|
1044 | </DL> |
---|
1045 | <HR> |
---|
1046 | |
---|
1047 | <A NAME="shutdown()"><!-- --></A><H3> |
---|
1048 | shutdown</H3> |
---|
1049 | <PRE> |
---|
1050 | public void <B>shutdown</B>()</PRE> |
---|
1051 | <DL> |
---|
1052 | <DD>Stops all cores. |
---|
1053 | <P> |
---|
1054 | <DD><DL> |
---|
1055 | </DL> |
---|
1056 | </DD> |
---|
1057 | </DL> |
---|
1058 | <HR> |
---|
1059 | |
---|
1060 | <A NAME="finalize()"><!-- --></A><H3> |
---|
1061 | finalize</H3> |
---|
1062 | <PRE> |
---|
1063 | protected void <B>finalize</B>() |
---|
1064 | throws <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</A></PRE> |
---|
1065 | <DL> |
---|
1066 | <DD><DL> |
---|
1067 | <DT><B>Overrides:</B><DD><CODE><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></CODE> in class <CODE><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></CODE></DL> |
---|
1068 | </DD> |
---|
1069 | <DD><DL> |
---|
1070 | |
---|
1071 | <DT><B>Throws:</B> |
---|
1072 | <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</A></CODE></DL> |
---|
1073 | </DD> |
---|
1074 | </DL> |
---|
1075 | <HR> |
---|
1076 | |
---|
1077 | <A NAME="register(java.lang.String, org.apache.solr.core.SolrCore, boolean)"><!-- --></A><H3> |
---|
1078 | register</H3> |
---|
1079 | <PRE> |
---|
1080 | public <A HREF="../../../../org/apache/solr/core/SolrCore.html" title="class in org.apache.solr.core">SolrCore</A> <B>register</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name, |
---|
1081 | <A HREF="../../../../org/apache/solr/core/SolrCore.html" title="class in org.apache.solr.core">SolrCore</A> core, |
---|
1082 | boolean returnPrevNotClosed)</PRE> |
---|
1083 | <DL> |
---|
1084 | <DD>Registers a SolrCore descriptor in the registry using the specified name. |
---|
1085 | If returnPrevNotClosed==false, the old core, if different, is closed. if true, it is returned w/o closing the core |
---|
1086 | <P> |
---|
1087 | <DD><DL> |
---|
1088 | |
---|
1089 | <DT><B>Returns:</B><DD>a previous core having the same name if it existed</DL> |
---|
1090 | </DD> |
---|
1091 | </DL> |
---|
1092 | <HR> |
---|
1093 | |
---|
1094 | <A NAME="register(org.apache.solr.core.SolrCore, boolean)"><!-- --></A><H3> |
---|
1095 | register</H3> |
---|
1096 | <PRE> |
---|
1097 | public <A HREF="../../../../org/apache/solr/core/SolrCore.html" title="class in org.apache.solr.core">SolrCore</A> <B>register</B>(<A HREF="../../../../org/apache/solr/core/SolrCore.html" title="class in org.apache.solr.core">SolrCore</A> core, |
---|
1098 | boolean returnPrev)</PRE> |
---|
1099 | <DL> |
---|
1100 | <DD>Registers a SolrCore descriptor in the registry using the core's name. |
---|
1101 | If returnPrev==false, the old core, if different, is closed. |
---|
1102 | <P> |
---|
1103 | <DD><DL> |
---|
1104 | |
---|
1105 | <DT><B>Returns:</B><DD>a previous core having the same name if it existed and returnPrev==true</DL> |
---|
1106 | </DD> |
---|
1107 | </DL> |
---|
1108 | <HR> |
---|
1109 | |
---|
1110 | <A NAME="create(org.apache.solr.core.CoreDescriptor)"><!-- --></A><H3> |
---|
1111 | create</H3> |
---|
1112 | <PRE> |
---|
1113 | public <A HREF="../../../../org/apache/solr/core/SolrCore.html" title="class in org.apache.solr.core">SolrCore</A> <B>create</B>(<A HREF="../../../../org/apache/solr/core/CoreDescriptor.html" title="class in org.apache.solr.core">CoreDescriptor</A> dcore) |
---|
1114 | throws <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/parsers/ParserConfigurationException.html?is-external=true" title="class or interface in javax.xml.parsers">ParserConfigurationException</A>, |
---|
1115 | <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>, |
---|
1116 | <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> |
---|
1117 | <DL> |
---|
1118 | <DD>Creates a new core based on a descriptor but does not register it. |
---|
1119 | <P> |
---|
1120 | <DD><DL> |
---|
1121 | <DT><B>Parameters:</B><DD><CODE>dcore</CODE> - a core descriptor |
---|
1122 | <DT><B>Returns:</B><DD>the newly created core |
---|
1123 | <DT><B>Throws:</B> |
---|
1124 | <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/parsers/ParserConfigurationException.html?is-external=true" title="class or interface in javax.xml.parsers">ParserConfigurationException</A></CODE> |
---|
1125 | <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> |
---|
1126 | <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> |
---|
1127 | </DD> |
---|
1128 | </DL> |
---|
1129 | <HR> |
---|
1130 | |
---|
1131 | <A NAME="getCores()"><!-- --></A><H3> |
---|
1132 | getCores</H3> |
---|
1133 | <PRE> |
---|
1134 | public <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><<A HREF="../../../../org/apache/solr/core/SolrCore.html" title="class in org.apache.solr.core">SolrCore</A>> <B>getCores</B>()</PRE> |
---|
1135 | <DL> |
---|
1136 | <DD><DL> |
---|
1137 | |
---|
1138 | <DT><B>Returns:</B><DD>a Collection of registered SolrCores</DL> |
---|
1139 | </DD> |
---|
1140 | </DL> |
---|
1141 | <HR> |
---|
1142 | |
---|
1143 | <A NAME="getCoreNames()"><!-- --></A><H3> |
---|
1144 | getCoreNames</H3> |
---|
1145 | <PRE> |
---|
1146 | public <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><<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>getCoreNames</B>()</PRE> |
---|
1147 | <DL> |
---|
1148 | <DD><DL> |
---|
1149 | |
---|
1150 | <DT><B>Returns:</B><DD>a Collection of the names that cores are mapped to</DL> |
---|
1151 | </DD> |
---|
1152 | </DL> |
---|
1153 | <HR> |
---|
1154 | |
---|
1155 | <A NAME="getCoreNames(org.apache.solr.core.SolrCore)"><!-- --></A><H3> |
---|
1156 | getCoreNames</H3> |
---|
1157 | <PRE> |
---|
1158 | public <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><<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>getCoreNames</B>(<A HREF="../../../../org/apache/solr/core/SolrCore.html" title="class in org.apache.solr.core">SolrCore</A> core)</PRE> |
---|
1159 | <DL> |
---|
1160 | <DD>This method is currently experimental. |
---|
1161 | <P> |
---|
1162 | <DD><DL> |
---|
1163 | |
---|
1164 | <DT><B>Returns:</B><DD>a Collection of the names that a specific core is mapped to.</DL> |
---|
1165 | </DD> |
---|
1166 | </DL> |
---|
1167 | <HR> |
---|
1168 | |
---|
1169 | <A NAME="reload(java.lang.String)"><!-- --></A><H3> |
---|
1170 | reload</H3> |
---|
1171 | <PRE> |
---|
1172 | public void <B>reload</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name) |
---|
1173 | throws <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/parsers/ParserConfigurationException.html?is-external=true" title="class or interface in javax.xml.parsers">ParserConfigurationException</A>, |
---|
1174 | <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>, |
---|
1175 | <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> |
---|
1176 | <DL> |
---|
1177 | <DD>Recreates a SolrCore. |
---|
1178 | While the new core is loading, requests will continue to be dispatched to |
---|
1179 | and processed by the old core |
---|
1180 | <P> |
---|
1181 | <DD><DL> |
---|
1182 | <DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the SolrCore to reload |
---|
1183 | <DT><B>Throws:</B> |
---|
1184 | <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/parsers/ParserConfigurationException.html?is-external=true" title="class or interface in javax.xml.parsers">ParserConfigurationException</A></CODE> |
---|
1185 | <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> |
---|
1186 | <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> |
---|
1187 | </DD> |
---|
1188 | </DL> |
---|
1189 | <HR> |
---|
1190 | |
---|
1191 | <A NAME="swap(java.lang.String, java.lang.String)"><!-- --></A><H3> |
---|
1192 | swap</H3> |
---|
1193 | <PRE> |
---|
1194 | public void <B>swap</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> n0, |
---|
1195 | <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> n1)</PRE> |
---|
1196 | <DL> |
---|
1197 | <DD>Swaps two SolrCore descriptors. |
---|
1198 | <P> |
---|
1199 | <DD><DL> |
---|
1200 | <DT><B>Parameters:</B><DD><CODE>n0</CODE> - <DD><CODE>n1</CODE> - </DL> |
---|
1201 | </DD> |
---|
1202 | </DL> |
---|
1203 | <HR> |
---|
1204 | |
---|
1205 | <A NAME="remove(java.lang.String)"><!-- --></A><H3> |
---|
1206 | remove</H3> |
---|
1207 | <PRE> |
---|
1208 | public <A HREF="../../../../org/apache/solr/core/SolrCore.html" title="class in org.apache.solr.core">SolrCore</A> <B>remove</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name)</PRE> |
---|
1209 | <DL> |
---|
1210 | <DD>Removes and returns registered core w/o decrementing it's reference count |
---|
1211 | <P> |
---|
1212 | <DD><DL> |
---|
1213 | </DL> |
---|
1214 | </DD> |
---|
1215 | </DL> |
---|
1216 | <HR> |
---|
1217 | |
---|
1218 | <A NAME="rename(java.lang.String, java.lang.String)"><!-- --></A><H3> |
---|
1219 | rename</H3> |
---|
1220 | <PRE> |
---|
1221 | public void <B>rename</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name, |
---|
1222 | <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> toName)</PRE> |
---|
1223 | <DL> |
---|
1224 | <DD><DL> |
---|
1225 | </DL> |
---|
1226 | </DD> |
---|
1227 | </DL> |
---|
1228 | <HR> |
---|
1229 | |
---|
1230 | <A NAME="getCore(java.lang.String)"><!-- --></A><H3> |
---|
1231 | getCore</H3> |
---|
1232 | <PRE> |
---|
1233 | public <A HREF="../../../../org/apache/solr/core/SolrCore.html" title="class in org.apache.solr.core">SolrCore</A> <B>getCore</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name)</PRE> |
---|
1234 | <DL> |
---|
1235 | <DD>Gets a core by name and increase its refcount. |
---|
1236 | <P> |
---|
1237 | <DD><DL> |
---|
1238 | <DT><B>Parameters:</B><DD><CODE>name</CODE> - the core name |
---|
1239 | <DT><B>Returns:</B><DD>the core if found<DT><B>See Also:</B><DD><A HREF="../../../../org/apache/solr/core/SolrCore.html#close()"><CODE>SolrCore.close()</CODE></A></DL> |
---|
1240 | </DD> |
---|
1241 | </DL> |
---|
1242 | <HR> |
---|
1243 | |
---|
1244 | <A NAME="createMultiCoreHandler(java.lang.String)"><!-- --></A><H3> |
---|
1245 | createMultiCoreHandler</H3> |
---|
1246 | <PRE> |
---|
1247 | protected <A HREF="../../../../org/apache/solr/handler/admin/CoreAdminHandler.html" title="class in org.apache.solr.handler.admin">CoreAdminHandler</A> <B>createMultiCoreHandler</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> adminHandlerClass)</PRE> |
---|
1248 | <DL> |
---|
1249 | <DD>Creates a CoreAdminHandler for this MultiCore. |
---|
1250 | <P> |
---|
1251 | <DD><DL> |
---|
1252 | |
---|
1253 | <DT><B>Returns:</B><DD>a CoreAdminHandler</DL> |
---|
1254 | </DD> |
---|
1255 | </DL> |
---|
1256 | <HR> |
---|
1257 | |
---|
1258 | <A NAME="getMultiCoreHandler()"><!-- --></A><H3> |
---|
1259 | getMultiCoreHandler</H3> |
---|
1260 | <PRE> |
---|
1261 | public <A HREF="../../../../org/apache/solr/handler/admin/CoreAdminHandler.html" title="class in org.apache.solr.handler.admin">CoreAdminHandler</A> <B>getMultiCoreHandler</B>()</PRE> |
---|
1262 | <DL> |
---|
1263 | <DD><DL> |
---|
1264 | </DL> |
---|
1265 | </DD> |
---|
1266 | </DL> |
---|
1267 | <HR> |
---|
1268 | |
---|
1269 | <A NAME="getDefaultCoreName()"><!-- --></A><H3> |
---|
1270 | getDefaultCoreName</H3> |
---|
1271 | <PRE> |
---|
1272 | 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>getDefaultCoreName</B>()</PRE> |
---|
1273 | <DL> |
---|
1274 | <DD>the default core name, or null if there is no default core name |
---|
1275 | <P> |
---|
1276 | <DD><DL> |
---|
1277 | </DL> |
---|
1278 | </DD> |
---|
1279 | </DL> |
---|
1280 | <HR> |
---|
1281 | |
---|
1282 | <A NAME="isPersistent()"><!-- --></A><H3> |
---|
1283 | isPersistent</H3> |
---|
1284 | <PRE> |
---|
1285 | public boolean <B>isPersistent</B>()</PRE> |
---|
1286 | <DL> |
---|
1287 | <DD><DL> |
---|
1288 | </DL> |
---|
1289 | </DD> |
---|
1290 | </DL> |
---|
1291 | <HR> |
---|
1292 | |
---|
1293 | <A NAME="setPersistent(boolean)"><!-- --></A><H3> |
---|
1294 | setPersistent</H3> |
---|
1295 | <PRE> |
---|
1296 | public void <B>setPersistent</B>(boolean persistent)</PRE> |
---|
1297 | <DL> |
---|
1298 | <DD><DL> |
---|
1299 | </DL> |
---|
1300 | </DD> |
---|
1301 | </DL> |
---|
1302 | <HR> |
---|
1303 | |
---|
1304 | <A NAME="getAdminPath()"><!-- --></A><H3> |
---|
1305 | getAdminPath</H3> |
---|
1306 | <PRE> |
---|
1307 | 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>getAdminPath</B>()</PRE> |
---|
1308 | <DL> |
---|
1309 | <DD><DL> |
---|
1310 | </DL> |
---|
1311 | </DD> |
---|
1312 | </DL> |
---|
1313 | <HR> |
---|
1314 | |
---|
1315 | <A NAME="setAdminPath(java.lang.String)"><!-- --></A><H3> |
---|
1316 | setAdminPath</H3> |
---|
1317 | <PRE> |
---|
1318 | public void <B>setAdminPath</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> adminPath)</PRE> |
---|
1319 | <DL> |
---|
1320 | <DD><DL> |
---|
1321 | </DL> |
---|
1322 | </DD> |
---|
1323 | </DL> |
---|
1324 | <HR> |
---|
1325 | |
---|
1326 | <A NAME="getManagementPath()"><!-- --></A><H3> |
---|
1327 | getManagementPath</H3> |
---|
1328 | <PRE> |
---|
1329 | 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>getManagementPath</B>()</PRE> |
---|
1330 | <DL> |
---|
1331 | <DD><DL> |
---|
1332 | </DL> |
---|
1333 | </DD> |
---|
1334 | </DL> |
---|
1335 | <HR> |
---|
1336 | |
---|
1337 | <A NAME="setManagementPath(java.lang.String)"><!-- --></A><H3> |
---|
1338 | setManagementPath</H3> |
---|
1339 | <PRE> |
---|
1340 | public void <B>setManagementPath</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> path)</PRE> |
---|
1341 | <DL> |
---|
1342 | <DD>Sets the alternate path for multicore handling: |
---|
1343 | This is used in case there is a registered unnamed core (aka name is "") to |
---|
1344 | declare an alternate way of accessing named cores. |
---|
1345 | This can also be used in a pseudo single-core environment so admins can prepare |
---|
1346 | a new version before swapping. |
---|
1347 | <P> |
---|
1348 | <DD><DL> |
---|
1349 | <DT><B>Parameters:</B><DD><CODE>path</CODE> - </DL> |
---|
1350 | </DD> |
---|
1351 | </DL> |
---|
1352 | <HR> |
---|
1353 | |
---|
1354 | <A NAME="getLogging()"><!-- --></A><H3> |
---|
1355 | getLogging</H3> |
---|
1356 | <PRE> |
---|
1357 | public <A HREF="../../../../org/apache/solr/logging/LogWatcher.html" title="class in org.apache.solr.logging">LogWatcher</A> <B>getLogging</B>()</PRE> |
---|
1358 | <DL> |
---|
1359 | <DD><DL> |
---|
1360 | </DL> |
---|
1361 | </DD> |
---|
1362 | </DL> |
---|
1363 | <HR> |
---|
1364 | |
---|
1365 | <A NAME="setLogging(org.apache.solr.logging.LogWatcher)"><!-- --></A><H3> |
---|
1366 | setLogging</H3> |
---|
1367 | <PRE> |
---|
1368 | public void <B>setLogging</B>(<A HREF="../../../../org/apache/solr/logging/LogWatcher.html" title="class in org.apache.solr.logging">LogWatcher</A> v)</PRE> |
---|
1369 | <DL> |
---|
1370 | <DD><DL> |
---|
1371 | </DL> |
---|
1372 | </DD> |
---|
1373 | </DL> |
---|
1374 | <HR> |
---|
1375 | |
---|
1376 | <A NAME="getConfigFile()"><!-- --></A><H3> |
---|
1377 | getConfigFile</H3> |
---|
1378 | <PRE> |
---|
1379 | public <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</A> <B>getConfigFile</B>()</PRE> |
---|
1380 | <DL> |
---|
1381 | <DD><DL> |
---|
1382 | </DL> |
---|
1383 | </DD> |
---|
1384 | </DL> |
---|
1385 | <HR> |
---|
1386 | |
---|
1387 | <A NAME="persist()"><!-- --></A><H3> |
---|
1388 | persist</H3> |
---|
1389 | <PRE> |
---|
1390 | public void <B>persist</B>()</PRE> |
---|
1391 | <DL> |
---|
1392 | <DD>Persists the cores config file in cores.xml. |
---|
1393 | <P> |
---|
1394 | <DD><DL> |
---|
1395 | </DL> |
---|
1396 | </DD> |
---|
1397 | </DL> |
---|
1398 | <HR> |
---|
1399 | |
---|
1400 | <A NAME="persistFile(java.io.File)"><!-- --></A><H3> |
---|
1401 | persistFile</H3> |
---|
1402 | <PRE> |
---|
1403 | public void <B>persistFile</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</A> file)</PRE> |
---|
1404 | <DL> |
---|
1405 | <DD>Persists the cores config file in a user provided file. |
---|
1406 | <P> |
---|
1407 | <DD><DL> |
---|
1408 | </DL> |
---|
1409 | </DD> |
---|
1410 | </DL> |
---|
1411 | <HR> |
---|
1412 | |
---|
1413 | <A NAME="getSolrHome()"><!-- --></A><H3> |
---|
1414 | getSolrHome</H3> |
---|
1415 | <PRE> |
---|
1416 | 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>getSolrHome</B>()</PRE> |
---|
1417 | <DL> |
---|
1418 | <DD><DL> |
---|
1419 | </DL> |
---|
1420 | </DD> |
---|
1421 | </DL> |
---|
1422 | <HR> |
---|
1423 | |
---|
1424 | <A NAME="isZooKeeperAware()"><!-- --></A><H3> |
---|
1425 | isZooKeeperAware</H3> |
---|
1426 | <PRE> |
---|
1427 | public boolean <B>isZooKeeperAware</B>()</PRE> |
---|
1428 | <DL> |
---|
1429 | <DD><DL> |
---|
1430 | </DL> |
---|
1431 | </DD> |
---|
1432 | </DL> |
---|
1433 | <HR> |
---|
1434 | |
---|
1435 | <A NAME="getZkController()"><!-- --></A><H3> |
---|
1436 | getZkController</H3> |
---|
1437 | <PRE> |
---|
1438 | public <A HREF="../../../../org/apache/solr/cloud/ZkController.html" title="class in org.apache.solr.cloud">ZkController</A> <B>getZkController</B>()</PRE> |
---|
1439 | <DL> |
---|
1440 | <DD><DL> |
---|
1441 | </DL> |
---|
1442 | </DD> |
---|
1443 | </DL> |
---|
1444 | <HR> |
---|
1445 | |
---|
1446 | <A NAME="getShardHandlerFactory()"><!-- --></A><H3> |
---|
1447 | getShardHandlerFactory</H3> |
---|
1448 | <PRE> |
---|
1449 | public <A HREF="../../../../org/apache/solr/handler/component/ShardHandlerFactory.html" title="class in org.apache.solr.handler.component">ShardHandlerFactory</A> <B>getShardHandlerFactory</B>()</PRE> |
---|
1450 | <DL> |
---|
1451 | <DD>The default ShardHandlerFactory used to communicate with other solr instances |
---|
1452 | <P> |
---|
1453 | <DD><DL> |
---|
1454 | </DL> |
---|
1455 | </DD> |
---|
1456 | </DL> |
---|
1457 | <!-- ========= END OF CLASS DATA ========= --> |
---|
1458 | <HR> |
---|
1459 | |
---|
1460 | |
---|
1461 | <!-- ======= START OF BOTTOM NAVBAR ====== --> |
---|
1462 | <A NAME="navbar_bottom"><!-- --></A> |
---|
1463 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
---|
1464 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
---|
1465 | <TR> |
---|
1466 | <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
---|
1467 | <A NAME="navbar_bottom_firstrow"><!-- --></A> |
---|
1468 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
---|
1469 | <TR ALIGN="center" VALIGN="top"> |
---|
1470 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
---|
1471 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
---|
1472 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
---|
1473 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/CoreContainer.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
---|
1474 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
---|
1475 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
---|
1476 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
---|
1477 | </TR> |
---|
1478 | </TABLE> |
---|
1479 | </TD> |
---|
1480 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
---|
1481 | </EM> |
---|
1482 | </TD> |
---|
1483 | </TR> |
---|
1484 | |
---|
1485 | <TR> |
---|
1486 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
1487 | <A HREF="../../../../org/apache/solr/core/Config.html" title="class in org.apache.solr.core"><B>PREV CLASS</B></A> |
---|
1488 | <A HREF="../../../../org/apache/solr/core/CoreContainer.Initializer.html" title="class in org.apache.solr.core"><B>NEXT CLASS</B></A></FONT></TD> |
---|
1489 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
1490 | <A HREF="../../../../index.html?org/apache/solr/core/CoreContainer.html" target="_top"><B>FRAMES</B></A> |
---|
1491 | <A HREF="CoreContainer.html" target="_top"><B>NO FRAMES</B></A> |
---|
1492 | <SCRIPT type="text/javascript"> |
---|
1493 | <!-- |
---|
1494 | if(window==top) { |
---|
1495 | document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
---|
1496 | } |
---|
1497 | //--> |
---|
1498 | </SCRIPT> |
---|
1499 | <NOSCRIPT> |
---|
1500 | <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> |
---|
1501 | </NOSCRIPT> |
---|
1502 | |
---|
1503 | |
---|
1504 | </FONT></TD> |
---|
1505 | </TR> |
---|
1506 | <TR> |
---|
1507 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
1508 | SUMMARY: <A HREF="#nested_class_summary">NESTED</A> | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
---|
1509 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
1510 | DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
---|
1511 | </TR> |
---|
1512 | </TABLE> |
---|
1513 | <A NAME="skip-navbar_bottom"></A> |
---|
1514 | <!-- ======== END OF BOTTOM NAVBAR ======= --> |
---|
1515 | |
---|
1516 | <HR> |
---|
1517 | |
---|
1518 | <address>Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.</address> |
---|
1519 | <script src='../../../../prettify.js' type='text/javascript'></script> |
---|
1520 | <script type='text/javascript'> |
---|
1521 | (function(){ |
---|
1522 | var oldonload = window.onload; |
---|
1523 | if (typeof oldonload != 'function') { |
---|
1524 | window.onload = prettyPrint; |
---|
1525 | } else { |
---|
1526 | window.onload = function() { |
---|
1527 | oldonload(); |
---|
1528 | prettyPrint(); |
---|
1529 | } |
---|
1530 | } |
---|
1531 | })(); |
---|
1532 | </script> |
---|
1533 | |
---|
1534 | </BODY> |
---|
1535 | </HTML> |
---|