1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
---|
2 | <!--NewPage--> |
---|
3 | <HTML> |
---|
4 | <HEAD> |
---|
5 | <!-- Generated by javadoc (build 1.6.0_24) on Mon Jun 25 15:26:25 EDT 2012 --> |
---|
6 | <META http-equiv="Content-Type" content="text/html; charset=utf-8"> |
---|
7 | <TITLE> |
---|
8 | DefaultSolrCoreState (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="DefaultSolrCoreState (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/DefaultSolrCoreState.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/update/CommitUpdateCommand.html" title="class in org.apache.solr.update"><B>PREV CLASS</B></A> |
---|
59 | <A HREF="../../../../org/apache/solr/update/DeleteUpdateCommand.html" title="class in org.apache.solr.update"><B>NEXT CLASS</B></A></FONT></TD> |
---|
60 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
61 | <A HREF="../../../../index.html?org/apache/solr/update/DefaultSolrCoreState.html" target="_top"><B>FRAMES</B></A> |
---|
62 | <A HREF="DefaultSolrCoreState.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_classes_inherited_from_class_org.apache.solr.update.SolrCoreState">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.update</FONT> |
---|
92 | <BR> |
---|
93 | Class DefaultSolrCoreState</H2> |
---|
94 | <PRE> |
---|
95 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A> |
---|
96 | <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../org/apache/solr/update/SolrCoreState.html" title="class in org.apache.solr.update">org.apache.solr.update.SolrCoreState</A> |
---|
97 | <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.solr.update.DefaultSolrCoreState</B> |
---|
98 | </PRE> |
---|
99 | <HR> |
---|
100 | <DL> |
---|
101 | <DT><PRE>public final class <B>DefaultSolrCoreState</B><DT>extends <A HREF="../../../../org/apache/solr/update/SolrCoreState.html" title="class in org.apache.solr.update">SolrCoreState</A></DL> |
---|
102 | </PRE> |
---|
103 | |
---|
104 | <P> |
---|
105 | <HR> |
---|
106 | |
---|
107 | <P> |
---|
108 | <!-- ======== NESTED CLASS SUMMARY ======== --> |
---|
109 | |
---|
110 | <A NAME="nested_class_summary"><!-- --></A> |
---|
111 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
112 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
113 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
114 | <B>Nested Class Summary</B></FONT></TH> |
---|
115 | </TR> |
---|
116 | </TABLE> |
---|
117 | <A NAME="nested_classes_inherited_from_class_org.apache.solr.update.SolrCoreState"><!-- --></A> |
---|
118 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
119 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
120 | <TH ALIGN="left"><B>Nested classes/interfaces inherited from class org.apache.solr.update.<A HREF="../../../../org/apache/solr/update/SolrCoreState.html" title="class in org.apache.solr.update">SolrCoreState</A></B></TH> |
---|
121 | </TR> |
---|
122 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
123 | <TD><CODE><A HREF="../../../../org/apache/solr/update/SolrCoreState.IndexWriterCloser.html" title="interface in org.apache.solr.update">SolrCoreState.IndexWriterCloser</A></CODE></TD> |
---|
124 | </TR> |
---|
125 | </TABLE> |
---|
126 | |
---|
127 | <!-- =========== FIELD SUMMARY =========== --> |
---|
128 | |
---|
129 | <A NAME="field_summary"><!-- --></A> |
---|
130 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
131 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
132 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
133 | <B>Field Summary</B></FONT></TH> |
---|
134 | </TR> |
---|
135 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
136 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
137 | <CODE>static org.slf4j.Logger</CODE></FONT></TD> |
---|
138 | <TD><CODE><B><A HREF="../../../../org/apache/solr/update/DefaultSolrCoreState.html#log">log</A></B></CODE> |
---|
139 | |
---|
140 | <BR> |
---|
141 | </TD> |
---|
142 | </TR> |
---|
143 | </TABLE> |
---|
144 | |
---|
145 | <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
---|
146 | |
---|
147 | <A NAME="constructor_summary"><!-- --></A> |
---|
148 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
149 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
150 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
151 | <B>Constructor Summary</B></FONT></TH> |
---|
152 | </TR> |
---|
153 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
154 | <TD><CODE><B><A HREF="../../../../org/apache/solr/update/DefaultSolrCoreState.html#DefaultSolrCoreState(org.apache.solr.core.DirectoryFactory)">DefaultSolrCoreState</A></B>(<A HREF="../../../../org/apache/solr/core/DirectoryFactory.html" title="class in org.apache.solr.core">DirectoryFactory</A> directoryFactory)</CODE> |
---|
155 | |
---|
156 | <BR> |
---|
157 | </TD> |
---|
158 | </TR> |
---|
159 | </TABLE> |
---|
160 | |
---|
161 | <!-- ========== METHOD SUMMARY =========== --> |
---|
162 | |
---|
163 | <A NAME="method_summary"><!-- --></A> |
---|
164 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
165 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
166 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
167 | <B>Method Summary</B></FONT></TH> |
---|
168 | </TR> |
---|
169 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
170 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
171 | <CODE> void</CODE></FONT></TD> |
---|
172 | <TD><CODE><B><A HREF="../../../../org/apache/solr/update/DefaultSolrCoreState.html#cancelRecovery()">cancelRecovery</A></B>()</CODE> |
---|
173 | |
---|
174 | <BR> |
---|
175 | </TD> |
---|
176 | </TR> |
---|
177 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
178 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
179 | <CODE>protected <A HREF="../../../../org/apache/solr/update/SolrIndexWriter.html" title="class in org.apache.solr.update">SolrIndexWriter</A></CODE></FONT></TD> |
---|
180 | <TD><CODE><B><A HREF="../../../../org/apache/solr/update/DefaultSolrCoreState.html#createMainIndexWriter(org.apache.solr.core.SolrCore, java.lang.String, boolean, boolean)">createMainIndexWriter</A></B>(<A HREF="../../../../org/apache/solr/core/SolrCore.html" title="class in org.apache.solr.core">SolrCore</A> core, |
---|
181 | <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, |
---|
182 | boolean removeAllExisting, |
---|
183 | boolean forceNewDirectory)</CODE> |
---|
184 | |
---|
185 | <BR> |
---|
186 | </TD> |
---|
187 | </TR> |
---|
188 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
189 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
190 | <CODE> void</CODE></FONT></TD> |
---|
191 | <TD><CODE><B><A HREF="../../../../org/apache/solr/update/DefaultSolrCoreState.html#decref(org.apache.solr.update.SolrCoreState.IndexWriterCloser)">decref</A></B>(<A HREF="../../../../org/apache/solr/update/SolrCoreState.IndexWriterCloser.html" title="interface in org.apache.solr.update">SolrCoreState.IndexWriterCloser</A> closer)</CODE> |
---|
192 | |
---|
193 | <BR> |
---|
194 | Decrement the number of references to this state.</TD> |
---|
195 | </TR> |
---|
196 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
197 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
198 | <CODE> void</CODE></FONT></TD> |
---|
199 | <TD><CODE><B><A HREF="../../../../org/apache/solr/update/DefaultSolrCoreState.html#doRecovery(org.apache.solr.core.CoreContainer, java.lang.String)">doRecovery</A></B>(<A HREF="../../../../org/apache/solr/core/CoreContainer.html" title="class in org.apache.solr.core">CoreContainer</A> cc, |
---|
200 | <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> |
---|
201 | |
---|
202 | <BR> |
---|
203 | </TD> |
---|
204 | </TR> |
---|
205 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
206 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
207 | <CODE> <A HREF="../../../../org/apache/solr/core/DirectoryFactory.html" title="class in org.apache.solr.core">DirectoryFactory</A></CODE></FONT></TD> |
---|
208 | <TD><CODE><B><A HREF="../../../../org/apache/solr/update/DefaultSolrCoreState.html#getDirectoryFactory()">getDirectoryFactory</A></B>()</CODE> |
---|
209 | |
---|
210 | <BR> |
---|
211 | </TD> |
---|
212 | </TR> |
---|
213 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
214 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
215 | <CODE> <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/index/IndexWriter.html?is-external=true" title="class or interface in org.apache.lucene.index">IndexWriter</A></CODE></FONT></TD> |
---|
216 | <TD><CODE><B><A HREF="../../../../org/apache/solr/update/DefaultSolrCoreState.html#getIndexWriter(org.apache.solr.core.SolrCore)">getIndexWriter</A></B>(<A HREF="../../../../org/apache/solr/core/SolrCore.html" title="class in org.apache.solr.core">SolrCore</A> core)</CODE> |
---|
217 | |
---|
218 | <BR> |
---|
219 | Get the current IndexWriter.</TD> |
---|
220 | </TR> |
---|
221 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
222 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
223 | <CODE> void</CODE></FONT></TD> |
---|
224 | <TD><CODE><B><A HREF="../../../../org/apache/solr/update/DefaultSolrCoreState.html#incref()">incref</A></B>()</CODE> |
---|
225 | |
---|
226 | <BR> |
---|
227 | Increment the number of references to this state.</TD> |
---|
228 | </TR> |
---|
229 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
230 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
231 | <CODE> void</CODE></FONT></TD> |
---|
232 | <TD><CODE><B><A HREF="../../../../org/apache/solr/update/DefaultSolrCoreState.html#newIndexWriter(org.apache.solr.core.SolrCore)">newIndexWriter</A></B>(<A HREF="../../../../org/apache/solr/core/SolrCore.html" title="class in org.apache.solr.core">SolrCore</A> core)</CODE> |
---|
233 | |
---|
234 | <BR> |
---|
235 | Force the creation of a new IndexWriter using the settings from the given |
---|
236 | SolrCore.</TD> |
---|
237 | </TR> |
---|
238 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
239 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
240 | <CODE> void</CODE></FONT></TD> |
---|
241 | <TD><CODE><B><A HREF="../../../../org/apache/solr/update/DefaultSolrCoreState.html#rollbackIndexWriter(org.apache.solr.core.SolrCore)">rollbackIndexWriter</A></B>(<A HREF="../../../../org/apache/solr/core/SolrCore.html" title="class in org.apache.solr.core">SolrCore</A> core)</CODE> |
---|
242 | |
---|
243 | <BR> |
---|
244 | Rollback the current IndexWriter.</TD> |
---|
245 | </TR> |
---|
246 | </TABLE> |
---|
247 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
---|
248 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
249 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
250 | <TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH> |
---|
251 | </TR> |
---|
252 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
253 | <TD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD> |
---|
254 | </TR> |
---|
255 | </TABLE> |
---|
256 | |
---|
257 | <P> |
---|
258 | |
---|
259 | <!-- ============ FIELD DETAIL =========== --> |
---|
260 | |
---|
261 | <A NAME="field_detail"><!-- --></A> |
---|
262 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
263 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
264 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
265 | <B>Field Detail</B></FONT></TH> |
---|
266 | </TR> |
---|
267 | </TABLE> |
---|
268 | |
---|
269 | <A NAME="log"><!-- --></A><H3> |
---|
270 | log</H3> |
---|
271 | <PRE> |
---|
272 | public static org.slf4j.Logger <B>log</B></PRE> |
---|
273 | <DL> |
---|
274 | <DL> |
---|
275 | </DL> |
---|
276 | </DL> |
---|
277 | |
---|
278 | <!-- ========= CONSTRUCTOR DETAIL ======== --> |
---|
279 | |
---|
280 | <A NAME="constructor_detail"><!-- --></A> |
---|
281 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
282 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
283 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
284 | <B>Constructor Detail</B></FONT></TH> |
---|
285 | </TR> |
---|
286 | </TABLE> |
---|
287 | |
---|
288 | <A NAME="DefaultSolrCoreState(org.apache.solr.core.DirectoryFactory)"><!-- --></A><H3> |
---|
289 | DefaultSolrCoreState</H3> |
---|
290 | <PRE> |
---|
291 | public <B>DefaultSolrCoreState</B>(<A HREF="../../../../org/apache/solr/core/DirectoryFactory.html" title="class in org.apache.solr.core">DirectoryFactory</A> directoryFactory)</PRE> |
---|
292 | <DL> |
---|
293 | </DL> |
---|
294 | |
---|
295 | <!-- ============ METHOD DETAIL ========== --> |
---|
296 | |
---|
297 | <A NAME="method_detail"><!-- --></A> |
---|
298 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
299 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
300 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
301 | <B>Method Detail</B></FONT></TH> |
---|
302 | </TR> |
---|
303 | </TABLE> |
---|
304 | |
---|
305 | <A NAME="getIndexWriter(org.apache.solr.core.SolrCore)"><!-- --></A><H3> |
---|
306 | getIndexWriter</H3> |
---|
307 | <PRE> |
---|
308 | public <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/index/IndexWriter.html?is-external=true" title="class or interface in org.apache.lucene.index">IndexWriter</A> <B>getIndexWriter</B>(<A HREF="../../../../org/apache/solr/core/SolrCore.html" title="class in org.apache.solr.core">SolrCore</A> core) |
---|
309 | throws <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE> |
---|
310 | <DL> |
---|
311 | <DD><B>Description copied from class: <CODE><A HREF="../../../../org/apache/solr/update/SolrCoreState.html#getIndexWriter(org.apache.solr.core.SolrCore)">SolrCoreState</A></CODE></B></DD> |
---|
312 | <DD>Get the current IndexWriter. If a new IndexWriter must be created, use the |
---|
313 | settings from the given <A HREF="../../../../org/apache/solr/core/SolrCore.html" title="class in org.apache.solr.core"><CODE>SolrCore</CODE></A>. |
---|
314 | <P> |
---|
315 | <DD><DL> |
---|
316 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/solr/update/SolrCoreState.html#getIndexWriter(org.apache.solr.core.SolrCore)">getIndexWriter</A></CODE> in class <CODE><A HREF="../../../../org/apache/solr/update/SolrCoreState.html" title="class in org.apache.solr.update">SolrCoreState</A></CODE></DL> |
---|
317 | </DD> |
---|
318 | <DD><DL> |
---|
319 | |
---|
320 | <DT><B>Throws:</B> |
---|
321 | <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL> |
---|
322 | </DD> |
---|
323 | </DL> |
---|
324 | <HR> |
---|
325 | |
---|
326 | <A NAME="newIndexWriter(org.apache.solr.core.SolrCore)"><!-- --></A><H3> |
---|
327 | newIndexWriter</H3> |
---|
328 | <PRE> |
---|
329 | public void <B>newIndexWriter</B>(<A HREF="../../../../org/apache/solr/core/SolrCore.html" title="class in org.apache.solr.core">SolrCore</A> core) |
---|
330 | throws <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE> |
---|
331 | <DL> |
---|
332 | <DD><B>Description copied from class: <CODE><A HREF="../../../../org/apache/solr/update/SolrCoreState.html#newIndexWriter(org.apache.solr.core.SolrCore)">SolrCoreState</A></CODE></B></DD> |
---|
333 | <DD>Force the creation of a new IndexWriter using the settings from the given |
---|
334 | SolrCore. |
---|
335 | <P> |
---|
336 | <DD><DL> |
---|
337 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/solr/update/SolrCoreState.html#newIndexWriter(org.apache.solr.core.SolrCore)">newIndexWriter</A></CODE> in class <CODE><A HREF="../../../../org/apache/solr/update/SolrCoreState.html" title="class in org.apache.solr.update">SolrCoreState</A></CODE></DL> |
---|
338 | </DD> |
---|
339 | <DD><DL> |
---|
340 | |
---|
341 | <DT><B>Throws:</B> |
---|
342 | <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL> |
---|
343 | </DD> |
---|
344 | </DL> |
---|
345 | <HR> |
---|
346 | |
---|
347 | <A NAME="decref(org.apache.solr.update.SolrCoreState.IndexWriterCloser)"><!-- --></A><H3> |
---|
348 | decref</H3> |
---|
349 | <PRE> |
---|
350 | public void <B>decref</B>(<A HREF="../../../../org/apache/solr/update/SolrCoreState.IndexWriterCloser.html" title="interface in org.apache.solr.update">SolrCoreState.IndexWriterCloser</A> closer) |
---|
351 | throws <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE> |
---|
352 | <DL> |
---|
353 | <DD><B>Description copied from class: <CODE><A HREF="../../../../org/apache/solr/update/SolrCoreState.html#decref(org.apache.solr.update.SolrCoreState.IndexWriterCloser)">SolrCoreState</A></CODE></B></DD> |
---|
354 | <DD>Decrement the number of references to this state. When then number of |
---|
355 | references hits 0, the state will close. If an optional closer is |
---|
356 | passed, that will be used to close the writer. |
---|
357 | <P> |
---|
358 | <DD><DL> |
---|
359 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/solr/update/SolrCoreState.html#decref(org.apache.solr.update.SolrCoreState.IndexWriterCloser)">decref</A></CODE> in class <CODE><A HREF="../../../../org/apache/solr/update/SolrCoreState.html" title="class in org.apache.solr.update">SolrCoreState</A></CODE></DL> |
---|
360 | </DD> |
---|
361 | <DD><DL> |
---|
362 | |
---|
363 | <DT><B>Throws:</B> |
---|
364 | <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL> |
---|
365 | </DD> |
---|
366 | </DL> |
---|
367 | <HR> |
---|
368 | |
---|
369 | <A NAME="incref()"><!-- --></A><H3> |
---|
370 | incref</H3> |
---|
371 | <PRE> |
---|
372 | public void <B>incref</B>()</PRE> |
---|
373 | <DL> |
---|
374 | <DD><B>Description copied from class: <CODE><A HREF="../../../../org/apache/solr/update/SolrCoreState.html#incref()">SolrCoreState</A></CODE></B></DD> |
---|
375 | <DD>Increment the number of references to this state. |
---|
376 | <P> |
---|
377 | <DD><DL> |
---|
378 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/solr/update/SolrCoreState.html#incref()">incref</A></CODE> in class <CODE><A HREF="../../../../org/apache/solr/update/SolrCoreState.html" title="class in org.apache.solr.update">SolrCoreState</A></CODE></DL> |
---|
379 | </DD> |
---|
380 | <DD><DL> |
---|
381 | </DL> |
---|
382 | </DD> |
---|
383 | </DL> |
---|
384 | <HR> |
---|
385 | |
---|
386 | <A NAME="rollbackIndexWriter(org.apache.solr.core.SolrCore)"><!-- --></A><H3> |
---|
387 | rollbackIndexWriter</H3> |
---|
388 | <PRE> |
---|
389 | public void <B>rollbackIndexWriter</B>(<A HREF="../../../../org/apache/solr/core/SolrCore.html" title="class in org.apache.solr.core">SolrCore</A> core) |
---|
390 | throws <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE> |
---|
391 | <DL> |
---|
392 | <DD><B>Description copied from class: <CODE><A HREF="../../../../org/apache/solr/update/SolrCoreState.html#rollbackIndexWriter(org.apache.solr.core.SolrCore)">SolrCoreState</A></CODE></B></DD> |
---|
393 | <DD>Rollback the current IndexWriter. When creating the new IndexWriter use the |
---|
394 | settings from the given <A HREF="../../../../org/apache/solr/core/SolrCore.html" title="class in org.apache.solr.core"><CODE>SolrCore</CODE></A>. |
---|
395 | <P> |
---|
396 | <DD><DL> |
---|
397 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/solr/update/SolrCoreState.html#rollbackIndexWriter(org.apache.solr.core.SolrCore)">rollbackIndexWriter</A></CODE> in class <CODE><A HREF="../../../../org/apache/solr/update/SolrCoreState.html" title="class in org.apache.solr.update">SolrCoreState</A></CODE></DL> |
---|
398 | </DD> |
---|
399 | <DD><DL> |
---|
400 | |
---|
401 | <DT><B>Throws:</B> |
---|
402 | <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL> |
---|
403 | </DD> |
---|
404 | </DL> |
---|
405 | <HR> |
---|
406 | |
---|
407 | <A NAME="createMainIndexWriter(org.apache.solr.core.SolrCore, java.lang.String, boolean, boolean)"><!-- --></A><H3> |
---|
408 | createMainIndexWriter</H3> |
---|
409 | <PRE> |
---|
410 | protected <A HREF="../../../../org/apache/solr/update/SolrIndexWriter.html" title="class in org.apache.solr.update">SolrIndexWriter</A> <B>createMainIndexWriter</B>(<A HREF="../../../../org/apache/solr/core/SolrCore.html" title="class in org.apache.solr.core">SolrCore</A> core, |
---|
411 | <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, |
---|
412 | boolean removeAllExisting, |
---|
413 | boolean forceNewDirectory) |
---|
414 | throws <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE> |
---|
415 | <DL> |
---|
416 | <DD><DL> |
---|
417 | |
---|
418 | <DT><B>Throws:</B> |
---|
419 | <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL> |
---|
420 | </DD> |
---|
421 | </DL> |
---|
422 | <HR> |
---|
423 | |
---|
424 | <A NAME="getDirectoryFactory()"><!-- --></A><H3> |
---|
425 | getDirectoryFactory</H3> |
---|
426 | <PRE> |
---|
427 | public <A HREF="../../../../org/apache/solr/core/DirectoryFactory.html" title="class in org.apache.solr.core">DirectoryFactory</A> <B>getDirectoryFactory</B>()</PRE> |
---|
428 | <DL> |
---|
429 | <DD><DL> |
---|
430 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/solr/update/SolrCoreState.html#getDirectoryFactory()">getDirectoryFactory</A></CODE> in class <CODE><A HREF="../../../../org/apache/solr/update/SolrCoreState.html" title="class in org.apache.solr.update">SolrCoreState</A></CODE></DL> |
---|
431 | </DD> |
---|
432 | <DD><DL> |
---|
433 | |
---|
434 | <DT><B>Returns:</B><DD>the <A HREF="../../../../org/apache/solr/core/DirectoryFactory.html" title="class in org.apache.solr.core"><CODE>DirectoryFactory</CODE></A> that should be used.</DL> |
---|
435 | </DD> |
---|
436 | </DL> |
---|
437 | <HR> |
---|
438 | |
---|
439 | <A NAME="doRecovery(org.apache.solr.core.CoreContainer, java.lang.String)"><!-- --></A><H3> |
---|
440 | doRecovery</H3> |
---|
441 | <PRE> |
---|
442 | public void <B>doRecovery</B>(<A HREF="../../../../org/apache/solr/core/CoreContainer.html" title="class in org.apache.solr.core">CoreContainer</A> cc, |
---|
443 | <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> |
---|
444 | <DL> |
---|
445 | <DD><DL> |
---|
446 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/solr/update/SolrCoreState.html#doRecovery(org.apache.solr.core.CoreContainer, java.lang.String)">doRecovery</A></CODE> in class <CODE><A HREF="../../../../org/apache/solr/update/SolrCoreState.html" title="class in org.apache.solr.update">SolrCoreState</A></CODE></DL> |
---|
447 | </DD> |
---|
448 | <DD><DL> |
---|
449 | </DL> |
---|
450 | </DD> |
---|
451 | </DL> |
---|
452 | <HR> |
---|
453 | |
---|
454 | <A NAME="cancelRecovery()"><!-- --></A><H3> |
---|
455 | cancelRecovery</H3> |
---|
456 | <PRE> |
---|
457 | public void <B>cancelRecovery</B>()</PRE> |
---|
458 | <DL> |
---|
459 | <DD><DL> |
---|
460 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/solr/update/SolrCoreState.html#cancelRecovery()">cancelRecovery</A></CODE> in class <CODE><A HREF="../../../../org/apache/solr/update/SolrCoreState.html" title="class in org.apache.solr.update">SolrCoreState</A></CODE></DL> |
---|
461 | </DD> |
---|
462 | <DD><DL> |
---|
463 | </DL> |
---|
464 | </DD> |
---|
465 | </DL> |
---|
466 | <!-- ========= END OF CLASS DATA ========= --> |
---|
467 | <HR> |
---|
468 | |
---|
469 | |
---|
470 | <!-- ======= START OF BOTTOM NAVBAR ====== --> |
---|
471 | <A NAME="navbar_bottom"><!-- --></A> |
---|
472 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
---|
473 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
---|
474 | <TR> |
---|
475 | <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
---|
476 | <A NAME="navbar_bottom_firstrow"><!-- --></A> |
---|
477 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
---|
478 | <TR ALIGN="center" VALIGN="top"> |
---|
479 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
---|
480 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
---|
481 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
---|
482 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/DefaultSolrCoreState.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
---|
483 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
---|
484 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
---|
485 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
---|
486 | </TR> |
---|
487 | </TABLE> |
---|
488 | </TD> |
---|
489 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
---|
490 | </EM> |
---|
491 | </TD> |
---|
492 | </TR> |
---|
493 | |
---|
494 | <TR> |
---|
495 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
496 | <A HREF="../../../../org/apache/solr/update/CommitUpdateCommand.html" title="class in org.apache.solr.update"><B>PREV CLASS</B></A> |
---|
497 | <A HREF="../../../../org/apache/solr/update/DeleteUpdateCommand.html" title="class in org.apache.solr.update"><B>NEXT CLASS</B></A></FONT></TD> |
---|
498 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
499 | <A HREF="../../../../index.html?org/apache/solr/update/DefaultSolrCoreState.html" target="_top"><B>FRAMES</B></A> |
---|
500 | <A HREF="DefaultSolrCoreState.html" target="_top"><B>NO FRAMES</B></A> |
---|
501 | <SCRIPT type="text/javascript"> |
---|
502 | <!-- |
---|
503 | if(window==top) { |
---|
504 | document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
---|
505 | } |
---|
506 | //--> |
---|
507 | </SCRIPT> |
---|
508 | <NOSCRIPT> |
---|
509 | <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> |
---|
510 | </NOSCRIPT> |
---|
511 | |
---|
512 | |
---|
513 | </FONT></TD> |
---|
514 | </TR> |
---|
515 | <TR> |
---|
516 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
517 | SUMMARY: <A HREF="#nested_classes_inherited_from_class_org.apache.solr.update.SolrCoreState">NESTED</A> | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
---|
518 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
519 | DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
---|
520 | </TR> |
---|
521 | </TABLE> |
---|
522 | <A NAME="skip-navbar_bottom"></A> |
---|
523 | <!-- ======== END OF BOTTOM NAVBAR ======= --> |
---|
524 | |
---|
525 | <HR> |
---|
526 | |
---|
527 | <address>Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.</address> |
---|
528 | <script src='../../../../prettify.js' type='text/javascript'></script> |
---|
529 | <script type='text/javascript'> |
---|
530 | (function(){ |
---|
531 | var oldonload = window.onload; |
---|
532 | if (typeof oldonload != 'function') { |
---|
533 | window.onload = prettyPrint; |
---|
534 | } else { |
---|
535 | window.onload = function() { |
---|
536 | oldonload(); |
---|
537 | prettyPrint(); |
---|
538 | } |
---|
539 | } |
---|
540 | })(); |
---|
541 | </script> |
---|
542 | |
---|
543 | </BODY> |
---|
544 | </HTML> |
---|