1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
---|
2 | <!--NewPage--> |
---|
3 | <HTML> |
---|
4 | <HEAD> |
---|
5 | <!-- Generated by javadoc (build 1.6.0_24) on Mon Jun 25 15:26:24 EDT 2012 --> |
---|
6 | <META http-equiv="Content-Type" content="text/html; charset=utf-8"> |
---|
7 | <TITLE> |
---|
8 | SolrDocument (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="SolrDocument (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/SolrDocument.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/common/ResourceLoader.html" title="interface in org.apache.solr.common"><B>PREV CLASS</B></A> |
---|
59 | <A HREF="../../../../org/apache/solr/common/SolrDocumentList.html" title="class in org.apache.solr.common"><B>NEXT CLASS</B></A></FONT></TD> |
---|
60 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
61 | <A HREF="../../../../index.html?org/apache/solr/common/SolrDocument.html" target="_top"><B>FRAMES</B></A> |
---|
62 | <A HREF="SolrDocument.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.common</FONT> |
---|
92 | <BR> |
---|
93 | Class SolrDocument</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.common.SolrDocument</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>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util">Map.Entry</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>>>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>></DD> |
---|
100 | </DL> |
---|
101 | <HR> |
---|
102 | <DL> |
---|
103 | <DT><PRE>public class <B>SolrDocument</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/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util">Map.Entry</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>>>, <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> |
---|
104 | </PRE> |
---|
105 | |
---|
106 | <P> |
---|
107 | A concrete representation of a document within a Solr index. Unlike a lucene |
---|
108 | Document, a SolrDocument may have an Object value matching the type defined in |
---|
109 | schema.xml |
---|
110 | |
---|
111 | For indexing documents, use the SolrInputDocument that contains extra information |
---|
112 | for document and field boosting. |
---|
113 | <P> |
---|
114 | |
---|
115 | <P> |
---|
116 | <DL> |
---|
117 | <DT><B>Since:</B></DT> |
---|
118 | <DD>solr 1.3</DD> |
---|
119 | <DT><B>See Also:</B><DD><A HREF="../../../../serialized-form.html#org.apache.solr.common.SolrDocument">Serialized Form</A></DL> |
---|
120 | <HR> |
---|
121 | |
---|
122 | <P> |
---|
123 | <!-- ======== NESTED CLASS SUMMARY ======== --> |
---|
124 | |
---|
125 | <A NAME="nested_class_summary"><!-- --></A> |
---|
126 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
127 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
128 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
129 | <B>Nested Class Summary</B></FONT></TH> |
---|
130 | </TR> |
---|
131 | </TABLE> |
---|
132 | <A NAME="nested_classes_inherited_from_class_java.util.Map"><!-- --></A> |
---|
133 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
134 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
135 | <TH ALIGN="left"><B>Nested classes/interfaces inherited from interface java.util.<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A></B></TH> |
---|
136 | </TR> |
---|
137 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
138 | <TD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util">Map.Entry</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util">K</A>,<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util">V</A>></CODE></TD> |
---|
139 | </TR> |
---|
140 | </TABLE> |
---|
141 | |
---|
142 | |
---|
143 | <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
---|
144 | |
---|
145 | <A NAME="constructor_summary"><!-- --></A> |
---|
146 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
147 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
148 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
149 | <B>Constructor Summary</B></FONT></TH> |
---|
150 | </TR> |
---|
151 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
152 | <TD><CODE><B><A HREF="../../../../org/apache/solr/common/SolrDocument.html#SolrDocument()">SolrDocument</A></B>()</CODE> |
---|
153 | |
---|
154 | <BR> |
---|
155 | </TD> |
---|
156 | </TR> |
---|
157 | </TABLE> |
---|
158 | |
---|
159 | <!-- ========== METHOD SUMMARY =========== --> |
---|
160 | |
---|
161 | <A NAME="method_summary"><!-- --></A> |
---|
162 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
163 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
164 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
165 | <B>Method Summary</B></FONT></TH> |
---|
166 | </TR> |
---|
167 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
168 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
169 | <CODE> void</CODE></FONT></TD> |
---|
170 | <TD><CODE><B><A HREF="../../../../org/apache/solr/common/SolrDocument.html#addField(java.lang.String, java.lang.Object)">addField</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name, |
---|
171 | <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> value)</CODE> |
---|
172 | |
---|
173 | <BR> |
---|
174 | This will add a field to the document.</TD> |
---|
175 | </TR> |
---|
176 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
177 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
178 | <CODE> void</CODE></FONT></TD> |
---|
179 | <TD><CODE><B><A HREF="../../../../org/apache/solr/common/SolrDocument.html#clear()">clear</A></B>()</CODE> |
---|
180 | |
---|
181 | <BR> |
---|
182 | Remove all fields from the document</TD> |
---|
183 | </TR> |
---|
184 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
185 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
186 | <CODE> boolean</CODE></FONT></TD> |
---|
187 | <TD><CODE><B><A HREF="../../../../org/apache/solr/common/SolrDocument.html#containsKey(java.lang.Object)">containsKey</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> key)</CODE> |
---|
188 | |
---|
189 | <BR> |
---|
190 | </TD> |
---|
191 | </TR> |
---|
192 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
193 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
194 | <CODE> boolean</CODE></FONT></TD> |
---|
195 | <TD><CODE><B><A HREF="../../../../org/apache/solr/common/SolrDocument.html#containsValue(java.lang.Object)">containsValue</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> value)</CODE> |
---|
196 | |
---|
197 | <BR> |
---|
198 | </TD> |
---|
199 | </TR> |
---|
200 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
201 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
202 | <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util">Map.Entry</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="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> |
---|
203 | <TD><CODE><B><A HREF="../../../../org/apache/solr/common/SolrDocument.html#entrySet()">entrySet</A></B>()</CODE> |
---|
204 | |
---|
205 | <BR> |
---|
206 | </TD> |
---|
207 | </TR> |
---|
208 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
209 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
210 | <CODE> <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> |
---|
211 | <TD><CODE><B><A HREF="../../../../org/apache/solr/common/SolrDocument.html#get(java.lang.Object)">get</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> key)</CODE> |
---|
212 | |
---|
213 | <BR> |
---|
214 | </TD> |
---|
215 | </TR> |
---|
216 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
217 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
218 | <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>></CODE></FONT></TD> |
---|
219 | <TD><CODE><B><A HREF="../../../../org/apache/solr/common/SolrDocument.html#getFieldNames()">getFieldNames</A></B>()</CODE> |
---|
220 | |
---|
221 | <BR> |
---|
222 | </TD> |
---|
223 | </TR> |
---|
224 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
225 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
226 | <CODE> <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> |
---|
227 | <TD><CODE><B><A HREF="../../../../org/apache/solr/common/SolrDocument.html#getFieldValue(java.lang.String)">getFieldValue</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name)</CODE> |
---|
228 | |
---|
229 | <BR> |
---|
230 | Get the value or collection of values for a given field.</TD> |
---|
231 | </TR> |
---|
232 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
233 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
234 | <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="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> |
---|
235 | <TD><CODE><B><A HREF="../../../../org/apache/solr/common/SolrDocument.html#getFieldValueMap()">getFieldValueMap</A></B>()</CODE> |
---|
236 | |
---|
237 | <BR> |
---|
238 | Expose a Map interface to the solr fields.</TD> |
---|
239 | </TR> |
---|
240 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
241 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
242 | <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>></CODE></FONT></TD> |
---|
243 | <TD><CODE><B><A HREF="../../../../org/apache/solr/common/SolrDocument.html#getFieldValues(java.lang.String)">getFieldValues</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name)</CODE> |
---|
244 | |
---|
245 | <BR> |
---|
246 | Get a collection of values for a given field name</TD> |
---|
247 | </TR> |
---|
248 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
249 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
250 | <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>>></CODE></FONT></TD> |
---|
251 | <TD><CODE><B><A HREF="../../../../org/apache/solr/common/SolrDocument.html#getFieldValuesMap()">getFieldValuesMap</A></B>()</CODE> |
---|
252 | |
---|
253 | <BR> |
---|
254 | Expose a Map interface to the solr field value collection.</TD> |
---|
255 | </TR> |
---|
256 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
257 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
258 | <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></FONT></TD> |
---|
259 | <TD><CODE><B><A HREF="../../../../org/apache/solr/common/SolrDocument.html#getFirstValue(java.lang.String)">getFirstValue</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name)</CODE> |
---|
260 | |
---|
261 | <BR> |
---|
262 | returns the first value for a field</TD> |
---|
263 | </TR> |
---|
264 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
265 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
266 | <CODE> boolean</CODE></FONT></TD> |
---|
267 | <TD><CODE><B><A HREF="../../../../org/apache/solr/common/SolrDocument.html#isEmpty()">isEmpty</A></B>()</CODE> |
---|
268 | |
---|
269 | <BR> |
---|
270 | </TD> |
---|
271 | </TR> |
---|
272 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
273 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
274 | <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util">Map.Entry</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="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> |
---|
275 | <TD><CODE><B><A HREF="../../../../org/apache/solr/common/SolrDocument.html#iterator()">iterator</A></B>()</CODE> |
---|
276 | |
---|
277 | <BR> |
---|
278 | Iterate of String->Object keys</TD> |
---|
279 | </TR> |
---|
280 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
281 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
282 | <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>></CODE></FONT></TD> |
---|
283 | <TD><CODE><B><A HREF="../../../../org/apache/solr/common/SolrDocument.html#keySet()">keySet</A></B>()</CODE> |
---|
284 | |
---|
285 | <BR> |
---|
286 | </TD> |
---|
287 | </TR> |
---|
288 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
289 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
290 | <CODE> <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> |
---|
291 | <TD><CODE><B><A HREF="../../../../org/apache/solr/common/SolrDocument.html#put(java.lang.String, java.lang.Object)">put</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> key, |
---|
292 | <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> value)</CODE> |
---|
293 | |
---|
294 | <BR> |
---|
295 | </TD> |
---|
296 | </TR> |
---|
297 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
298 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
299 | <CODE> void</CODE></FONT></TD> |
---|
300 | <TD><CODE><B><A HREF="../../../../org/apache/solr/common/SolrDocument.html#putAll(java.util.Map)">putAll</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><? extends <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>,? 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>> t)</CODE> |
---|
301 | |
---|
302 | <BR> |
---|
303 | </TD> |
---|
304 | </TR> |
---|
305 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
306 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
307 | <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></FONT></TD> |
---|
308 | <TD><CODE><B><A HREF="../../../../org/apache/solr/common/SolrDocument.html#remove(java.lang.Object)">remove</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> key)</CODE> |
---|
309 | |
---|
310 | <BR> |
---|
311 | </TD> |
---|
312 | </TR> |
---|
313 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
314 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
315 | <CODE> boolean</CODE></FONT></TD> |
---|
316 | <TD><CODE><B><A HREF="../../../../org/apache/solr/common/SolrDocument.html#removeFields(java.lang.String)">removeFields</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name)</CODE> |
---|
317 | |
---|
318 | <BR> |
---|
319 | Remove all fields with the name</TD> |
---|
320 | </TR> |
---|
321 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
322 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
323 | <CODE> void</CODE></FONT></TD> |
---|
324 | <TD><CODE><B><A HREF="../../../../org/apache/solr/common/SolrDocument.html#setField(java.lang.String, java.lang.Object)">setField</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name, |
---|
325 | <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> value)</CODE> |
---|
326 | |
---|
327 | <BR> |
---|
328 | Set a field with the given object.</TD> |
---|
329 | </TR> |
---|
330 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
331 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
332 | <CODE> int</CODE></FONT></TD> |
---|
333 | <TD><CODE><B><A HREF="../../../../org/apache/solr/common/SolrDocument.html#size()">size</A></B>()</CODE> |
---|
334 | |
---|
335 | <BR> |
---|
336 | </TD> |
---|
337 | </TR> |
---|
338 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
339 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
340 | <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
---|
341 | <TD><CODE><B><A HREF="../../../../org/apache/solr/common/SolrDocument.html#toString()">toString</A></B>()</CODE> |
---|
342 | |
---|
343 | <BR> |
---|
344 | </TD> |
---|
345 | </TR> |
---|
346 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
347 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
348 | <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>></CODE></FONT></TD> |
---|
349 | <TD><CODE><B><A HREF="../../../../org/apache/solr/common/SolrDocument.html#values()">values</A></B>()</CODE> |
---|
350 | |
---|
351 | <BR> |
---|
352 | </TD> |
---|
353 | </TR> |
---|
354 | </TABLE> |
---|
355 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
---|
356 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
357 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
358 | <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> |
---|
359 | </TR> |
---|
360 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
361 | <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#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> |
---|
362 | </TR> |
---|
363 | </TABLE> |
---|
364 | <A NAME="methods_inherited_from_class_java.util.Map"><!-- --></A> |
---|
365 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
366 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
367 | <TH ALIGN="left"><B>Methods inherited from interface java.util.<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A></B></TH> |
---|
368 | </TR> |
---|
369 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
370 | <TD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.util">equals</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true#hashCode()" title="class or interface in java.util">hashCode</A></CODE></TD> |
---|
371 | </TR> |
---|
372 | </TABLE> |
---|
373 | |
---|
374 | <P> |
---|
375 | |
---|
376 | <!-- ========= CONSTRUCTOR DETAIL ======== --> |
---|
377 | |
---|
378 | <A NAME="constructor_detail"><!-- --></A> |
---|
379 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
380 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
381 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
382 | <B>Constructor Detail</B></FONT></TH> |
---|
383 | </TR> |
---|
384 | </TABLE> |
---|
385 | |
---|
386 | <A NAME="SolrDocument()"><!-- --></A><H3> |
---|
387 | SolrDocument</H3> |
---|
388 | <PRE> |
---|
389 | public <B>SolrDocument</B>()</PRE> |
---|
390 | <DL> |
---|
391 | </DL> |
---|
392 | |
---|
393 | <!-- ============ METHOD DETAIL ========== --> |
---|
394 | |
---|
395 | <A NAME="method_detail"><!-- --></A> |
---|
396 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
397 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
398 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
399 | <B>Method Detail</B></FONT></TH> |
---|
400 | </TR> |
---|
401 | </TABLE> |
---|
402 | |
---|
403 | <A NAME="getFieldNames()"><!-- --></A><H3> |
---|
404 | getFieldNames</H3> |
---|
405 | <PRE> |
---|
406 | public <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>> <B>getFieldNames</B>()</PRE> |
---|
407 | <DL> |
---|
408 | <DD><DL> |
---|
409 | </DL> |
---|
410 | </DD> |
---|
411 | <DD><DL> |
---|
412 | |
---|
413 | <DT><B>Returns:</B><DD>a list of field names defined in this document - this Collection is directly backed by this SolrDocument.<DT><B>See Also:</B><DD><A HREF="../../../../org/apache/solr/common/SolrDocument.html#keySet()"><CODE>keySet()</CODE></A></DL> |
---|
414 | </DD> |
---|
415 | </DL> |
---|
416 | <HR> |
---|
417 | |
---|
418 | <A NAME="clear()"><!-- --></A><H3> |
---|
419 | clear</H3> |
---|
420 | <PRE> |
---|
421 | public void <B>clear</B>()</PRE> |
---|
422 | <DL> |
---|
423 | <DD>Remove all fields from the document |
---|
424 | <P> |
---|
425 | <DD><DL> |
---|
426 | <DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true#clear()" title="class or interface in java.util">clear</A></CODE> in interface <CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>></CODE></DL> |
---|
427 | </DD> |
---|
428 | <DD><DL> |
---|
429 | </DL> |
---|
430 | </DD> |
---|
431 | </DL> |
---|
432 | <HR> |
---|
433 | |
---|
434 | <A NAME="removeFields(java.lang.String)"><!-- --></A><H3> |
---|
435 | removeFields</H3> |
---|
436 | <PRE> |
---|
437 | public boolean <B>removeFields</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name)</PRE> |
---|
438 | <DL> |
---|
439 | <DD>Remove all fields with the name |
---|
440 | <P> |
---|
441 | <DD><DL> |
---|
442 | </DL> |
---|
443 | </DD> |
---|
444 | <DD><DL> |
---|
445 | </DL> |
---|
446 | </DD> |
---|
447 | </DL> |
---|
448 | <HR> |
---|
449 | |
---|
450 | <A NAME="setField(java.lang.String, java.lang.Object)"><!-- --></A><H3> |
---|
451 | setField</H3> |
---|
452 | <PRE> |
---|
453 | public void <B>setField</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name, |
---|
454 | <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> value)</PRE> |
---|
455 | <DL> |
---|
456 | <DD>Set a field with the given object. If the object is an Array, it will |
---|
457 | set multiple fields with the included contents. This will replace any existing |
---|
458 | field with the given name |
---|
459 | <P> |
---|
460 | <DD><DL> |
---|
461 | </DL> |
---|
462 | </DD> |
---|
463 | <DD><DL> |
---|
464 | </DL> |
---|
465 | </DD> |
---|
466 | </DL> |
---|
467 | <HR> |
---|
468 | |
---|
469 | <A NAME="addField(java.lang.String, java.lang.Object)"><!-- --></A><H3> |
---|
470 | addField</H3> |
---|
471 | <PRE> |
---|
472 | public void <B>addField</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name, |
---|
473 | <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> value)</PRE> |
---|
474 | <DL> |
---|
475 | <DD>This will add a field to the document. If fields already exist with this name |
---|
476 | it will append the collection |
---|
477 | <P> |
---|
478 | <DD><DL> |
---|
479 | </DL> |
---|
480 | </DD> |
---|
481 | <DD><DL> |
---|
482 | </DL> |
---|
483 | </DD> |
---|
484 | </DL> |
---|
485 | <HR> |
---|
486 | |
---|
487 | <A NAME="getFirstValue(java.lang.String)"><!-- --></A><H3> |
---|
488 | getFirstValue</H3> |
---|
489 | <PRE> |
---|
490 | public <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>getFirstValue</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name)</PRE> |
---|
491 | <DL> |
---|
492 | <DD>returns the first value for a field |
---|
493 | <P> |
---|
494 | <DD><DL> |
---|
495 | </DL> |
---|
496 | </DD> |
---|
497 | <DD><DL> |
---|
498 | </DL> |
---|
499 | </DD> |
---|
500 | </DL> |
---|
501 | <HR> |
---|
502 | |
---|
503 | <A NAME="getFieldValue(java.lang.String)"><!-- --></A><H3> |
---|
504 | getFieldValue</H3> |
---|
505 | <PRE> |
---|
506 | public <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>getFieldValue</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name)</PRE> |
---|
507 | <DL> |
---|
508 | <DD>Get the value or collection of values for a given field. |
---|
509 | <P> |
---|
510 | <DD><DL> |
---|
511 | </DL> |
---|
512 | </DD> |
---|
513 | <DD><DL> |
---|
514 | </DL> |
---|
515 | </DD> |
---|
516 | </DL> |
---|
517 | <HR> |
---|
518 | |
---|
519 | <A NAME="getFieldValues(java.lang.String)"><!-- --></A><H3> |
---|
520 | getFieldValues</H3> |
---|
521 | <PRE> |
---|
522 | public <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>> <B>getFieldValues</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name)</PRE> |
---|
523 | <DL> |
---|
524 | <DD>Get a collection of values for a given field name |
---|
525 | <P> |
---|
526 | <DD><DL> |
---|
527 | </DL> |
---|
528 | </DD> |
---|
529 | <DD><DL> |
---|
530 | </DL> |
---|
531 | </DD> |
---|
532 | </DL> |
---|
533 | <HR> |
---|
534 | |
---|
535 | <A NAME="toString()"><!-- --></A><H3> |
---|
536 | toString</H3> |
---|
537 | <PRE> |
---|
538 | public <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>toString</B>()</PRE> |
---|
539 | <DL> |
---|
540 | <DD><DL> |
---|
541 | <DT><B>Overrides:</B><DD><CODE><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></CODE> in class <CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></DL> |
---|
542 | </DD> |
---|
543 | <DD><DL> |
---|
544 | </DL> |
---|
545 | </DD> |
---|
546 | </DL> |
---|
547 | <HR> |
---|
548 | |
---|
549 | <A NAME="iterator()"><!-- --></A><H3> |
---|
550 | iterator</H3> |
---|
551 | <PRE> |
---|
552 | public <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util">Map.Entry</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="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>iterator</B>()</PRE> |
---|
553 | <DL> |
---|
554 | <DD>Iterate of String->Object keys |
---|
555 | <P> |
---|
556 | <DD><DL> |
---|
557 | <DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Iterable.html?is-external=true#iterator()" title="class or interface in java.lang">iterator</A></CODE> in interface <CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util">Map.Entry</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>>></CODE></DL> |
---|
558 | </DD> |
---|
559 | <DD><DL> |
---|
560 | </DL> |
---|
561 | </DD> |
---|
562 | </DL> |
---|
563 | <HR> |
---|
564 | |
---|
565 | <A NAME="getFieldValuesMap()"><!-- --></A><H3> |
---|
566 | getFieldValuesMap</H3> |
---|
567 | <PRE> |
---|
568 | public <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>>> <B>getFieldValuesMap</B>()</PRE> |
---|
569 | <DL> |
---|
570 | <DD>Expose a Map interface to the solr field value collection. |
---|
571 | <P> |
---|
572 | <DD><DL> |
---|
573 | </DL> |
---|
574 | </DD> |
---|
575 | <DD><DL> |
---|
576 | </DL> |
---|
577 | </DD> |
---|
578 | </DL> |
---|
579 | <HR> |
---|
580 | |
---|
581 | <A NAME="getFieldValueMap()"><!-- --></A><H3> |
---|
582 | getFieldValueMap</H3> |
---|
583 | <PRE> |
---|
584 | public <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="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>getFieldValueMap</B>()</PRE> |
---|
585 | <DL> |
---|
586 | <DD>Expose a Map interface to the solr fields. This function is useful for JSTL |
---|
587 | <P> |
---|
588 | <DD><DL> |
---|
589 | </DL> |
---|
590 | </DD> |
---|
591 | <DD><DL> |
---|
592 | </DL> |
---|
593 | </DD> |
---|
594 | </DL> |
---|
595 | <HR> |
---|
596 | |
---|
597 | <A NAME="containsKey(java.lang.Object)"><!-- --></A><H3> |
---|
598 | containsKey</H3> |
---|
599 | <PRE> |
---|
600 | public boolean <B>containsKey</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> key)</PRE> |
---|
601 | <DL> |
---|
602 | <DD><DL> |
---|
603 | <DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true#containsKey(java.lang.Object)" title="class or interface in java.util">containsKey</A></CODE> in interface <CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>></CODE></DL> |
---|
604 | </DD> |
---|
605 | <DD><DL> |
---|
606 | </DL> |
---|
607 | </DD> |
---|
608 | </DL> |
---|
609 | <HR> |
---|
610 | |
---|
611 | <A NAME="containsValue(java.lang.Object)"><!-- --></A><H3> |
---|
612 | containsValue</H3> |
---|
613 | <PRE> |
---|
614 | public boolean <B>containsValue</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> value)</PRE> |
---|
615 | <DL> |
---|
616 | <DD><DL> |
---|
617 | <DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true#containsValue(java.lang.Object)" title="class or interface in java.util">containsValue</A></CODE> in interface <CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>></CODE></DL> |
---|
618 | </DD> |
---|
619 | <DD><DL> |
---|
620 | </DL> |
---|
621 | </DD> |
---|
622 | </DL> |
---|
623 | <HR> |
---|
624 | |
---|
625 | <A NAME="entrySet()"><!-- --></A><H3> |
---|
626 | entrySet</H3> |
---|
627 | <PRE> |
---|
628 | public <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util">Map.Entry</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="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>entrySet</B>()</PRE> |
---|
629 | <DL> |
---|
630 | <DD><DL> |
---|
631 | <DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true#entrySet()" title="class or interface in java.util">entrySet</A></CODE> in interface <CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>></CODE></DL> |
---|
632 | </DD> |
---|
633 | <DD><DL> |
---|
634 | </DL> |
---|
635 | </DD> |
---|
636 | </DL> |
---|
637 | <HR> |
---|
638 | |
---|
639 | <A NAME="get(java.lang.Object)"><!-- --></A><H3> |
---|
640 | get</H3> |
---|
641 | <PRE> |
---|
642 | public <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>get</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> key)</PRE> |
---|
643 | <DL> |
---|
644 | <DD><DL> |
---|
645 | <DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true#get(java.lang.Object)" title="class or interface in java.util">get</A></CODE> in interface <CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>></CODE></DL> |
---|
646 | </DD> |
---|
647 | <DD><DL> |
---|
648 | </DL> |
---|
649 | </DD> |
---|
650 | </DL> |
---|
651 | <HR> |
---|
652 | |
---|
653 | <A NAME="isEmpty()"><!-- --></A><H3> |
---|
654 | isEmpty</H3> |
---|
655 | <PRE> |
---|
656 | public boolean <B>isEmpty</B>()</PRE> |
---|
657 | <DL> |
---|
658 | <DD><DL> |
---|
659 | <DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true#isEmpty()" title="class or interface in java.util">isEmpty</A></CODE> in interface <CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>></CODE></DL> |
---|
660 | </DD> |
---|
661 | <DD><DL> |
---|
662 | </DL> |
---|
663 | </DD> |
---|
664 | </DL> |
---|
665 | <HR> |
---|
666 | |
---|
667 | <A NAME="keySet()"><!-- --></A><H3> |
---|
668 | keySet</H3> |
---|
669 | <PRE> |
---|
670 | public <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>> <B>keySet</B>()</PRE> |
---|
671 | <DL> |
---|
672 | <DD><DL> |
---|
673 | <DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true#keySet()" title="class or interface in java.util">keySet</A></CODE> in interface <CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>></CODE></DL> |
---|
674 | </DD> |
---|
675 | <DD><DL> |
---|
676 | </DL> |
---|
677 | </DD> |
---|
678 | </DL> |
---|
679 | <HR> |
---|
680 | |
---|
681 | <A NAME="put(java.lang.String, java.lang.Object)"><!-- --></A><H3> |
---|
682 | put</H3> |
---|
683 | <PRE> |
---|
684 | public <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>put</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> key, |
---|
685 | <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> value)</PRE> |
---|
686 | <DL> |
---|
687 | <DD><DL> |
---|
688 | <DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true#put(K, V)" title="class or interface in java.util">put</A></CODE> in interface <CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>></CODE></DL> |
---|
689 | </DD> |
---|
690 | <DD><DL> |
---|
691 | </DL> |
---|
692 | </DD> |
---|
693 | </DL> |
---|
694 | <HR> |
---|
695 | |
---|
696 | <A NAME="putAll(java.util.Map)"><!-- --></A><H3> |
---|
697 | putAll</H3> |
---|
698 | <PRE> |
---|
699 | public void <B>putAll</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><? extends <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>,? 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>> t)</PRE> |
---|
700 | <DL> |
---|
701 | <DD><DL> |
---|
702 | <DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true#putAll(java.util.Map)" title="class or interface in java.util">putAll</A></CODE> in interface <CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>></CODE></DL> |
---|
703 | </DD> |
---|
704 | <DD><DL> |
---|
705 | </DL> |
---|
706 | </DD> |
---|
707 | </DL> |
---|
708 | <HR> |
---|
709 | |
---|
710 | <A NAME="remove(java.lang.Object)"><!-- --></A><H3> |
---|
711 | remove</H3> |
---|
712 | <PRE> |
---|
713 | public <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>remove</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> key)</PRE> |
---|
714 | <DL> |
---|
715 | <DD><DL> |
---|
716 | <DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true#remove(java.lang.Object)" title="class or interface in java.util">remove</A></CODE> in interface <CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>></CODE></DL> |
---|
717 | </DD> |
---|
718 | <DD><DL> |
---|
719 | </DL> |
---|
720 | </DD> |
---|
721 | </DL> |
---|
722 | <HR> |
---|
723 | |
---|
724 | <A NAME="size()"><!-- --></A><H3> |
---|
725 | size</H3> |
---|
726 | <PRE> |
---|
727 | public int <B>size</B>()</PRE> |
---|
728 | <DL> |
---|
729 | <DD><DL> |
---|
730 | <DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true#size()" title="class or interface in java.util">size</A></CODE> in interface <CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>></CODE></DL> |
---|
731 | </DD> |
---|
732 | <DD><DL> |
---|
733 | </DL> |
---|
734 | </DD> |
---|
735 | </DL> |
---|
736 | <HR> |
---|
737 | |
---|
738 | <A NAME="values()"><!-- --></A><H3> |
---|
739 | values</H3> |
---|
740 | <PRE> |
---|
741 | public <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>> <B>values</B>()</PRE> |
---|
742 | <DL> |
---|
743 | <DD><DL> |
---|
744 | <DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true#values()" title="class or interface in java.util">values</A></CODE> in interface <CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>></CODE></DL> |
---|
745 | </DD> |
---|
746 | <DD><DL> |
---|
747 | </DL> |
---|
748 | </DD> |
---|
749 | </DL> |
---|
750 | <!-- ========= END OF CLASS DATA ========= --> |
---|
751 | <HR> |
---|
752 | |
---|
753 | |
---|
754 | <!-- ======= START OF BOTTOM NAVBAR ====== --> |
---|
755 | <A NAME="navbar_bottom"><!-- --></A> |
---|
756 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
---|
757 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
---|
758 | <TR> |
---|
759 | <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
---|
760 | <A NAME="navbar_bottom_firstrow"><!-- --></A> |
---|
761 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
---|
762 | <TR ALIGN="center" VALIGN="top"> |
---|
763 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
---|
764 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
---|
765 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
---|
766 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/SolrDocument.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
---|
767 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
---|
768 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
---|
769 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
---|
770 | </TR> |
---|
771 | </TABLE> |
---|
772 | </TD> |
---|
773 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
---|
774 | </EM> |
---|
775 | </TD> |
---|
776 | </TR> |
---|
777 | |
---|
778 | <TR> |
---|
779 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
780 | <A HREF="../../../../org/apache/solr/common/ResourceLoader.html" title="interface in org.apache.solr.common"><B>PREV CLASS</B></A> |
---|
781 | <A HREF="../../../../org/apache/solr/common/SolrDocumentList.html" title="class in org.apache.solr.common"><B>NEXT CLASS</B></A></FONT></TD> |
---|
782 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
783 | <A HREF="../../../../index.html?org/apache/solr/common/SolrDocument.html" target="_top"><B>FRAMES</B></A> |
---|
784 | <A HREF="SolrDocument.html" target="_top"><B>NO FRAMES</B></A> |
---|
785 | <SCRIPT type="text/javascript"> |
---|
786 | <!-- |
---|
787 | if(window==top) { |
---|
788 | document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
---|
789 | } |
---|
790 | //--> |
---|
791 | </SCRIPT> |
---|
792 | <NOSCRIPT> |
---|
793 | <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> |
---|
794 | </NOSCRIPT> |
---|
795 | |
---|
796 | |
---|
797 | </FONT></TD> |
---|
798 | </TR> |
---|
799 | <TR> |
---|
800 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
801 | SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
---|
802 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
803 | DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
---|
804 | </TR> |
---|
805 | </TABLE> |
---|
806 | <A NAME="skip-navbar_bottom"></A> |
---|
807 | <!-- ======== END OF BOTTOM NAVBAR ======= --> |
---|
808 | |
---|
809 | <HR> |
---|
810 | |
---|
811 | <address>Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.</address> |
---|
812 | <script src='../../../../prettify.js' type='text/javascript'></script> |
---|
813 | <script type='text/javascript'> |
---|
814 | (function(){ |
---|
815 | var oldonload = window.onload; |
---|
816 | if (typeof oldonload != 'function') { |
---|
817 | window.onload = prettyPrint; |
---|
818 | } else { |
---|
819 | window.onload = function() { |
---|
820 | oldonload(); |
---|
821 | prettyPrint(); |
---|
822 | } |
---|
823 | } |
---|
824 | })(); |
---|
825 | </script> |
---|
826 | |
---|
827 | </BODY> |
---|
828 | </HTML> |
---|