1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
---|
2 | <!--NewPage--> |
---|
3 | <HTML> |
---|
4 | <HEAD> |
---|
5 | <!-- Generated by javadoc (build 1.6.0_24) on Mon Jun 25 15:26:26 EDT 2012 --> |
---|
6 | <META http-equiv="Content-Type" content="text/html; charset=utf-8"> |
---|
7 | <TITLE> |
---|
8 | SolrServer (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="SolrServer (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/SolrServer.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/client/solrj/SolrResponse.html" title="class in org.apache.solr.client.solrj"><B>PREV CLASS</B></A> |
---|
59 | <A HREF="../../../../../org/apache/solr/client/solrj/SolrServerException.html" title="class in org.apache.solr.client.solrj"><B>NEXT CLASS</B></A></FONT></TD> |
---|
60 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
61 | <A HREF="../../../../../index.html?org/apache/solr/client/solrj/SolrServer.html" target="_top"><B>FRAMES</B></A> |
---|
62 | <A HREF="SolrServer.html" target="_top"><B>NO FRAMES</B></A> |
---|
63 | <SCRIPT type="text/javascript"> |
---|
64 | <!-- |
---|
65 | if(window==top) { |
---|
66 | document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
---|
67 | } |
---|
68 | //--> |
---|
69 | </SCRIPT> |
---|
70 | <NOSCRIPT> |
---|
71 | <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> |
---|
72 | </NOSCRIPT> |
---|
73 | |
---|
74 | |
---|
75 | </FONT></TD> |
---|
76 | </TR> |
---|
77 | <TR> |
---|
78 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
79 | SUMMARY: NESTED | FIELD | <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: FIELD | <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.client.solrj</FONT> |
---|
92 | <BR> |
---|
93 | Class SolrServer</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.client.solrj.SolrServer</B> |
---|
97 | </PRE> |
---|
98 | <DL> |
---|
99 | <DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://download.oracle.com/javase/6/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</A></DD> |
---|
100 | </DL> |
---|
101 | <DL> |
---|
102 | <DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../../org/apache/solr/client/solrj/impl/CloudSolrServer.html" title="class in org.apache.solr.client.solrj.impl">CloudSolrServer</A>, <A HREF="../../../../../org/apache/solr/client/solrj/impl/ConcurrentUpdateSolrServer.html" title="class in org.apache.solr.client.solrj.impl">ConcurrentUpdateSolrServer</A>, <A HREF="../../../../../org/apache/solr/client/solrj/embedded/EmbeddedSolrServer.html" title="class in org.apache.solr.client.solrj.embedded">EmbeddedSolrServer</A>, <A HREF="../../../../../org/apache/solr/client/solrj/impl/HttpSolrServer.html" title="class in org.apache.solr.client.solrj.impl">HttpSolrServer</A>, <A HREF="../../../../../org/apache/solr/client/solrj/impl/LBHttpSolrServer.html" title="class in org.apache.solr.client.solrj.impl">LBHttpSolrServer</A></DD> |
---|
103 | </DL> |
---|
104 | <HR> |
---|
105 | <DL> |
---|
106 | <DT><PRE>public abstract class <B>SolrServer</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><DT>implements <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</A></DL> |
---|
107 | </PRE> |
---|
108 | |
---|
109 | <P> |
---|
110 | <DL> |
---|
111 | <DT><B>Since:</B></DT> |
---|
112 | <DD>solr 1.3</DD> |
---|
113 | <DT><B>See Also:</B><DD><A HREF="../../../../../serialized-form.html#org.apache.solr.client.solrj.SolrServer">Serialized Form</A></DL> |
---|
114 | <HR> |
---|
115 | |
---|
116 | <P> |
---|
117 | |
---|
118 | <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
---|
119 | |
---|
120 | <A NAME="constructor_summary"><!-- --></A> |
---|
121 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
122 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
123 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
124 | <B>Constructor Summary</B></FONT></TH> |
---|
125 | </TR> |
---|
126 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
127 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/client/solrj/SolrServer.html#SolrServer()">SolrServer</A></B>()</CODE> |
---|
128 | |
---|
129 | <BR> |
---|
130 | </TD> |
---|
131 | </TR> |
---|
132 | </TABLE> |
---|
133 | |
---|
134 | <!-- ========== METHOD SUMMARY =========== --> |
---|
135 | |
---|
136 | <A NAME="method_summary"><!-- --></A> |
---|
137 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
138 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
139 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
140 | <B>Method Summary</B></FONT></TH> |
---|
141 | </TR> |
---|
142 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
143 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
144 | <CODE> <A HREF="../../../../../org/apache/solr/client/solrj/response/UpdateResponse.html" title="class in org.apache.solr.client.solrj.response">UpdateResponse</A></CODE></FONT></TD> |
---|
145 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/client/solrj/SolrServer.html#add(java.util.Collection)">add</A></B>(<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/common/SolrInputDocument.html" title="class in org.apache.solr.common">SolrInputDocument</A>> docs)</CODE> |
---|
146 | |
---|
147 | <BR> |
---|
148 | Adds a collection of documents</TD> |
---|
149 | </TR> |
---|
150 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
151 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
152 | <CODE> <A HREF="../../../../../org/apache/solr/client/solrj/response/UpdateResponse.html" title="class in org.apache.solr.client.solrj.response">UpdateResponse</A></CODE></FONT></TD> |
---|
153 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/client/solrj/SolrServer.html#add(java.util.Collection, int)">add</A></B>(<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/common/SolrInputDocument.html" title="class in org.apache.solr.common">SolrInputDocument</A>> docs, |
---|
154 | int commitWithinMs)</CODE> |
---|
155 | |
---|
156 | <BR> |
---|
157 | Adds a collection of documents, specifying max time before they become committed</TD> |
---|
158 | </TR> |
---|
159 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
160 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
161 | <CODE> <A HREF="../../../../../org/apache/solr/client/solrj/response/UpdateResponse.html" title="class in org.apache.solr.client.solrj.response">UpdateResponse</A></CODE></FONT></TD> |
---|
162 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/client/solrj/SolrServer.html#add(org.apache.solr.common.SolrInputDocument)">add</A></B>(<A HREF="../../../../../org/apache/solr/common/SolrInputDocument.html" title="class in org.apache.solr.common">SolrInputDocument</A> doc)</CODE> |
---|
163 | |
---|
164 | <BR> |
---|
165 | Adds a single document</TD> |
---|
166 | </TR> |
---|
167 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
168 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
169 | <CODE> <A HREF="../../../../../org/apache/solr/client/solrj/response/UpdateResponse.html" title="class in org.apache.solr.client.solrj.response">UpdateResponse</A></CODE></FONT></TD> |
---|
170 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/client/solrj/SolrServer.html#add(org.apache.solr.common.SolrInputDocument, int)">add</A></B>(<A HREF="../../../../../org/apache/solr/common/SolrInputDocument.html" title="class in org.apache.solr.common">SolrInputDocument</A> doc, |
---|
171 | int commitWithinMs)</CODE> |
---|
172 | |
---|
173 | <BR> |
---|
174 | Adds a single document specifying max time before it becomes committed</TD> |
---|
175 | </TR> |
---|
176 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
177 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
178 | <CODE> <A HREF="../../../../../org/apache/solr/client/solrj/response/UpdateResponse.html" title="class in org.apache.solr.client.solrj.response">UpdateResponse</A></CODE></FONT></TD> |
---|
179 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/client/solrj/SolrServer.html#addBean(java.lang.Object)">addBean</A></B>(<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> obj)</CODE> |
---|
180 | |
---|
181 | <BR> |
---|
182 | Adds a single bean</TD> |
---|
183 | </TR> |
---|
184 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
185 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
186 | <CODE> <A HREF="../../../../../org/apache/solr/client/solrj/response/UpdateResponse.html" title="class in org.apache.solr.client.solrj.response">UpdateResponse</A></CODE></FONT></TD> |
---|
187 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/client/solrj/SolrServer.html#addBean(java.lang.Object, int)">addBean</A></B>(<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> obj, |
---|
188 | int commitWithinMs)</CODE> |
---|
189 | |
---|
190 | <BR> |
---|
191 | Adds a single bean specifying max time before it becomes committed</TD> |
---|
192 | </TR> |
---|
193 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
194 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
195 | <CODE> <A HREF="../../../../../org/apache/solr/client/solrj/response/UpdateResponse.html" title="class in org.apache.solr.client.solrj.response">UpdateResponse</A></CODE></FONT></TD> |
---|
196 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/client/solrj/SolrServer.html#addBeans(java.util.Collection)">addBeans</A></B>(<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><?> beans)</CODE> |
---|
197 | |
---|
198 | <BR> |
---|
199 | Adds a collection of beans</TD> |
---|
200 | </TR> |
---|
201 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
202 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
203 | <CODE> <A HREF="../../../../../org/apache/solr/client/solrj/response/UpdateResponse.html" title="class in org.apache.solr.client.solrj.response">UpdateResponse</A></CODE></FONT></TD> |
---|
204 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/client/solrj/SolrServer.html#addBeans(java.util.Collection, int)">addBeans</A></B>(<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><?> beans, |
---|
205 | int commitWithinMs)</CODE> |
---|
206 | |
---|
207 | <BR> |
---|
208 | Adds a collection of beans specifying max time before they become committed</TD> |
---|
209 | </TR> |
---|
210 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
211 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
212 | <CODE> <A HREF="../../../../../org/apache/solr/client/solrj/response/UpdateResponse.html" title="class in org.apache.solr.client.solrj.response">UpdateResponse</A></CODE></FONT></TD> |
---|
213 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/client/solrj/SolrServer.html#commit()">commit</A></B>()</CODE> |
---|
214 | |
---|
215 | <BR> |
---|
216 | Performs an explicit commit, causing pending documents to be committed for indexing</TD> |
---|
217 | </TR> |
---|
218 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
219 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
220 | <CODE> <A HREF="../../../../../org/apache/solr/client/solrj/response/UpdateResponse.html" title="class in org.apache.solr.client.solrj.response">UpdateResponse</A></CODE></FONT></TD> |
---|
221 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/client/solrj/SolrServer.html#commit(boolean, boolean)">commit</A></B>(boolean waitFlush, |
---|
222 | boolean waitSearcher)</CODE> |
---|
223 | |
---|
224 | <BR> |
---|
225 | Performs an explicit commit, causing pending documents to be committed for indexing</TD> |
---|
226 | </TR> |
---|
227 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
228 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
229 | <CODE> <A HREF="../../../../../org/apache/solr/client/solrj/response/UpdateResponse.html" title="class in org.apache.solr.client.solrj.response">UpdateResponse</A></CODE></FONT></TD> |
---|
230 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/client/solrj/SolrServer.html#commit(boolean, boolean, boolean)">commit</A></B>(boolean waitFlush, |
---|
231 | boolean waitSearcher, |
---|
232 | boolean softCommit)</CODE> |
---|
233 | |
---|
234 | <BR> |
---|
235 | Performs an explicit commit, causing pending documents to be committed for indexing</TD> |
---|
236 | </TR> |
---|
237 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
238 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
239 | <CODE> <A HREF="../../../../../org/apache/solr/client/solrj/response/UpdateResponse.html" title="class in org.apache.solr.client.solrj.response">UpdateResponse</A></CODE></FONT></TD> |
---|
240 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/client/solrj/SolrServer.html#deleteById(java.util.List)">deleteById</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>> ids)</CODE> |
---|
241 | |
---|
242 | <BR> |
---|
243 | Deletes a list of documents by unique ID</TD> |
---|
244 | </TR> |
---|
245 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
246 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
247 | <CODE> <A HREF="../../../../../org/apache/solr/client/solrj/response/UpdateResponse.html" title="class in org.apache.solr.client.solrj.response">UpdateResponse</A></CODE></FONT></TD> |
---|
248 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/client/solrj/SolrServer.html#deleteById(java.util.List, int)">deleteById</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>> ids, |
---|
249 | int commitWithinMs)</CODE> |
---|
250 | |
---|
251 | <BR> |
---|
252 | Deletes a list of documents by unique ID, specifying max time before commit</TD> |
---|
253 | </TR> |
---|
254 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
255 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
256 | <CODE> <A HREF="../../../../../org/apache/solr/client/solrj/response/UpdateResponse.html" title="class in org.apache.solr.client.solrj.response">UpdateResponse</A></CODE></FONT></TD> |
---|
257 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/client/solrj/SolrServer.html#deleteById(java.lang.String)">deleteById</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> id)</CODE> |
---|
258 | |
---|
259 | <BR> |
---|
260 | Deletes a single document by unique ID</TD> |
---|
261 | </TR> |
---|
262 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
263 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
264 | <CODE> <A HREF="../../../../../org/apache/solr/client/solrj/response/UpdateResponse.html" title="class in org.apache.solr.client.solrj.response">UpdateResponse</A></CODE></FONT></TD> |
---|
265 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/client/solrj/SolrServer.html#deleteById(java.lang.String, int)">deleteById</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> id, |
---|
266 | int commitWithinMs)</CODE> |
---|
267 | |
---|
268 | <BR> |
---|
269 | Deletes a single document by unique ID, specifying max time before commit</TD> |
---|
270 | </TR> |
---|
271 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
272 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
273 | <CODE> <A HREF="../../../../../org/apache/solr/client/solrj/response/UpdateResponse.html" title="class in org.apache.solr.client.solrj.response">UpdateResponse</A></CODE></FONT></TD> |
---|
274 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/client/solrj/SolrServer.html#deleteByQuery(java.lang.String)">deleteByQuery</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> query)</CODE> |
---|
275 | |
---|
276 | <BR> |
---|
277 | Deletes documents from the index based on a query</TD> |
---|
278 | </TR> |
---|
279 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
280 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
281 | <CODE> <A HREF="../../../../../org/apache/solr/client/solrj/response/UpdateResponse.html" title="class in org.apache.solr.client.solrj.response">UpdateResponse</A></CODE></FONT></TD> |
---|
282 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/client/solrj/SolrServer.html#deleteByQuery(java.lang.String, int)">deleteByQuery</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> query, |
---|
283 | int commitWithinMs)</CODE> |
---|
284 | |
---|
285 | <BR> |
---|
286 | Deletes documents from the index based on a query, specifying max time before commit</TD> |
---|
287 | </TR> |
---|
288 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
289 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
290 | <CODE> <A HREF="../../../../../org/apache/solr/client/solrj/beans/DocumentObjectBinder.html" title="class in org.apache.solr.client.solrj.beans">DocumentObjectBinder</A></CODE></FONT></TD> |
---|
291 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/client/solrj/SolrServer.html#getBinder()">getBinder</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> <A HREF="../../../../../org/apache/solr/client/solrj/response/UpdateResponse.html" title="class in org.apache.solr.client.solrj.response">UpdateResponse</A></CODE></FONT></TD> |
---|
299 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/client/solrj/SolrServer.html#optimize()">optimize</A></B>()</CODE> |
---|
300 | |
---|
301 | <BR> |
---|
302 | Performs an explicit optimize, causing a merge of all segments to one.</TD> |
---|
303 | </TR> |
---|
304 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
305 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
306 | <CODE> <A HREF="../../../../../org/apache/solr/client/solrj/response/UpdateResponse.html" title="class in org.apache.solr.client.solrj.response">UpdateResponse</A></CODE></FONT></TD> |
---|
307 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/client/solrj/SolrServer.html#optimize(boolean, boolean)">optimize</A></B>(boolean waitFlush, |
---|
308 | boolean waitSearcher)</CODE> |
---|
309 | |
---|
310 | <BR> |
---|
311 | Performs an explicit optimize, causing a merge of all segments to one.</TD> |
---|
312 | </TR> |
---|
313 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
314 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
315 | <CODE> <A HREF="../../../../../org/apache/solr/client/solrj/response/UpdateResponse.html" title="class in org.apache.solr.client.solrj.response">UpdateResponse</A></CODE></FONT></TD> |
---|
316 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/client/solrj/SolrServer.html#optimize(boolean, boolean, int)">optimize</A></B>(boolean waitFlush, |
---|
317 | boolean waitSearcher, |
---|
318 | int maxSegments)</CODE> |
---|
319 | |
---|
320 | <BR> |
---|
321 | Performs an explicit optimize, causing a merge of all segments to one.</TD> |
---|
322 | </TR> |
---|
323 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
324 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
325 | <CODE> <A HREF="../../../../../org/apache/solr/client/solrj/response/SolrPingResponse.html" title="class in org.apache.solr.client.solrj.response">SolrPingResponse</A></CODE></FONT></TD> |
---|
326 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/client/solrj/SolrServer.html#ping()">ping</A></B>()</CODE> |
---|
327 | |
---|
328 | <BR> |
---|
329 | Issues a ping request to check if the server is alive</TD> |
---|
330 | </TR> |
---|
331 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
332 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
333 | <CODE> <A HREF="../../../../../org/apache/solr/client/solrj/response/QueryResponse.html" title="class in org.apache.solr.client.solrj.response">QueryResponse</A></CODE></FONT></TD> |
---|
334 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/client/solrj/SolrServer.html#query(org.apache.solr.common.params.SolrParams)">query</A></B>(<A HREF="../../../../../org/apache/solr/common/params/SolrParams.html" title="class in org.apache.solr.common.params">SolrParams</A> params)</CODE> |
---|
335 | |
---|
336 | <BR> |
---|
337 | Performs a query to the Solr server</TD> |
---|
338 | </TR> |
---|
339 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
340 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
341 | <CODE> <A HREF="../../../../../org/apache/solr/client/solrj/response/QueryResponse.html" title="class in org.apache.solr.client.solrj.response">QueryResponse</A></CODE></FONT></TD> |
---|
342 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/client/solrj/SolrServer.html#query(org.apache.solr.common.params.SolrParams, org.apache.solr.client.solrj.SolrRequest.METHOD)">query</A></B>(<A HREF="../../../../../org/apache/solr/common/params/SolrParams.html" title="class in org.apache.solr.common.params">SolrParams</A> params, |
---|
343 | <A HREF="../../../../../org/apache/solr/client/solrj/SolrRequest.METHOD.html" title="enum in org.apache.solr.client.solrj">SolrRequest.METHOD</A> method)</CODE> |
---|
344 | |
---|
345 | <BR> |
---|
346 | Performs a query to the Solr server</TD> |
---|
347 | </TR> |
---|
348 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
349 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
350 | <CODE> <A HREF="../../../../../org/apache/solr/client/solrj/response/QueryResponse.html" title="class in org.apache.solr.client.solrj.response">QueryResponse</A></CODE></FONT></TD> |
---|
351 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/client/solrj/SolrServer.html#queryAndStreamResponse(org.apache.solr.common.params.SolrParams, org.apache.solr.client.solrj.StreamingResponseCallback)">queryAndStreamResponse</A></B>(<A HREF="../../../../../org/apache/solr/common/params/SolrParams.html" title="class in org.apache.solr.common.params">SolrParams</A> params, |
---|
352 | <A HREF="../../../../../org/apache/solr/client/solrj/StreamingResponseCallback.html" title="class in org.apache.solr.client.solrj">StreamingResponseCallback</A> callback)</CODE> |
---|
353 | |
---|
354 | <BR> |
---|
355 | Query solr, and stream the results.</TD> |
---|
356 | </TR> |
---|
357 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
358 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
359 | <CODE>abstract <A HREF="../../../../../org/apache/solr/common/util/NamedList.html" title="class in org.apache.solr.common.util">NamedList</A><<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></FONT></TD> |
---|
360 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/client/solrj/SolrServer.html#request(org.apache.solr.client.solrj.SolrRequest)">request</A></B>(<A HREF="../../../../../org/apache/solr/client/solrj/SolrRequest.html" title="class in org.apache.solr.client.solrj">SolrRequest</A> request)</CODE> |
---|
361 | |
---|
362 | <BR> |
---|
363 | SolrServer implementations need to implement how a request is actually processed</TD> |
---|
364 | </TR> |
---|
365 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
366 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
367 | <CODE> <A HREF="../../../../../org/apache/solr/client/solrj/response/UpdateResponse.html" title="class in org.apache.solr.client.solrj.response">UpdateResponse</A></CODE></FONT></TD> |
---|
368 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/client/solrj/SolrServer.html#rollback()">rollback</A></B>()</CODE> |
---|
369 | |
---|
370 | <BR> |
---|
371 | Performs a rollback of all non-committed documents pending.</TD> |
---|
372 | </TR> |
---|
373 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
374 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
375 | <CODE>abstract void</CODE></FONT></TD> |
---|
376 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/client/solrj/SolrServer.html#shutdown()">shutdown</A></B>()</CODE> |
---|
377 | |
---|
378 | <BR> |
---|
379 | Release allocated resources.</TD> |
---|
380 | </TR> |
---|
381 | </TABLE> |
---|
382 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
---|
383 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
384 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
385 | <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> |
---|
386 | </TR> |
---|
387 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
388 | <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> |
---|
389 | </TR> |
---|
390 | </TABLE> |
---|
391 | |
---|
392 | <P> |
---|
393 | |
---|
394 | <!-- ========= CONSTRUCTOR DETAIL ======== --> |
---|
395 | |
---|
396 | <A NAME="constructor_detail"><!-- --></A> |
---|
397 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
398 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
399 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
400 | <B>Constructor Detail</B></FONT></TH> |
---|
401 | </TR> |
---|
402 | </TABLE> |
---|
403 | |
---|
404 | <A NAME="SolrServer()"><!-- --></A><H3> |
---|
405 | SolrServer</H3> |
---|
406 | <PRE> |
---|
407 | public <B>SolrServer</B>()</PRE> |
---|
408 | <DL> |
---|
409 | </DL> |
---|
410 | |
---|
411 | <!-- ============ METHOD DETAIL ========== --> |
---|
412 | |
---|
413 | <A NAME="method_detail"><!-- --></A> |
---|
414 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
415 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
416 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
417 | <B>Method Detail</B></FONT></TH> |
---|
418 | </TR> |
---|
419 | </TABLE> |
---|
420 | |
---|
421 | <A NAME="add(java.util.Collection)"><!-- --></A><H3> |
---|
422 | add</H3> |
---|
423 | <PRE> |
---|
424 | public <A HREF="../../../../../org/apache/solr/client/solrj/response/UpdateResponse.html" title="class in org.apache.solr.client.solrj.response">UpdateResponse</A> <B>add</B>(<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/common/SolrInputDocument.html" title="class in org.apache.solr.common">SolrInputDocument</A>> docs) |
---|
425 | throws <A HREF="../../../../../org/apache/solr/client/solrj/SolrServerException.html" title="class in org.apache.solr.client.solrj">SolrServerException</A>, |
---|
426 | <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> |
---|
427 | <DL> |
---|
428 | <DD>Adds a collection of documents |
---|
429 | <P> |
---|
430 | <DD><DL> |
---|
431 | </DL> |
---|
432 | </DD> |
---|
433 | <DD><DL> |
---|
434 | <DT><B>Parameters:</B><DD><CODE>docs</CODE> - the collection of documents |
---|
435 | <DT><B>Throws:</B> |
---|
436 | <DD><CODE><A HREF="../../../../../org/apache/solr/client/solrj/SolrServerException.html" title="class in org.apache.solr.client.solrj">SolrServerException</A></CODE> |
---|
437 | <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> |
---|
438 | </DD> |
---|
439 | </DL> |
---|
440 | <HR> |
---|
441 | |
---|
442 | <A NAME="add(java.util.Collection, int)"><!-- --></A><H3> |
---|
443 | add</H3> |
---|
444 | <PRE> |
---|
445 | public <A HREF="../../../../../org/apache/solr/client/solrj/response/UpdateResponse.html" title="class in org.apache.solr.client.solrj.response">UpdateResponse</A> <B>add</B>(<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/common/SolrInputDocument.html" title="class in org.apache.solr.common">SolrInputDocument</A>> docs, |
---|
446 | int commitWithinMs) |
---|
447 | throws <A HREF="../../../../../org/apache/solr/client/solrj/SolrServerException.html" title="class in org.apache.solr.client.solrj">SolrServerException</A>, |
---|
448 | <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> |
---|
449 | <DL> |
---|
450 | <DD>Adds a collection of documents, specifying max time before they become committed |
---|
451 | <P> |
---|
452 | <DD><DL> |
---|
453 | </DL> |
---|
454 | </DD> |
---|
455 | <DD><DL> |
---|
456 | <DT><B>Parameters:</B><DD><CODE>docs</CODE> - the collection of documents<DD><CODE>commitWithinMs</CODE> - max time (in ms) before a commit will happen |
---|
457 | <DT><B>Throws:</B> |
---|
458 | <DD><CODE><A HREF="../../../../../org/apache/solr/client/solrj/SolrServerException.html" title="class in org.apache.solr.client.solrj">SolrServerException</A></CODE> |
---|
459 | <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><DT><B>Since:</B></DT> |
---|
460 | <DD>solr 3.5</DD> |
---|
461 | </DL> |
---|
462 | </DD> |
---|
463 | </DL> |
---|
464 | <HR> |
---|
465 | |
---|
466 | <A NAME="addBeans(java.util.Collection)"><!-- --></A><H3> |
---|
467 | addBeans</H3> |
---|
468 | <PRE> |
---|
469 | public <A HREF="../../../../../org/apache/solr/client/solrj/response/UpdateResponse.html" title="class in org.apache.solr.client.solrj.response">UpdateResponse</A> <B>addBeans</B>(<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><?> beans) |
---|
470 | throws <A HREF="../../../../../org/apache/solr/client/solrj/SolrServerException.html" title="class in org.apache.solr.client.solrj">SolrServerException</A>, |
---|
471 | <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> |
---|
472 | <DL> |
---|
473 | <DD>Adds a collection of beans |
---|
474 | <P> |
---|
475 | <DD><DL> |
---|
476 | </DL> |
---|
477 | </DD> |
---|
478 | <DD><DL> |
---|
479 | <DT><B>Parameters:</B><DD><CODE>beans</CODE> - the collection of beans |
---|
480 | <DT><B>Throws:</B> |
---|
481 | <DD><CODE><A HREF="../../../../../org/apache/solr/client/solrj/SolrServerException.html" title="class in org.apache.solr.client.solrj">SolrServerException</A></CODE> |
---|
482 | <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> |
---|
483 | </DD> |
---|
484 | </DL> |
---|
485 | <HR> |
---|
486 | |
---|
487 | <A NAME="addBeans(java.util.Collection, int)"><!-- --></A><H3> |
---|
488 | addBeans</H3> |
---|
489 | <PRE> |
---|
490 | public <A HREF="../../../../../org/apache/solr/client/solrj/response/UpdateResponse.html" title="class in org.apache.solr.client.solrj.response">UpdateResponse</A> <B>addBeans</B>(<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><?> beans, |
---|
491 | int commitWithinMs) |
---|
492 | throws <A HREF="../../../../../org/apache/solr/client/solrj/SolrServerException.html" title="class in org.apache.solr.client.solrj">SolrServerException</A>, |
---|
493 | <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> |
---|
494 | <DL> |
---|
495 | <DD>Adds a collection of beans specifying max time before they become committed |
---|
496 | <P> |
---|
497 | <DD><DL> |
---|
498 | </DL> |
---|
499 | </DD> |
---|
500 | <DD><DL> |
---|
501 | <DT><B>Parameters:</B><DD><CODE>beans</CODE> - the collection of beans<DD><CODE>commitWithinMs</CODE> - max time (in ms) before a commit will happen |
---|
502 | <DT><B>Throws:</B> |
---|
503 | <DD><CODE><A HREF="../../../../../org/apache/solr/client/solrj/SolrServerException.html" title="class in org.apache.solr.client.solrj">SolrServerException</A></CODE> |
---|
504 | <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><DT><B>Since:</B></DT> |
---|
505 | <DD>solr 3.5</DD> |
---|
506 | </DL> |
---|
507 | </DD> |
---|
508 | </DL> |
---|
509 | <HR> |
---|
510 | |
---|
511 | <A NAME="add(org.apache.solr.common.SolrInputDocument)"><!-- --></A><H3> |
---|
512 | add</H3> |
---|
513 | <PRE> |
---|
514 | public <A HREF="../../../../../org/apache/solr/client/solrj/response/UpdateResponse.html" title="class in org.apache.solr.client.solrj.response">UpdateResponse</A> <B>add</B>(<A HREF="../../../../../org/apache/solr/common/SolrInputDocument.html" title="class in org.apache.solr.common">SolrInputDocument</A> doc) |
---|
515 | throws <A HREF="../../../../../org/apache/solr/client/solrj/SolrServerException.html" title="class in org.apache.solr.client.solrj">SolrServerException</A>, |
---|
516 | <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> |
---|
517 | <DL> |
---|
518 | <DD>Adds a single document |
---|
519 | <P> |
---|
520 | <DD><DL> |
---|
521 | </DL> |
---|
522 | </DD> |
---|
523 | <DD><DL> |
---|
524 | <DT><B>Parameters:</B><DD><CODE>doc</CODE> - the input document |
---|
525 | <DT><B>Throws:</B> |
---|
526 | <DD><CODE><A HREF="../../../../../org/apache/solr/client/solrj/SolrServerException.html" title="class in org.apache.solr.client.solrj">SolrServerException</A></CODE> |
---|
527 | <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> |
---|
528 | </DD> |
---|
529 | </DL> |
---|
530 | <HR> |
---|
531 | |
---|
532 | <A NAME="add(org.apache.solr.common.SolrInputDocument, int)"><!-- --></A><H3> |
---|
533 | add</H3> |
---|
534 | <PRE> |
---|
535 | public <A HREF="../../../../../org/apache/solr/client/solrj/response/UpdateResponse.html" title="class in org.apache.solr.client.solrj.response">UpdateResponse</A> <B>add</B>(<A HREF="../../../../../org/apache/solr/common/SolrInputDocument.html" title="class in org.apache.solr.common">SolrInputDocument</A> doc, |
---|
536 | int commitWithinMs) |
---|
537 | throws <A HREF="../../../../../org/apache/solr/client/solrj/SolrServerException.html" title="class in org.apache.solr.client.solrj">SolrServerException</A>, |
---|
538 | <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> |
---|
539 | <DL> |
---|
540 | <DD>Adds a single document specifying max time before it becomes committed |
---|
541 | <P> |
---|
542 | <DD><DL> |
---|
543 | </DL> |
---|
544 | </DD> |
---|
545 | <DD><DL> |
---|
546 | <DT><B>Parameters:</B><DD><CODE>doc</CODE> - the input document<DD><CODE>commitWithinMs</CODE> - max time (in ms) before a commit will happen |
---|
547 | <DT><B>Throws:</B> |
---|
548 | <DD><CODE><A HREF="../../../../../org/apache/solr/client/solrj/SolrServerException.html" title="class in org.apache.solr.client.solrj">SolrServerException</A></CODE> |
---|
549 | <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><DT><B>Since:</B></DT> |
---|
550 | <DD>solr 3.5</DD> |
---|
551 | </DL> |
---|
552 | </DD> |
---|
553 | </DL> |
---|
554 | <HR> |
---|
555 | |
---|
556 | <A NAME="addBean(java.lang.Object)"><!-- --></A><H3> |
---|
557 | addBean</H3> |
---|
558 | <PRE> |
---|
559 | public <A HREF="../../../../../org/apache/solr/client/solrj/response/UpdateResponse.html" title="class in org.apache.solr.client.solrj.response">UpdateResponse</A> <B>addBean</B>(<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> obj) |
---|
560 | 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>, |
---|
561 | <A HREF="../../../../../org/apache/solr/client/solrj/SolrServerException.html" title="class in org.apache.solr.client.solrj">SolrServerException</A></PRE> |
---|
562 | <DL> |
---|
563 | <DD>Adds a single bean |
---|
564 | <P> |
---|
565 | <DD><DL> |
---|
566 | </DL> |
---|
567 | </DD> |
---|
568 | <DD><DL> |
---|
569 | <DT><B>Parameters:</B><DD><CODE>obj</CODE> - the input bean |
---|
570 | <DT><B>Throws:</B> |
---|
571 | <DD><CODE><A HREF="../../../../../org/apache/solr/client/solrj/SolrServerException.html" title="class in org.apache.solr.client.solrj">SolrServerException</A></CODE> |
---|
572 | <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> |
---|
573 | </DD> |
---|
574 | </DL> |
---|
575 | <HR> |
---|
576 | |
---|
577 | <A NAME="addBean(java.lang.Object, int)"><!-- --></A><H3> |
---|
578 | addBean</H3> |
---|
579 | <PRE> |
---|
580 | public <A HREF="../../../../../org/apache/solr/client/solrj/response/UpdateResponse.html" title="class in org.apache.solr.client.solrj.response">UpdateResponse</A> <B>addBean</B>(<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> obj, |
---|
581 | int commitWithinMs) |
---|
582 | 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>, |
---|
583 | <A HREF="../../../../../org/apache/solr/client/solrj/SolrServerException.html" title="class in org.apache.solr.client.solrj">SolrServerException</A></PRE> |
---|
584 | <DL> |
---|
585 | <DD>Adds a single bean specifying max time before it becomes committed |
---|
586 | <P> |
---|
587 | <DD><DL> |
---|
588 | </DL> |
---|
589 | </DD> |
---|
590 | <DD><DL> |
---|
591 | <DT><B>Parameters:</B><DD><CODE>obj</CODE> - the input bean<DD><CODE>commitWithinMs</CODE> - max time (in ms) before a commit will happen |
---|
592 | <DT><B>Throws:</B> |
---|
593 | <DD><CODE><A HREF="../../../../../org/apache/solr/client/solrj/SolrServerException.html" title="class in org.apache.solr.client.solrj">SolrServerException</A></CODE> |
---|
594 | <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><DT><B>Since:</B></DT> |
---|
595 | <DD>solr 3.5</DD> |
---|
596 | </DL> |
---|
597 | </DD> |
---|
598 | </DL> |
---|
599 | <HR> |
---|
600 | |
---|
601 | <A NAME="commit()"><!-- --></A><H3> |
---|
602 | commit</H3> |
---|
603 | <PRE> |
---|
604 | public <A HREF="../../../../../org/apache/solr/client/solrj/response/UpdateResponse.html" title="class in org.apache.solr.client.solrj.response">UpdateResponse</A> <B>commit</B>() |
---|
605 | throws <A HREF="../../../../../org/apache/solr/client/solrj/SolrServerException.html" title="class in org.apache.solr.client.solrj">SolrServerException</A>, |
---|
606 | <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> |
---|
607 | <DL> |
---|
608 | <DD>Performs an explicit commit, causing pending documents to be committed for indexing |
---|
609 | <p> |
---|
610 | waitFlush=true and waitSearcher=true to be inline with the defaults for plain HTTP access |
---|
611 | <P> |
---|
612 | <DD><DL> |
---|
613 | </DL> |
---|
614 | </DD> |
---|
615 | <DD><DL> |
---|
616 | |
---|
617 | <DT><B>Throws:</B> |
---|
618 | <DD><CODE><A HREF="../../../../../org/apache/solr/client/solrj/SolrServerException.html" title="class in org.apache.solr.client.solrj">SolrServerException</A></CODE> |
---|
619 | <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> |
---|
620 | </DD> |
---|
621 | </DL> |
---|
622 | <HR> |
---|
623 | |
---|
624 | <A NAME="optimize()"><!-- --></A><H3> |
---|
625 | optimize</H3> |
---|
626 | <PRE> |
---|
627 | public <A HREF="../../../../../org/apache/solr/client/solrj/response/UpdateResponse.html" title="class in org.apache.solr.client.solrj.response">UpdateResponse</A> <B>optimize</B>() |
---|
628 | throws <A HREF="../../../../../org/apache/solr/client/solrj/SolrServerException.html" title="class in org.apache.solr.client.solrj">SolrServerException</A>, |
---|
629 | <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> |
---|
630 | <DL> |
---|
631 | <DD>Performs an explicit optimize, causing a merge of all segments to one. |
---|
632 | <p> |
---|
633 | waitFlush=true and waitSearcher=true to be inline with the defaults for plain HTTP access |
---|
634 | <p> |
---|
635 | Note: In most cases it is not required to do explicit optimize |
---|
636 | <P> |
---|
637 | <DD><DL> |
---|
638 | </DL> |
---|
639 | </DD> |
---|
640 | <DD><DL> |
---|
641 | |
---|
642 | <DT><B>Throws:</B> |
---|
643 | <DD><CODE><A HREF="../../../../../org/apache/solr/client/solrj/SolrServerException.html" title="class in org.apache.solr.client.solrj">SolrServerException</A></CODE> |
---|
644 | <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> |
---|
645 | </DD> |
---|
646 | </DL> |
---|
647 | <HR> |
---|
648 | |
---|
649 | <A NAME="commit(boolean, boolean)"><!-- --></A><H3> |
---|
650 | commit</H3> |
---|
651 | <PRE> |
---|
652 | public <A HREF="../../../../../org/apache/solr/client/solrj/response/UpdateResponse.html" title="class in org.apache.solr.client.solrj.response">UpdateResponse</A> <B>commit</B>(boolean waitFlush, |
---|
653 | boolean waitSearcher) |
---|
654 | throws <A HREF="../../../../../org/apache/solr/client/solrj/SolrServerException.html" title="class in org.apache.solr.client.solrj">SolrServerException</A>, |
---|
655 | <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> |
---|
656 | <DL> |
---|
657 | <DD>Performs an explicit commit, causing pending documents to be committed for indexing |
---|
658 | <P> |
---|
659 | <DD><DL> |
---|
660 | </DL> |
---|
661 | </DD> |
---|
662 | <DD><DL> |
---|
663 | <DT><B>Parameters:</B><DD><CODE>waitFlush</CODE> - block until index changes are flushed to disk<DD><CODE>waitSearcher</CODE> - block until a new searcher is opened and registered as the main query searcher, making the changes visible |
---|
664 | <DT><B>Throws:</B> |
---|
665 | <DD><CODE><A HREF="../../../../../org/apache/solr/client/solrj/SolrServerException.html" title="class in org.apache.solr.client.solrj">SolrServerException</A></CODE> |
---|
666 | <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> |
---|
667 | </DD> |
---|
668 | </DL> |
---|
669 | <HR> |
---|
670 | |
---|
671 | <A NAME="commit(boolean, boolean, boolean)"><!-- --></A><H3> |
---|
672 | commit</H3> |
---|
673 | <PRE> |
---|
674 | public <A HREF="../../../../../org/apache/solr/client/solrj/response/UpdateResponse.html" title="class in org.apache.solr.client.solrj.response">UpdateResponse</A> <B>commit</B>(boolean waitFlush, |
---|
675 | boolean waitSearcher, |
---|
676 | boolean softCommit) |
---|
677 | throws <A HREF="../../../../../org/apache/solr/client/solrj/SolrServerException.html" title="class in org.apache.solr.client.solrj">SolrServerException</A>, |
---|
678 | <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> |
---|
679 | <DL> |
---|
680 | <DD>Performs an explicit commit, causing pending documents to be committed for indexing |
---|
681 | <P> |
---|
682 | <DD><DL> |
---|
683 | </DL> |
---|
684 | </DD> |
---|
685 | <DD><DL> |
---|
686 | <DT><B>Parameters:</B><DD><CODE>waitFlush</CODE> - block until index changes are flushed to disk<DD><CODE>waitSearcher</CODE> - block until a new searcher is opened and registered as the main query searcher, making the changes visible<DD><CODE>softCommit</CODE> - makes index changes visible while neither fsync-ing index files nor writing a new index descriptor |
---|
687 | <DT><B>Throws:</B> |
---|
688 | <DD><CODE><A HREF="../../../../../org/apache/solr/client/solrj/SolrServerException.html" title="class in org.apache.solr.client.solrj">SolrServerException</A></CODE> |
---|
689 | <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> |
---|
690 | </DD> |
---|
691 | </DL> |
---|
692 | <HR> |
---|
693 | |
---|
694 | <A NAME="optimize(boolean, boolean)"><!-- --></A><H3> |
---|
695 | optimize</H3> |
---|
696 | <PRE> |
---|
697 | public <A HREF="../../../../../org/apache/solr/client/solrj/response/UpdateResponse.html" title="class in org.apache.solr.client.solrj.response">UpdateResponse</A> <B>optimize</B>(boolean waitFlush, |
---|
698 | boolean waitSearcher) |
---|
699 | throws <A HREF="../../../../../org/apache/solr/client/solrj/SolrServerException.html" title="class in org.apache.solr.client.solrj">SolrServerException</A>, |
---|
700 | <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> |
---|
701 | <DL> |
---|
702 | <DD>Performs an explicit optimize, causing a merge of all segments to one. |
---|
703 | <p> |
---|
704 | Note: In most cases it is not required to do explicit optimize |
---|
705 | <P> |
---|
706 | <DD><DL> |
---|
707 | </DL> |
---|
708 | </DD> |
---|
709 | <DD><DL> |
---|
710 | <DT><B>Parameters:</B><DD><CODE>waitFlush</CODE> - block until index changes are flushed to disk<DD><CODE>waitSearcher</CODE> - block until a new searcher is opened and registered as the main query searcher, making the changes visible |
---|
711 | <DT><B>Throws:</B> |
---|
712 | <DD><CODE><A HREF="../../../../../org/apache/solr/client/solrj/SolrServerException.html" title="class in org.apache.solr.client.solrj">SolrServerException</A></CODE> |
---|
713 | <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> |
---|
714 | </DD> |
---|
715 | </DL> |
---|
716 | <HR> |
---|
717 | |
---|
718 | <A NAME="optimize(boolean, boolean, int)"><!-- --></A><H3> |
---|
719 | optimize</H3> |
---|
720 | <PRE> |
---|
721 | public <A HREF="../../../../../org/apache/solr/client/solrj/response/UpdateResponse.html" title="class in org.apache.solr.client.solrj.response">UpdateResponse</A> <B>optimize</B>(boolean waitFlush, |
---|
722 | boolean waitSearcher, |
---|
723 | int maxSegments) |
---|
724 | throws <A HREF="../../../../../org/apache/solr/client/solrj/SolrServerException.html" title="class in org.apache.solr.client.solrj">SolrServerException</A>, |
---|
725 | <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> |
---|
726 | <DL> |
---|
727 | <DD>Performs an explicit optimize, causing a merge of all segments to one. |
---|
728 | <p> |
---|
729 | Note: In most cases it is not required to do explicit optimize |
---|
730 | <P> |
---|
731 | <DD><DL> |
---|
732 | </DL> |
---|
733 | </DD> |
---|
734 | <DD><DL> |
---|
735 | <DT><B>Parameters:</B><DD><CODE>waitFlush</CODE> - block until index changes are flushed to disk<DD><CODE>waitSearcher</CODE> - block until a new searcher is opened and registered as the main query searcher, making the changes visible<DD><CODE>maxSegments</CODE> - optimizes down to at most this number of segments |
---|
736 | <DT><B>Throws:</B> |
---|
737 | <DD><CODE><A HREF="../../../../../org/apache/solr/client/solrj/SolrServerException.html" title="class in org.apache.solr.client.solrj">SolrServerException</A></CODE> |
---|
738 | <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> |
---|
739 | </DD> |
---|
740 | </DL> |
---|
741 | <HR> |
---|
742 | |
---|
743 | <A NAME="rollback()"><!-- --></A><H3> |
---|
744 | rollback</H3> |
---|
745 | <PRE> |
---|
746 | public <A HREF="../../../../../org/apache/solr/client/solrj/response/UpdateResponse.html" title="class in org.apache.solr.client.solrj.response">UpdateResponse</A> <B>rollback</B>() |
---|
747 | throws <A HREF="../../../../../org/apache/solr/client/solrj/SolrServerException.html" title="class in org.apache.solr.client.solrj">SolrServerException</A>, |
---|
748 | <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> |
---|
749 | <DL> |
---|
750 | <DD>Performs a rollback of all non-committed documents pending. |
---|
751 | <p> |
---|
752 | Note that this is not a true rollback as in databases. Content you have previously |
---|
753 | added may have been committed due to autoCommit, buffer full, other client performing |
---|
754 | a commit etc. |
---|
755 | <P> |
---|
756 | <DD><DL> |
---|
757 | </DL> |
---|
758 | </DD> |
---|
759 | <DD><DL> |
---|
760 | |
---|
761 | <DT><B>Throws:</B> |
---|
762 | <DD><CODE><A HREF="../../../../../org/apache/solr/client/solrj/SolrServerException.html" title="class in org.apache.solr.client.solrj">SolrServerException</A></CODE> |
---|
763 | <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> |
---|
764 | </DD> |
---|
765 | </DL> |
---|
766 | <HR> |
---|
767 | |
---|
768 | <A NAME="deleteById(java.lang.String)"><!-- --></A><H3> |
---|
769 | deleteById</H3> |
---|
770 | <PRE> |
---|
771 | public <A HREF="../../../../../org/apache/solr/client/solrj/response/UpdateResponse.html" title="class in org.apache.solr.client.solrj.response">UpdateResponse</A> <B>deleteById</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> id) |
---|
772 | throws <A HREF="../../../../../org/apache/solr/client/solrj/SolrServerException.html" title="class in org.apache.solr.client.solrj">SolrServerException</A>, |
---|
773 | <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> |
---|
774 | <DL> |
---|
775 | <DD>Deletes a single document by unique ID |
---|
776 | <P> |
---|
777 | <DD><DL> |
---|
778 | </DL> |
---|
779 | </DD> |
---|
780 | <DD><DL> |
---|
781 | <DT><B>Parameters:</B><DD><CODE>id</CODE> - the ID of the document to delete |
---|
782 | <DT><B>Throws:</B> |
---|
783 | <DD><CODE><A HREF="../../../../../org/apache/solr/client/solrj/SolrServerException.html" title="class in org.apache.solr.client.solrj">SolrServerException</A></CODE> |
---|
784 | <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> |
---|
785 | </DD> |
---|
786 | </DL> |
---|
787 | <HR> |
---|
788 | |
---|
789 | <A NAME="deleteById(java.lang.String, int)"><!-- --></A><H3> |
---|
790 | deleteById</H3> |
---|
791 | <PRE> |
---|
792 | public <A HREF="../../../../../org/apache/solr/client/solrj/response/UpdateResponse.html" title="class in org.apache.solr.client.solrj.response">UpdateResponse</A> <B>deleteById</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> id, |
---|
793 | int commitWithinMs) |
---|
794 | throws <A HREF="../../../../../org/apache/solr/client/solrj/SolrServerException.html" title="class in org.apache.solr.client.solrj">SolrServerException</A>, |
---|
795 | <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> |
---|
796 | <DL> |
---|
797 | <DD>Deletes a single document by unique ID, specifying max time before commit |
---|
798 | <P> |
---|
799 | <DD><DL> |
---|
800 | </DL> |
---|
801 | </DD> |
---|
802 | <DD><DL> |
---|
803 | <DT><B>Parameters:</B><DD><CODE>id</CODE> - the ID of the document to delete<DD><CODE>commitWithinMs</CODE> - max time (in ms) before a commit will happen |
---|
804 | <DT><B>Throws:</B> |
---|
805 | <DD><CODE><A HREF="../../../../../org/apache/solr/client/solrj/SolrServerException.html" title="class in org.apache.solr.client.solrj">SolrServerException</A></CODE> |
---|
806 | <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><DT><B>Since:</B></DT> |
---|
807 | <DD>3.6</DD> |
---|
808 | </DL> |
---|
809 | </DD> |
---|
810 | </DL> |
---|
811 | <HR> |
---|
812 | |
---|
813 | <A NAME="deleteById(java.util.List)"><!-- --></A><H3> |
---|
814 | deleteById</H3> |
---|
815 | <PRE> |
---|
816 | public <A HREF="../../../../../org/apache/solr/client/solrj/response/UpdateResponse.html" title="class in org.apache.solr.client.solrj.response">UpdateResponse</A> <B>deleteById</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>> ids) |
---|
817 | throws <A HREF="../../../../../org/apache/solr/client/solrj/SolrServerException.html" title="class in org.apache.solr.client.solrj">SolrServerException</A>, |
---|
818 | <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> |
---|
819 | <DL> |
---|
820 | <DD>Deletes a list of documents by unique ID |
---|
821 | <P> |
---|
822 | <DD><DL> |
---|
823 | </DL> |
---|
824 | </DD> |
---|
825 | <DD><DL> |
---|
826 | <DT><B>Parameters:</B><DD><CODE>ids</CODE> - the list of document IDs to delete |
---|
827 | <DT><B>Throws:</B> |
---|
828 | <DD><CODE><A HREF="../../../../../org/apache/solr/client/solrj/SolrServerException.html" title="class in org.apache.solr.client.solrj">SolrServerException</A></CODE> |
---|
829 | <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> |
---|
830 | </DD> |
---|
831 | </DL> |
---|
832 | <HR> |
---|
833 | |
---|
834 | <A NAME="deleteById(java.util.List, int)"><!-- --></A><H3> |
---|
835 | deleteById</H3> |
---|
836 | <PRE> |
---|
837 | public <A HREF="../../../../../org/apache/solr/client/solrj/response/UpdateResponse.html" title="class in org.apache.solr.client.solrj.response">UpdateResponse</A> <B>deleteById</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>> ids, |
---|
838 | int commitWithinMs) |
---|
839 | throws <A HREF="../../../../../org/apache/solr/client/solrj/SolrServerException.html" title="class in org.apache.solr.client.solrj">SolrServerException</A>, |
---|
840 | <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> |
---|
841 | <DL> |
---|
842 | <DD>Deletes a list of documents by unique ID, specifying max time before commit |
---|
843 | <P> |
---|
844 | <DD><DL> |
---|
845 | </DL> |
---|
846 | </DD> |
---|
847 | <DD><DL> |
---|
848 | <DT><B>Parameters:</B><DD><CODE>ids</CODE> - the list of document IDs to delete<DD><CODE>commitWithinMs</CODE> - max time (in ms) before a commit will happen |
---|
849 | <DT><B>Throws:</B> |
---|
850 | <DD><CODE><A HREF="../../../../../org/apache/solr/client/solrj/SolrServerException.html" title="class in org.apache.solr.client.solrj">SolrServerException</A></CODE> |
---|
851 | <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><DT><B>Since:</B></DT> |
---|
852 | <DD>3.6</DD> |
---|
853 | </DL> |
---|
854 | </DD> |
---|
855 | </DL> |
---|
856 | <HR> |
---|
857 | |
---|
858 | <A NAME="deleteByQuery(java.lang.String)"><!-- --></A><H3> |
---|
859 | deleteByQuery</H3> |
---|
860 | <PRE> |
---|
861 | public <A HREF="../../../../../org/apache/solr/client/solrj/response/UpdateResponse.html" title="class in org.apache.solr.client.solrj.response">UpdateResponse</A> <B>deleteByQuery</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> query) |
---|
862 | throws <A HREF="../../../../../org/apache/solr/client/solrj/SolrServerException.html" title="class in org.apache.solr.client.solrj">SolrServerException</A>, |
---|
863 | <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> |
---|
864 | <DL> |
---|
865 | <DD>Deletes documents from the index based on a query |
---|
866 | <P> |
---|
867 | <DD><DL> |
---|
868 | </DL> |
---|
869 | </DD> |
---|
870 | <DD><DL> |
---|
871 | <DT><B>Parameters:</B><DD><CODE>query</CODE> - the query expressing what documents to delete |
---|
872 | <DT><B>Throws:</B> |
---|
873 | <DD><CODE><A HREF="../../../../../org/apache/solr/client/solrj/SolrServerException.html" title="class in org.apache.solr.client.solrj">SolrServerException</A></CODE> |
---|
874 | <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> |
---|
875 | </DD> |
---|
876 | </DL> |
---|
877 | <HR> |
---|
878 | |
---|
879 | <A NAME="deleteByQuery(java.lang.String, int)"><!-- --></A><H3> |
---|
880 | deleteByQuery</H3> |
---|
881 | <PRE> |
---|
882 | public <A HREF="../../../../../org/apache/solr/client/solrj/response/UpdateResponse.html" title="class in org.apache.solr.client.solrj.response">UpdateResponse</A> <B>deleteByQuery</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> query, |
---|
883 | int commitWithinMs) |
---|
884 | throws <A HREF="../../../../../org/apache/solr/client/solrj/SolrServerException.html" title="class in org.apache.solr.client.solrj">SolrServerException</A>, |
---|
885 | <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> |
---|
886 | <DL> |
---|
887 | <DD>Deletes documents from the index based on a query, specifying max time before commit |
---|
888 | <P> |
---|
889 | <DD><DL> |
---|
890 | </DL> |
---|
891 | </DD> |
---|
892 | <DD><DL> |
---|
893 | <DT><B>Parameters:</B><DD><CODE>query</CODE> - the query expressing what documents to delete<DD><CODE>commitWithinMs</CODE> - max time (in ms) before a commit will happen |
---|
894 | <DT><B>Throws:</B> |
---|
895 | <DD><CODE><A HREF="../../../../../org/apache/solr/client/solrj/SolrServerException.html" title="class in org.apache.solr.client.solrj">SolrServerException</A></CODE> |
---|
896 | <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><DT><B>Since:</B></DT> |
---|
897 | <DD>3.6</DD> |
---|
898 | </DL> |
---|
899 | </DD> |
---|
900 | </DL> |
---|
901 | <HR> |
---|
902 | |
---|
903 | <A NAME="ping()"><!-- --></A><H3> |
---|
904 | ping</H3> |
---|
905 | <PRE> |
---|
906 | public <A HREF="../../../../../org/apache/solr/client/solrj/response/SolrPingResponse.html" title="class in org.apache.solr.client.solrj.response">SolrPingResponse</A> <B>ping</B>() |
---|
907 | throws <A HREF="../../../../../org/apache/solr/client/solrj/SolrServerException.html" title="class in org.apache.solr.client.solrj">SolrServerException</A>, |
---|
908 | <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> |
---|
909 | <DL> |
---|
910 | <DD>Issues a ping request to check if the server is alive |
---|
911 | <P> |
---|
912 | <DD><DL> |
---|
913 | </DL> |
---|
914 | </DD> |
---|
915 | <DD><DL> |
---|
916 | |
---|
917 | <DT><B>Throws:</B> |
---|
918 | <DD><CODE><A HREF="../../../../../org/apache/solr/client/solrj/SolrServerException.html" title="class in org.apache.solr.client.solrj">SolrServerException</A></CODE> |
---|
919 | <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> |
---|
920 | </DD> |
---|
921 | </DL> |
---|
922 | <HR> |
---|
923 | |
---|
924 | <A NAME="query(org.apache.solr.common.params.SolrParams)"><!-- --></A><H3> |
---|
925 | query</H3> |
---|
926 | <PRE> |
---|
927 | public <A HREF="../../../../../org/apache/solr/client/solrj/response/QueryResponse.html" title="class in org.apache.solr.client.solrj.response">QueryResponse</A> <B>query</B>(<A HREF="../../../../../org/apache/solr/common/params/SolrParams.html" title="class in org.apache.solr.common.params">SolrParams</A> params) |
---|
928 | throws <A HREF="../../../../../org/apache/solr/client/solrj/SolrServerException.html" title="class in org.apache.solr.client.solrj">SolrServerException</A></PRE> |
---|
929 | <DL> |
---|
930 | <DD>Performs a query to the Solr server |
---|
931 | <P> |
---|
932 | <DD><DL> |
---|
933 | </DL> |
---|
934 | </DD> |
---|
935 | <DD><DL> |
---|
936 | <DT><B>Parameters:</B><DD><CODE>params</CODE> - an object holding all key/value parameters to send along the request |
---|
937 | <DT><B>Throws:</B> |
---|
938 | <DD><CODE><A HREF="../../../../../org/apache/solr/client/solrj/SolrServerException.html" title="class in org.apache.solr.client.solrj">SolrServerException</A></CODE></DL> |
---|
939 | </DD> |
---|
940 | </DL> |
---|
941 | <HR> |
---|
942 | |
---|
943 | <A NAME="query(org.apache.solr.common.params.SolrParams, org.apache.solr.client.solrj.SolrRequest.METHOD)"><!-- --></A><H3> |
---|
944 | query</H3> |
---|
945 | <PRE> |
---|
946 | public <A HREF="../../../../../org/apache/solr/client/solrj/response/QueryResponse.html" title="class in org.apache.solr.client.solrj.response">QueryResponse</A> <B>query</B>(<A HREF="../../../../../org/apache/solr/common/params/SolrParams.html" title="class in org.apache.solr.common.params">SolrParams</A> params, |
---|
947 | <A HREF="../../../../../org/apache/solr/client/solrj/SolrRequest.METHOD.html" title="enum in org.apache.solr.client.solrj">SolrRequest.METHOD</A> method) |
---|
948 | throws <A HREF="../../../../../org/apache/solr/client/solrj/SolrServerException.html" title="class in org.apache.solr.client.solrj">SolrServerException</A></PRE> |
---|
949 | <DL> |
---|
950 | <DD>Performs a query to the Solr server |
---|
951 | <P> |
---|
952 | <DD><DL> |
---|
953 | </DL> |
---|
954 | </DD> |
---|
955 | <DD><DL> |
---|
956 | <DT><B>Parameters:</B><DD><CODE>params</CODE> - an object holding all key/value parameters to send along the request<DD><CODE>method</CODE> - specifies the HTTP method to use for the request, such as GET or POST |
---|
957 | <DT><B>Throws:</B> |
---|
958 | <DD><CODE><A HREF="../../../../../org/apache/solr/client/solrj/SolrServerException.html" title="class in org.apache.solr.client.solrj">SolrServerException</A></CODE></DL> |
---|
959 | </DD> |
---|
960 | </DL> |
---|
961 | <HR> |
---|
962 | |
---|
963 | <A NAME="queryAndStreamResponse(org.apache.solr.common.params.SolrParams, org.apache.solr.client.solrj.StreamingResponseCallback)"><!-- --></A><H3> |
---|
964 | queryAndStreamResponse</H3> |
---|
965 | <PRE> |
---|
966 | public <A HREF="../../../../../org/apache/solr/client/solrj/response/QueryResponse.html" title="class in org.apache.solr.client.solrj.response">QueryResponse</A> <B>queryAndStreamResponse</B>(<A HREF="../../../../../org/apache/solr/common/params/SolrParams.html" title="class in org.apache.solr.common.params">SolrParams</A> params, |
---|
967 | <A HREF="../../../../../org/apache/solr/client/solrj/StreamingResponseCallback.html" title="class in org.apache.solr.client.solrj">StreamingResponseCallback</A> callback) |
---|
968 | throws <A HREF="../../../../../org/apache/solr/client/solrj/SolrServerException.html" title="class in org.apache.solr.client.solrj">SolrServerException</A>, |
---|
969 | <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> |
---|
970 | <DL> |
---|
971 | <DD>Query solr, and stream the results. Unlike the standard query, this will |
---|
972 | send events for each Document rather then add them to the QueryResponse. |
---|
973 | |
---|
974 | Although this function returns a 'QueryResponse' it should be used with care |
---|
975 | since it excludes anything that was passed to callback. Also note that |
---|
976 | future version may pass even more info to the callback and may not return |
---|
977 | the results in the QueryResponse. |
---|
978 | <P> |
---|
979 | <DD><DL> |
---|
980 | </DL> |
---|
981 | </DD> |
---|
982 | <DD><DL> |
---|
983 | |
---|
984 | <DT><B>Throws:</B> |
---|
985 | <DD><CODE><A HREF="../../../../../org/apache/solr/client/solrj/SolrServerException.html" title="class in org.apache.solr.client.solrj">SolrServerException</A></CODE> |
---|
986 | <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><DT><B>Since:</B></DT> |
---|
987 | <DD>solr 4.0</DD> |
---|
988 | </DL> |
---|
989 | </DD> |
---|
990 | </DL> |
---|
991 | <HR> |
---|
992 | |
---|
993 | <A NAME="request(org.apache.solr.client.solrj.SolrRequest)"><!-- --></A><H3> |
---|
994 | request</H3> |
---|
995 | <PRE> |
---|
996 | public abstract <A HREF="../../../../../org/apache/solr/common/util/NamedList.html" title="class in org.apache.solr.common.util">NamedList</A><<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>request</B>(<A HREF="../../../../../org/apache/solr/client/solrj/SolrRequest.html" title="class in org.apache.solr.client.solrj">SolrRequest</A> request) |
---|
997 | throws <A HREF="../../../../../org/apache/solr/client/solrj/SolrServerException.html" title="class in org.apache.solr.client.solrj">SolrServerException</A>, |
---|
998 | <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> |
---|
999 | <DL> |
---|
1000 | <DD>SolrServer implementations need to implement how a request is actually processed |
---|
1001 | <P> |
---|
1002 | <DD><DL> |
---|
1003 | </DL> |
---|
1004 | </DD> |
---|
1005 | <DD><DL> |
---|
1006 | |
---|
1007 | <DT><B>Throws:</B> |
---|
1008 | <DD><CODE><A HREF="../../../../../org/apache/solr/client/solrj/SolrServerException.html" title="class in org.apache.solr.client.solrj">SolrServerException</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></DL> |
---|
1010 | </DD> |
---|
1011 | </DL> |
---|
1012 | <HR> |
---|
1013 | |
---|
1014 | <A NAME="getBinder()"><!-- --></A><H3> |
---|
1015 | getBinder</H3> |
---|
1016 | <PRE> |
---|
1017 | public <A HREF="../../../../../org/apache/solr/client/solrj/beans/DocumentObjectBinder.html" title="class in org.apache.solr.client.solrj.beans">DocumentObjectBinder</A> <B>getBinder</B>()</PRE> |
---|
1018 | <DL> |
---|
1019 | <DD><DL> |
---|
1020 | </DL> |
---|
1021 | </DD> |
---|
1022 | <DD><DL> |
---|
1023 | </DL> |
---|
1024 | </DD> |
---|
1025 | </DL> |
---|
1026 | <HR> |
---|
1027 | |
---|
1028 | <A NAME="shutdown()"><!-- --></A><H3> |
---|
1029 | shutdown</H3> |
---|
1030 | <PRE> |
---|
1031 | public abstract void <B>shutdown</B>()</PRE> |
---|
1032 | <DL> |
---|
1033 | <DD>Release allocated resources. |
---|
1034 | <P> |
---|
1035 | <DD><DL> |
---|
1036 | </DL> |
---|
1037 | </DD> |
---|
1038 | <DD><DL> |
---|
1039 | <DT><B>Since:</B></DT> |
---|
1040 | <DD>solr 4.0</DD> |
---|
1041 | </DL> |
---|
1042 | </DD> |
---|
1043 | </DL> |
---|
1044 | <!-- ========= END OF CLASS DATA ========= --> |
---|
1045 | <HR> |
---|
1046 | |
---|
1047 | |
---|
1048 | <!-- ======= START OF BOTTOM NAVBAR ====== --> |
---|
1049 | <A NAME="navbar_bottom"><!-- --></A> |
---|
1050 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
---|
1051 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
---|
1052 | <TR> |
---|
1053 | <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
---|
1054 | <A NAME="navbar_bottom_firstrow"><!-- --></A> |
---|
1055 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
---|
1056 | <TR ALIGN="center" VALIGN="top"> |
---|
1057 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
---|
1058 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
---|
1059 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
---|
1060 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/SolrServer.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
---|
1061 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
---|
1062 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
---|
1063 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
---|
1064 | </TR> |
---|
1065 | </TABLE> |
---|
1066 | </TD> |
---|
1067 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
---|
1068 | </EM> |
---|
1069 | </TD> |
---|
1070 | </TR> |
---|
1071 | |
---|
1072 | <TR> |
---|
1073 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
1074 | <A HREF="../../../../../org/apache/solr/client/solrj/SolrResponse.html" title="class in org.apache.solr.client.solrj"><B>PREV CLASS</B></A> |
---|
1075 | <A HREF="../../../../../org/apache/solr/client/solrj/SolrServerException.html" title="class in org.apache.solr.client.solrj"><B>NEXT CLASS</B></A></FONT></TD> |
---|
1076 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
1077 | <A HREF="../../../../../index.html?org/apache/solr/client/solrj/SolrServer.html" target="_top"><B>FRAMES</B></A> |
---|
1078 | <A HREF="SolrServer.html" target="_top"><B>NO FRAMES</B></A> |
---|
1079 | <SCRIPT type="text/javascript"> |
---|
1080 | <!-- |
---|
1081 | if(window==top) { |
---|
1082 | document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
---|
1083 | } |
---|
1084 | //--> |
---|
1085 | </SCRIPT> |
---|
1086 | <NOSCRIPT> |
---|
1087 | <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> |
---|
1088 | </NOSCRIPT> |
---|
1089 | |
---|
1090 | |
---|
1091 | </FONT></TD> |
---|
1092 | </TR> |
---|
1093 | <TR> |
---|
1094 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
1095 | SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
---|
1096 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
1097 | DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
---|
1098 | </TR> |
---|
1099 | </TABLE> |
---|
1100 | <A NAME="skip-navbar_bottom"></A> |
---|
1101 | <!-- ======== END OF BOTTOM NAVBAR ======= --> |
---|
1102 | |
---|
1103 | <HR> |
---|
1104 | |
---|
1105 | <address>Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.</address> |
---|
1106 | <script src='../../../../../prettify.js' type='text/javascript'></script> |
---|
1107 | <script type='text/javascript'> |
---|
1108 | (function(){ |
---|
1109 | var oldonload = window.onload; |
---|
1110 | if (typeof oldonload != 'function') { |
---|
1111 | window.onload = prettyPrint; |
---|
1112 | } else { |
---|
1113 | window.onload = function() { |
---|
1114 | oldonload(); |
---|
1115 | prettyPrint(); |
---|
1116 | } |
---|
1117 | } |
---|
1118 | })(); |
---|
1119 | </script> |
---|
1120 | |
---|
1121 | </BODY> |
---|
1122 | </HTML> |
---|