1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
---|
2 | <!--NewPage--> |
---|
3 | <HTML> |
---|
4 | <HEAD> |
---|
5 | <!-- Generated by javadoc (build 1.6.0_24) on Mon Jun 25 15:26:25 EDT 2012 --> |
---|
6 | <META http-equiv="Content-Type" content="text/html; charset=utf-8"> |
---|
7 | <TITLE> |
---|
8 | TrieField (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="TrieField (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/TrieField.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/schema/TrieDoubleField.html" title="class in org.apache.solr.schema"><B>PREV CLASS</B></A> |
---|
59 | <A HREF="../../../../org/apache/solr/schema/TrieField.TrieTypes.html" title="enum in org.apache.solr.schema"><B>NEXT CLASS</B></A></FONT></TD> |
---|
60 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
61 | <A HREF="../../../../index.html?org/apache/solr/schema/TrieField.html" target="_top"><B>FRAMES</B></A> |
---|
62 | <A HREF="TrieField.html" target="_top"><B>NO FRAMES</B></A> |
---|
63 | <SCRIPT type="text/javascript"> |
---|
64 | <!-- |
---|
65 | if(window==top) { |
---|
66 | document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
---|
67 | } |
---|
68 | //--> |
---|
69 | </SCRIPT> |
---|
70 | <NOSCRIPT> |
---|
71 | <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> |
---|
72 | </NOSCRIPT> |
---|
73 | |
---|
74 | |
---|
75 | </FONT></TD> |
---|
76 | </TR> |
---|
77 | <TR> |
---|
78 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
79 | SUMMARY: <A HREF="#nested_class_summary">NESTED</A> | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
---|
80 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
81 | DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
---|
82 | </TR> |
---|
83 | </TABLE> |
---|
84 | <A NAME="skip-navbar_top"></A> |
---|
85 | <!-- ========= END OF TOP NAVBAR ========= --> |
---|
86 | |
---|
87 | <HR> |
---|
88 | <!-- ======== START OF CLASS DATA ======== --> |
---|
89 | <H2> |
---|
90 | <FONT SIZE="-1"> |
---|
91 | org.apache.solr.schema</FONT> |
---|
92 | <BR> |
---|
93 | Class TrieField</H2> |
---|
94 | <PRE> |
---|
95 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A> |
---|
96 | <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../org/apache/solr/schema/FieldProperties.html" title="class in org.apache.solr.schema">org.apache.solr.schema.FieldProperties</A> |
---|
97 | <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../org/apache/solr/schema/FieldType.html" title="class in org.apache.solr.schema">org.apache.solr.schema.FieldType</A> |
---|
98 | <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../org/apache/solr/schema/PrimitiveFieldType.html" title="class in org.apache.solr.schema">org.apache.solr.schema.PrimitiveFieldType</A> |
---|
99 | <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.solr.schema.TrieField</B> |
---|
100 | </PRE> |
---|
101 | <DL> |
---|
102 | <DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../org/apache/solr/schema/TrieDoubleField.html" title="class in org.apache.solr.schema">TrieDoubleField</A>, <A HREF="../../../../org/apache/solr/schema/TrieFloatField.html" title="class in org.apache.solr.schema">TrieFloatField</A>, <A HREF="../../../../org/apache/solr/schema/TrieIntField.html" title="class in org.apache.solr.schema">TrieIntField</A>, <A HREF="../../../../org/apache/solr/schema/TrieLongField.html" title="class in org.apache.solr.schema">TrieLongField</A></DD> |
---|
103 | </DL> |
---|
104 | <HR> |
---|
105 | <DL> |
---|
106 | <DT><PRE>public class <B>TrieField</B><DT>extends <A HREF="../../../../org/apache/solr/schema/PrimitiveFieldType.html" title="class in org.apache.solr.schema">PrimitiveFieldType</A></DL> |
---|
107 | </PRE> |
---|
108 | |
---|
109 | <P> |
---|
110 | Provides field types to support for Lucene's <A HREF="../../../../org/apache/solr/schema/IntField.html" title="class in org.apache.solr.schema"><CODE>IntField</CODE></A>, <A HREF="../../../../org/apache/solr/schema/LongField.html" title="class in org.apache.solr.schema"><CODE>LongField</CODE></A>, <A HREF="../../../../org/apache/solr/schema/FloatField.html" title="class in org.apache.solr.schema"><CODE>FloatField</CODE></A> and |
---|
111 | <A HREF="../../../../org/apache/solr/schema/DoubleField.html" title="class in org.apache.solr.schema"><CODE>DoubleField</CODE></A>. |
---|
112 | See <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/search/NumericRangeQuery.html?is-external=true" title="class or interface in org.apache.lucene.search"><CODE>NumericRangeQuery</CODE></A> for more details. |
---|
113 | It supports integer, float, long, double and date types. |
---|
114 | <p/> |
---|
115 | For each number being added to this field, multiple terms are generated as per the algorithm described in the above |
---|
116 | link. The possible number of terms increases dramatically with lower precision steps. For |
---|
117 | the fast range search to work, trie fields must be indexed. |
---|
118 | <p/> |
---|
119 | Trie fields are sortable in numerical order and can be used in function queries. |
---|
120 | <p/> |
---|
121 | Note that if you use a precisionStep of 32 for int/float and 64 for long/double/date, then multiple terms will not be |
---|
122 | generated, range search will be no faster than any other number field, but sorting will still be possible. |
---|
123 | <P> |
---|
124 | |
---|
125 | <P> |
---|
126 | <DL> |
---|
127 | <DT><B>Since:</B></DT> |
---|
128 | <DD>solr 1.4</DD> |
---|
129 | <DT><B>See Also:</B><DD><A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/search/NumericRangeQuery.html?is-external=true" title="class or interface in org.apache.lucene.search"><CODE>NumericRangeQuery</CODE></A></DL> |
---|
130 | <HR> |
---|
131 | |
---|
132 | <P> |
---|
133 | <!-- ======== NESTED CLASS SUMMARY ======== --> |
---|
134 | |
---|
135 | <A NAME="nested_class_summary"><!-- --></A> |
---|
136 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
137 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
138 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
139 | <B>Nested Class Summary</B></FONT></TH> |
---|
140 | </TR> |
---|
141 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
142 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
143 | <CODE>static class</CODE></FONT></TD> |
---|
144 | <TD><CODE><B><A HREF="../../../../org/apache/solr/schema/TrieField.TrieTypes.html" title="enum in org.apache.solr.schema">TrieField.TrieTypes</A></B></CODE> |
---|
145 | |
---|
146 | <BR> |
---|
147 | </TD> |
---|
148 | </TR> |
---|
149 | </TABLE> |
---|
150 | <A NAME="nested_classes_inherited_from_class_org.apache.solr.schema.FieldType"><!-- --></A> |
---|
151 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
152 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
153 | <TH ALIGN="left"><B>Nested classes/interfaces inherited from class org.apache.solr.schema.<A HREF="../../../../org/apache/solr/schema/FieldType.html" title="class in org.apache.solr.schema">FieldType</A></B></TH> |
---|
154 | </TR> |
---|
155 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
156 | <TD><CODE><A HREF="../../../../org/apache/solr/schema/FieldType.DefaultAnalyzer.html" title="class in org.apache.solr.schema">FieldType.DefaultAnalyzer</A></CODE></TD> |
---|
157 | </TR> |
---|
158 | </TABLE> |
---|
159 | |
---|
160 | <!-- =========== FIELD SUMMARY =========== --> |
---|
161 | |
---|
162 | <A NAME="field_summary"><!-- --></A> |
---|
163 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
164 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
165 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
166 | <B>Field Summary</B></FONT></TH> |
---|
167 | </TR> |
---|
168 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
169 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
170 | <CODE>static int</CODE></FONT></TD> |
---|
171 | <TD><CODE><B><A HREF="../../../../org/apache/solr/schema/TrieField.html#DEFAULT_PRECISION_STEP">DEFAULT_PRECISION_STEP</A></B></CODE> |
---|
172 | |
---|
173 | <BR> |
---|
174 | </TD> |
---|
175 | </TR> |
---|
176 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
177 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
178 | <CODE>protected <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></FONT></TD> |
---|
179 | <TD><CODE><B><A HREF="../../../../org/apache/solr/schema/TrieField.html#missingValue">missingValue</A></B></CODE> |
---|
180 | |
---|
181 | <BR> |
---|
182 | </TD> |
---|
183 | </TR> |
---|
184 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
185 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
186 | <CODE>protected int</CODE></FONT></TD> |
---|
187 | <TD><CODE><B><A HREF="../../../../org/apache/solr/schema/TrieField.html#precisionStep">precisionStep</A></B></CODE> |
---|
188 | |
---|
189 | <BR> |
---|
190 | </TD> |
---|
191 | </TR> |
---|
192 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
193 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
194 | <CODE>protected int</CODE></FONT></TD> |
---|
195 | <TD><CODE><B><A HREF="../../../../org/apache/solr/schema/TrieField.html#precisionStepArg">precisionStepArg</A></B></CODE> |
---|
196 | |
---|
197 | <BR> |
---|
198 | </TD> |
---|
199 | </TR> |
---|
200 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
201 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
202 | <CODE>protected <A HREF="../../../../org/apache/solr/schema/TrieField.TrieTypes.html" title="enum in org.apache.solr.schema">TrieField.TrieTypes</A></CODE></FONT></TD> |
---|
203 | <TD><CODE><B><A HREF="../../../../org/apache/solr/schema/TrieField.html#type">type</A></B></CODE> |
---|
204 | |
---|
205 | <BR> |
---|
206 | </TD> |
---|
207 | </TR> |
---|
208 | </TABLE> |
---|
209 | <A NAME="fields_inherited_from_class_org.apache.solr.schema.FieldType"><!-- --></A> |
---|
210 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
211 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
212 | <TH ALIGN="left"><B>Fields inherited from class org.apache.solr.schema.<A HREF="../../../../org/apache/solr/schema/FieldType.html" title="class in org.apache.solr.schema">FieldType</A></B></TH> |
---|
213 | </TR> |
---|
214 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
215 | <TD><CODE><A HREF="../../../../org/apache/solr/schema/FieldType.html#analyzer">analyzer</A>, <A HREF="../../../../org/apache/solr/schema/FieldType.html#args">args</A>, <A HREF="../../../../org/apache/solr/schema/FieldType.html#falseProperties">falseProperties</A>, <A HREF="../../../../org/apache/solr/schema/FieldType.html#log">log</A>, <A HREF="../../../../org/apache/solr/schema/FieldType.html#POLY_FIELD_SEPARATOR">POLY_FIELD_SEPARATOR</A>, <A HREF="../../../../org/apache/solr/schema/FieldType.html#postingsFormat">postingsFormat</A>, <A HREF="../../../../org/apache/solr/schema/FieldType.html#queryAnalyzer">queryAnalyzer</A>, <A HREF="../../../../org/apache/solr/schema/FieldType.html#similarity">similarity</A>, <A HREF="../../../../org/apache/solr/schema/FieldType.html#trueProperties">trueProperties</A>, <A HREF="../../../../org/apache/solr/schema/FieldType.html#typeName">typeName</A></CODE></TD> |
---|
216 | </TR> |
---|
217 | </TABLE> |
---|
218 | <A NAME="fields_inherited_from_class_org.apache.solr.schema.FieldProperties"><!-- --></A> |
---|
219 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
220 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
221 | <TH ALIGN="left"><B>Fields inherited from class org.apache.solr.schema.<A HREF="../../../../org/apache/solr/schema/FieldProperties.html" title="class in org.apache.solr.schema">FieldProperties</A></B></TH> |
---|
222 | </TR> |
---|
223 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
224 | <TD><CODE><A HREF="../../../../org/apache/solr/schema/FieldProperties.html#BINARY">BINARY</A>, <A HREF="../../../../org/apache/solr/schema/FieldProperties.html#INDEXED">INDEXED</A>, <A HREF="../../../../org/apache/solr/schema/FieldProperties.html#MULTIVALUED">MULTIVALUED</A>, <A HREF="../../../../org/apache/solr/schema/FieldProperties.html#OMIT_NORMS">OMIT_NORMS</A>, <A HREF="../../../../org/apache/solr/schema/FieldProperties.html#OMIT_POSITIONS">OMIT_POSITIONS</A>, <A HREF="../../../../org/apache/solr/schema/FieldProperties.html#OMIT_TF_POSITIONS">OMIT_TF_POSITIONS</A>, <A HREF="../../../../org/apache/solr/schema/FieldProperties.html#REQUIRED">REQUIRED</A>, <A HREF="../../../../org/apache/solr/schema/FieldProperties.html#SORT_MISSING_FIRST">SORT_MISSING_FIRST</A>, <A HREF="../../../../org/apache/solr/schema/FieldProperties.html#SORT_MISSING_LAST">SORT_MISSING_LAST</A>, <A HREF="../../../../org/apache/solr/schema/FieldProperties.html#STORE_TERMOFFSETS">STORE_TERMOFFSETS</A>, <A HREF="../../../../org/apache/solr/schema/FieldProperties.html#STORE_TERMPOSITIONS">STORE_TERMPOSITIONS</A>, <A HREF="../../../../org/apache/solr/schema/FieldProperties.html#STORE_TERMVECTORS">STORE_TERMVECTORS</A>, <A HREF="../../../../org/apache/solr/schema/FieldProperties.html#STORED">STORED</A>, <A HREF="../../../../org/apache/solr/schema/FieldProperties.html#TOKENIZED">TOKENIZED</A></CODE></TD> |
---|
225 | </TR> |
---|
226 | </TABLE> |
---|
227 | |
---|
228 | <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
---|
229 | |
---|
230 | <A NAME="constructor_summary"><!-- --></A> |
---|
231 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
232 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
233 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
234 | <B>Constructor Summary</B></FONT></TH> |
---|
235 | </TR> |
---|
236 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
237 | <TD><CODE><B><A HREF="../../../../org/apache/solr/schema/TrieField.html#TrieField()">TrieField</A></B>()</CODE> |
---|
238 | |
---|
239 | <BR> |
---|
240 | </TD> |
---|
241 | </TR> |
---|
242 | </TABLE> |
---|
243 | |
---|
244 | <!-- ========== METHOD SUMMARY =========== --> |
---|
245 | |
---|
246 | <A NAME="method_summary"><!-- --></A> |
---|
247 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
248 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
249 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
250 | <B>Method Summary</B></FONT></TH> |
---|
251 | </TR> |
---|
252 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
253 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
254 | <CODE> <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/index/IndexableField.html?is-external=true" title="class or interface in org.apache.lucene.index">IndexableField</A></CODE></FONT></TD> |
---|
255 | <TD><CODE><B><A HREF="../../../../org/apache/solr/schema/TrieField.html#createField(org.apache.solr.schema.SchemaField, java.lang.Object, float)">createField</A></B>(<A HREF="../../../../org/apache/solr/schema/SchemaField.html" title="class in org.apache.solr.schema">SchemaField</A> field, |
---|
256 | <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, |
---|
257 | float boost)</CODE> |
---|
258 | |
---|
259 | <BR> |
---|
260 | Used for adding a document when a field needs to be created from a |
---|
261 | type and a string.</TD> |
---|
262 | </TR> |
---|
263 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
264 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
265 | <CODE>static <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
---|
266 | <TD><CODE><B><A HREF="../../../../org/apache/solr/schema/TrieField.html#getMainValuePrefix(org.apache.solr.schema.FieldType)">getMainValuePrefix</A></B>(<A HREF="../../../../org/apache/solr/schema/FieldType.html" title="class in org.apache.solr.schema">FieldType</A> ft)</CODE> |
---|
267 | |
---|
268 | <BR> |
---|
269 | expert internal use, subject to change.</TD> |
---|
270 | </TR> |
---|
271 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
272 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
273 | <CODE> int</CODE></FONT></TD> |
---|
274 | <TD><CODE><B><A HREF="../../../../org/apache/solr/schema/TrieField.html#getPrecisionStep()">getPrecisionStep</A></B>()</CODE> |
---|
275 | |
---|
276 | <BR> |
---|
277 | </TD> |
---|
278 | </TR> |
---|
279 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
280 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
281 | <CODE> <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/search/Query.html?is-external=true" title="class or interface in org.apache.lucene.search">Query</A></CODE></FONT></TD> |
---|
282 | <TD><CODE><B><A HREF="../../../../org/apache/solr/schema/TrieField.html#getRangeQuery(org.apache.solr.search.QParser, org.apache.solr.schema.SchemaField, java.lang.String, java.lang.String, boolean, boolean)">getRangeQuery</A></B>(<A HREF="../../../../org/apache/solr/search/QParser.html" title="class in org.apache.solr.search">QParser</A> parser, |
---|
283 | <A HREF="../../../../org/apache/solr/schema/SchemaField.html" title="class in org.apache.solr.schema">SchemaField</A> field, |
---|
284 | <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> min, |
---|
285 | <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> max, |
---|
286 | boolean minInclusive, |
---|
287 | boolean maxInclusive)</CODE> |
---|
288 | |
---|
289 | <BR> |
---|
290 | Returns a Query instance for doing range searches on this field type.</TD> |
---|
291 | </TR> |
---|
292 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
293 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
294 | <CODE> <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/search/SortField.html?is-external=true" title="class or interface in org.apache.lucene.search">SortField</A></CODE></FONT></TD> |
---|
295 | <TD><CODE><B><A HREF="../../../../org/apache/solr/schema/TrieField.html#getSortField(org.apache.solr.schema.SchemaField, boolean)">getSortField</A></B>(<A HREF="../../../../org/apache/solr/schema/SchemaField.html" title="class in org.apache.solr.schema">SchemaField</A> field, |
---|
296 | boolean top)</CODE> |
---|
297 | |
---|
298 | <BR> |
---|
299 | Returns the SortField instance that should be used to sort fields |
---|
300 | of this type.</TD> |
---|
301 | </TR> |
---|
302 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
303 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
304 | <CODE> <A HREF="../../../../org/apache/solr/schema/TrieField.TrieTypes.html" title="enum in org.apache.solr.schema">TrieField.TrieTypes</A></CODE></FONT></TD> |
---|
305 | <TD><CODE><B><A HREF="../../../../org/apache/solr/schema/TrieField.html#getType()">getType</A></B>()</CODE> |
---|
306 | |
---|
307 | <BR> |
---|
308 | </TD> |
---|
309 | </TR> |
---|
310 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
311 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
312 | <CODE> <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//queries/org/apache/lucene/queries/function/ValueSource.html?is-external=true" title="class or interface in org.apache.lucene.queries.function">ValueSource</A></CODE></FONT></TD> |
---|
313 | <TD><CODE><B><A HREF="../../../../org/apache/solr/schema/TrieField.html#getValueSource(org.apache.solr.schema.SchemaField, org.apache.solr.search.QParser)">getValueSource</A></B>(<A HREF="../../../../org/apache/solr/schema/SchemaField.html" title="class in org.apache.solr.schema">SchemaField</A> field, |
---|
314 | <A HREF="../../../../org/apache/solr/search/QParser.html" title="class in org.apache.solr.search">QParser</A> qparser)</CODE> |
---|
315 | |
---|
316 | <BR> |
---|
317 | called to get the default value source (normally, from the |
---|
318 | Lucene FieldCache.)</TD> |
---|
319 | </TR> |
---|
320 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
321 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
322 | <CODE> <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/util/CharsRef.html?is-external=true" title="class or interface in org.apache.lucene.util">CharsRef</A></CODE></FONT></TD> |
---|
323 | <TD><CODE><B><A HREF="../../../../org/apache/solr/schema/TrieField.html#indexedToReadable(org.apache.lucene.util.BytesRef, org.apache.lucene.util.CharsRef)">indexedToReadable</A></B>(<A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/util/BytesRef.html?is-external=true" title="class or interface in org.apache.lucene.util">BytesRef</A> indexedForm, |
---|
324 | <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/util/CharsRef.html?is-external=true" title="class or interface in org.apache.lucene.util">CharsRef</A> charsRef)</CODE> |
---|
325 | |
---|
326 | <BR> |
---|
327 | Given an indexed term, append the human readable representation</TD> |
---|
328 | </TR> |
---|
329 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
330 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
331 | <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> |
---|
332 | <TD><CODE><B><A HREF="../../../../org/apache/solr/schema/TrieField.html#indexedToReadable(java.lang.String)">indexedToReadable</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> _indexedForm)</CODE> |
---|
333 | |
---|
334 | <BR> |
---|
335 | Given an indexed term, return the human readable representation</TD> |
---|
336 | </TR> |
---|
337 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
338 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
339 | <CODE>protected void</CODE></FONT></TD> |
---|
340 | <TD><CODE><B><A HREF="../../../../org/apache/solr/schema/TrieField.html#init(org.apache.solr.schema.IndexSchema, java.util.Map)">init</A></B>(<A HREF="../../../../org/apache/solr/schema/IndexSchema.html" title="class in org.apache.solr.schema">IndexSchema</A> schema, |
---|
341 | <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/String.html?is-external=true" title="class or interface in java.lang">String</A>> args)</CODE> |
---|
342 | |
---|
343 | <BR> |
---|
344 | subclasses should initialize themselves with the args provided |
---|
345 | and remove valid arguments.</TD> |
---|
346 | </TR> |
---|
347 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
348 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
349 | <CODE> boolean</CODE></FONT></TD> |
---|
350 | <TD><CODE><B><A HREF="../../../../org/apache/solr/schema/TrieField.html#isTokenized()">isTokenized</A></B>()</CODE> |
---|
351 | |
---|
352 | <BR> |
---|
353 | Returns true if fields of this type should be tokenized</TD> |
---|
354 | </TR> |
---|
355 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
356 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
357 | <CODE> boolean</CODE></FONT></TD> |
---|
358 | <TD><CODE><B><A HREF="../../../../org/apache/solr/schema/TrieField.html#multiValuedFieldCache()">multiValuedFieldCache</A></B>()</CODE> |
---|
359 | |
---|
360 | <BR> |
---|
361 | Returns true if a single field value of this type has multiple logical values |
---|
362 | for the purposes of faceting, sorting, etc.</TD> |
---|
363 | </TR> |
---|
364 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
365 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
366 | <CODE> void</CODE></FONT></TD> |
---|
367 | <TD><CODE><B><A HREF="../../../../org/apache/solr/schema/TrieField.html#readableToIndexed(java.lang.CharSequence, org.apache.lucene.util.BytesRef)">readableToIndexed</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</A> val, |
---|
368 | <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/util/BytesRef.html?is-external=true" title="class or interface in org.apache.lucene.util">BytesRef</A> result)</CODE> |
---|
369 | |
---|
370 | <BR> |
---|
371 | Given the readable value, return the term value that will match it.</TD> |
---|
372 | </TR> |
---|
373 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
374 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
375 | <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> |
---|
376 | <TD><CODE><B><A HREF="../../../../org/apache/solr/schema/TrieField.html#readableToIndexed(java.lang.String)">readableToIndexed</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> val)</CODE> |
---|
377 | |
---|
378 | <BR> |
---|
379 | Given the readable value, return the term value that will match it.</TD> |
---|
380 | </TR> |
---|
381 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
382 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
383 | <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
---|
384 | <TD><CODE><B><A HREF="../../../../org/apache/solr/schema/TrieField.html#storedToIndexed(org.apache.lucene.index.IndexableField)">storedToIndexed</A></B>(<A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/index/IndexableField.html?is-external=true" title="class or interface in org.apache.lucene.index">IndexableField</A> f)</CODE> |
---|
385 | |
---|
386 | <BR> |
---|
387 | Given the stored field, return the indexed form</TD> |
---|
388 | </TR> |
---|
389 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
390 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
391 | <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
---|
392 | <TD><CODE><B><A HREF="../../../../org/apache/solr/schema/TrieField.html#storedToReadable(org.apache.lucene.index.IndexableField)">storedToReadable</A></B>(<A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/index/IndexableField.html?is-external=true" title="class or interface in org.apache.lucene.index">IndexableField</A> f)</CODE> |
---|
393 | |
---|
394 | <BR> |
---|
395 | Given the stored field, return the human readable representation</TD> |
---|
396 | </TR> |
---|
397 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
398 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
399 | <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
---|
400 | <TD><CODE><B><A HREF="../../../../org/apache/solr/schema/TrieField.html#toExternal(org.apache.lucene.index.IndexableField)">toExternal</A></B>(<A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/index/IndexableField.html?is-external=true" title="class or interface in org.apache.lucene.index">IndexableField</A> f)</CODE> |
---|
401 | |
---|
402 | <BR> |
---|
403 | Convert the stored-field format to an external (string, human readable) |
---|
404 | value</TD> |
---|
405 | </TR> |
---|
406 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
407 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
408 | <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> |
---|
409 | <TD><CODE><B><A HREF="../../../../org/apache/solr/schema/TrieField.html#toInternal(java.lang.String)">toInternal</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> val)</CODE> |
---|
410 | |
---|
411 | <BR> |
---|
412 | Convert an external value (from XML update command or from query string) |
---|
413 | into the internal format for both storing and indexing (which can be modified by any analyzers).</TD> |
---|
414 | </TR> |
---|
415 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
416 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
417 | <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> |
---|
418 | <TD><CODE><B><A HREF="../../../../org/apache/solr/schema/TrieField.html#toObject(org.apache.lucene.index.IndexableField)">toObject</A></B>(<A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/index/IndexableField.html?is-external=true" title="class or interface in org.apache.lucene.index">IndexableField</A> f)</CODE> |
---|
419 | |
---|
420 | <BR> |
---|
421 | Convert the stored-field format to an external object.</TD> |
---|
422 | </TR> |
---|
423 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
424 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
425 | <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> |
---|
426 | <TD><CODE><B><A HREF="../../../../org/apache/solr/schema/TrieField.html#toObject(org.apache.solr.schema.SchemaField, org.apache.lucene.util.BytesRef)">toObject</A></B>(<A HREF="../../../../org/apache/solr/schema/SchemaField.html" title="class in org.apache.solr.schema">SchemaField</A> sf, |
---|
427 | <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/util/BytesRef.html?is-external=true" title="class or interface in org.apache.lucene.util">BytesRef</A> term)</CODE> |
---|
428 | |
---|
429 | <BR> |
---|
430 | </TD> |
---|
431 | </TR> |
---|
432 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
433 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
434 | <CODE> void</CODE></FONT></TD> |
---|
435 | <TD><CODE><B><A HREF="../../../../org/apache/solr/schema/TrieField.html#write(org.apache.solr.response.TextResponseWriter, java.lang.String, org.apache.lucene.index.IndexableField)">write</A></B>(<A HREF="../../../../org/apache/solr/response/TextResponseWriter.html" title="class in org.apache.solr.response">TextResponseWriter</A> writer, |
---|
436 | <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, |
---|
437 | <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/index/IndexableField.html?is-external=true" title="class or interface in org.apache.lucene.index">IndexableField</A> f)</CODE> |
---|
438 | |
---|
439 | <BR> |
---|
440 | calls back to TextResponseWriter to write the field value</TD> |
---|
441 | </TR> |
---|
442 | </TABLE> |
---|
443 | <A NAME="methods_inherited_from_class_org.apache.solr.schema.FieldType"><!-- --></A> |
---|
444 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
445 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
446 | <TH ALIGN="left"><B>Methods inherited from class org.apache.solr.schema.<A HREF="../../../../org/apache/solr/schema/FieldType.html" title="class in org.apache.solr.schema">FieldType</A></B></TH> |
---|
447 | </TR> |
---|
448 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
449 | <TD><CODE><A HREF="../../../../org/apache/solr/schema/FieldType.html#createField(java.lang.String, java.lang.String, org.apache.lucene.document.FieldType, float)">createField</A>, <A HREF="../../../../org/apache/solr/schema/FieldType.html#createFields(org.apache.solr.schema.SchemaField, java.lang.Object, float)">createFields</A>, <A HREF="../../../../org/apache/solr/schema/FieldType.html#getAnalyzer()">getAnalyzer</A>, <A HREF="../../../../org/apache/solr/schema/FieldType.html#getArg(java.lang.String, java.util.Map)">getArg</A>, <A HREF="../../../../org/apache/solr/schema/FieldType.html#getFieldQuery(org.apache.solr.search.QParser, org.apache.solr.schema.SchemaField, java.lang.String)">getFieldQuery</A>, <A HREF="../../../../org/apache/solr/schema/FieldType.html#getIndexOptions(org.apache.solr.schema.SchemaField, java.lang.String)">getIndexOptions</A>, <A HREF="../../../../org/apache/solr/schema/FieldType.html#getPostingsFormat()">getPostingsFormat</A>, <A HREF="../../../../org/apache/solr/schema/FieldType.html#getQueryAnalyzer()">getQueryAnalyzer</A>, <A HREF="../../../../org/apache/solr/schema/FieldType.html#getSimilarity()">getSimilarity</A>, <A HREF="../../../../org/apache/solr/schema/FieldType.html#getStringSort(org.apache.solr.schema.SchemaField, boolean)">getStringSort</A>, <A HREF="../../../../org/apache/solr/schema/FieldType.html#getTypeName()">getTypeName</A>, <A HREF="../../../../org/apache/solr/schema/FieldType.html#hasProperty(int)">hasProperty</A>, <A HREF="../../../../org/apache/solr/schema/FieldType.html#isMultiValued()">isMultiValued</A>, <A HREF="../../../../org/apache/solr/schema/FieldType.html#isPolyField()">isPolyField</A>, <A HREF="../../../../org/apache/solr/schema/FieldType.html#restrictProps(int)">restrictProps</A>, <A HREF="../../../../org/apache/solr/schema/FieldType.html#setAnalyzer(org.apache.lucene.analysis.Analyzer)">setAnalyzer</A>, <A HREF="../../../../org/apache/solr/schema/FieldType.html#setQueryAnalyzer(org.apache.lucene.analysis.Analyzer)">setQueryAnalyzer</A>, <A HREF="../../../../org/apache/solr/schema/FieldType.html#setSimilarity(org.apache.lucene.search.similarities.Similarity)">setSimilarity</A>, <A HREF="../../../../org/apache/solr/schema/FieldType.html#toString()">toString</A></CODE></TD> |
---|
450 | </TR> |
---|
451 | </TABLE> |
---|
452 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
---|
453 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
454 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
455 | <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> |
---|
456 | </TR> |
---|
457 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
458 | <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> |
---|
459 | </TR> |
---|
460 | </TABLE> |
---|
461 | |
---|
462 | <P> |
---|
463 | |
---|
464 | <!-- ============ FIELD DETAIL =========== --> |
---|
465 | |
---|
466 | <A NAME="field_detail"><!-- --></A> |
---|
467 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
468 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
469 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
470 | <B>Field Detail</B></FONT></TH> |
---|
471 | </TR> |
---|
472 | </TABLE> |
---|
473 | |
---|
474 | <A NAME="DEFAULT_PRECISION_STEP"><!-- --></A><H3> |
---|
475 | DEFAULT_PRECISION_STEP</H3> |
---|
476 | <PRE> |
---|
477 | public static final int <B>DEFAULT_PRECISION_STEP</B></PRE> |
---|
478 | <DL> |
---|
479 | <DL> |
---|
480 | <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.solr.schema.TrieField.DEFAULT_PRECISION_STEP">Constant Field Values</A></DL> |
---|
481 | </DL> |
---|
482 | <HR> |
---|
483 | |
---|
484 | <A NAME="precisionStepArg"><!-- --></A><H3> |
---|
485 | precisionStepArg</H3> |
---|
486 | <PRE> |
---|
487 | protected int <B>precisionStepArg</B></PRE> |
---|
488 | <DL> |
---|
489 | <DL> |
---|
490 | </DL> |
---|
491 | </DL> |
---|
492 | <HR> |
---|
493 | |
---|
494 | <A NAME="precisionStep"><!-- --></A><H3> |
---|
495 | precisionStep</H3> |
---|
496 | <PRE> |
---|
497 | protected int <B>precisionStep</B></PRE> |
---|
498 | <DL> |
---|
499 | <DL> |
---|
500 | </DL> |
---|
501 | </DL> |
---|
502 | <HR> |
---|
503 | |
---|
504 | <A NAME="type"><!-- --></A><H3> |
---|
505 | type</H3> |
---|
506 | <PRE> |
---|
507 | protected <A HREF="../../../../org/apache/solr/schema/TrieField.TrieTypes.html" title="enum in org.apache.solr.schema">TrieField.TrieTypes</A> <B>type</B></PRE> |
---|
508 | <DL> |
---|
509 | <DL> |
---|
510 | </DL> |
---|
511 | </DL> |
---|
512 | <HR> |
---|
513 | |
---|
514 | <A NAME="missingValue"><!-- --></A><H3> |
---|
515 | missingValue</H3> |
---|
516 | <PRE> |
---|
517 | protected <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>missingValue</B></PRE> |
---|
518 | <DL> |
---|
519 | <DL> |
---|
520 | </DL> |
---|
521 | </DL> |
---|
522 | |
---|
523 | <!-- ========= CONSTRUCTOR DETAIL ======== --> |
---|
524 | |
---|
525 | <A NAME="constructor_detail"><!-- --></A> |
---|
526 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
527 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
528 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
529 | <B>Constructor Detail</B></FONT></TH> |
---|
530 | </TR> |
---|
531 | </TABLE> |
---|
532 | |
---|
533 | <A NAME="TrieField()"><!-- --></A><H3> |
---|
534 | TrieField</H3> |
---|
535 | <PRE> |
---|
536 | public <B>TrieField</B>()</PRE> |
---|
537 | <DL> |
---|
538 | </DL> |
---|
539 | |
---|
540 | <!-- ============ METHOD DETAIL ========== --> |
---|
541 | |
---|
542 | <A NAME="method_detail"><!-- --></A> |
---|
543 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
544 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
545 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
546 | <B>Method Detail</B></FONT></TH> |
---|
547 | </TR> |
---|
548 | </TABLE> |
---|
549 | |
---|
550 | <A NAME="init(org.apache.solr.schema.IndexSchema, java.util.Map)"><!-- --></A><H3> |
---|
551 | init</H3> |
---|
552 | <PRE> |
---|
553 | protected void <B>init</B>(<A HREF="../../../../org/apache/solr/schema/IndexSchema.html" title="class in org.apache.solr.schema">IndexSchema</A> schema, |
---|
554 | <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/String.html?is-external=true" title="class or interface in java.lang">String</A>> args)</PRE> |
---|
555 | <DL> |
---|
556 | <DD><B>Description copied from class: <CODE><A HREF="../../../../org/apache/solr/schema/FieldType.html#init(org.apache.solr.schema.IndexSchema, java.util.Map)">FieldType</A></CODE></B></DD> |
---|
557 | <DD>subclasses should initialize themselves with the args provided |
---|
558 | and remove valid arguments. leftover arguments will cause an exception. |
---|
559 | Common boolean properties have already been handled. |
---|
560 | <P> |
---|
561 | <DD><DL> |
---|
562 | <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/apache/solr/schema/PrimitiveFieldType.html#init(org.apache.solr.schema.IndexSchema, java.util.Map)">init</A></CODE> in class <CODE><A HREF="../../../../org/apache/solr/schema/PrimitiveFieldType.html" title="class in org.apache.solr.schema">PrimitiveFieldType</A></CODE></DL> |
---|
563 | </DD> |
---|
564 | <DD><DL> |
---|
565 | </DL> |
---|
566 | </DD> |
---|
567 | </DL> |
---|
568 | <HR> |
---|
569 | |
---|
570 | <A NAME="toObject(org.apache.lucene.index.IndexableField)"><!-- --></A><H3> |
---|
571 | toObject</H3> |
---|
572 | <PRE> |
---|
573 | 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>toObject</B>(<A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/index/IndexableField.html?is-external=true" title="class or interface in org.apache.lucene.index">IndexableField</A> f)</PRE> |
---|
574 | <DL> |
---|
575 | <DD><B>Description copied from class: <CODE><A HREF="../../../../org/apache/solr/schema/FieldType.html#toObject(org.apache.lucene.index.IndexableField)">FieldType</A></CODE></B></DD> |
---|
576 | <DD>Convert the stored-field format to an external object. |
---|
577 | <P> |
---|
578 | <DD><DL> |
---|
579 | <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/apache/solr/schema/FieldType.html#toObject(org.apache.lucene.index.IndexableField)">toObject</A></CODE> in class <CODE><A HREF="../../../../org/apache/solr/schema/FieldType.html" title="class in org.apache.solr.schema">FieldType</A></CODE></DL> |
---|
580 | </DD> |
---|
581 | <DD><DL> |
---|
582 | <DT><B>See Also:</B><DD><A HREF="../../../../org/apache/solr/schema/FieldType.html#toInternal(java.lang.String)"><CODE>FieldType.toInternal(java.lang.String)</CODE></A></DL> |
---|
583 | </DD> |
---|
584 | </DL> |
---|
585 | <HR> |
---|
586 | |
---|
587 | <A NAME="getSortField(org.apache.solr.schema.SchemaField, boolean)"><!-- --></A><H3> |
---|
588 | getSortField</H3> |
---|
589 | <PRE> |
---|
590 | public <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/search/SortField.html?is-external=true" title="class or interface in org.apache.lucene.search">SortField</A> <B>getSortField</B>(<A HREF="../../../../org/apache/solr/schema/SchemaField.html" title="class in org.apache.solr.schema">SchemaField</A> field, |
---|
591 | boolean top)</PRE> |
---|
592 | <DL> |
---|
593 | <DD><B>Description copied from class: <CODE><A HREF="../../../../org/apache/solr/schema/FieldType.html#getSortField(org.apache.solr.schema.SchemaField, boolean)">FieldType</A></CODE></B></DD> |
---|
594 | <DD>Returns the SortField instance that should be used to sort fields |
---|
595 | of this type. |
---|
596 | <P> |
---|
597 | <DD><DL> |
---|
598 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/solr/schema/FieldType.html#getSortField(org.apache.solr.schema.SchemaField, boolean)">getSortField</A></CODE> in class <CODE><A HREF="../../../../org/apache/solr/schema/FieldType.html" title="class in org.apache.solr.schema">FieldType</A></CODE></DL> |
---|
599 | </DD> |
---|
600 | <DD><DL> |
---|
601 | <DT><B>See Also:</B><DD><A HREF="../../../../org/apache/solr/schema/SchemaField.html#checkSortability()"><CODE>SchemaField.checkSortability()</CODE></A></DL> |
---|
602 | </DD> |
---|
603 | </DL> |
---|
604 | <HR> |
---|
605 | |
---|
606 | <A NAME="getValueSource(org.apache.solr.schema.SchemaField, org.apache.solr.search.QParser)"><!-- --></A><H3> |
---|
607 | getValueSource</H3> |
---|
608 | <PRE> |
---|
609 | public <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//queries/org/apache/lucene/queries/function/ValueSource.html?is-external=true" title="class or interface in org.apache.lucene.queries.function">ValueSource</A> <B>getValueSource</B>(<A HREF="../../../../org/apache/solr/schema/SchemaField.html" title="class in org.apache.solr.schema">SchemaField</A> field, |
---|
610 | <A HREF="../../../../org/apache/solr/search/QParser.html" title="class in org.apache.solr.search">QParser</A> qparser)</PRE> |
---|
611 | <DL> |
---|
612 | <DD><B>Description copied from class: <CODE><A HREF="../../../../org/apache/solr/schema/FieldType.html#getValueSource(org.apache.solr.schema.SchemaField, org.apache.solr.search.QParser)">FieldType</A></CODE></B></DD> |
---|
613 | <DD>called to get the default value source (normally, from the |
---|
614 | Lucene FieldCache.) |
---|
615 | <P> |
---|
616 | <DD><DL> |
---|
617 | <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/apache/solr/schema/FieldType.html#getValueSource(org.apache.solr.schema.SchemaField, org.apache.solr.search.QParser)">getValueSource</A></CODE> in class <CODE><A HREF="../../../../org/apache/solr/schema/FieldType.html" title="class in org.apache.solr.schema">FieldType</A></CODE></DL> |
---|
618 | </DD> |
---|
619 | <DD><DL> |
---|
620 | </DL> |
---|
621 | </DD> |
---|
622 | </DL> |
---|
623 | <HR> |
---|
624 | |
---|
625 | <A NAME="write(org.apache.solr.response.TextResponseWriter, java.lang.String, org.apache.lucene.index.IndexableField)"><!-- --></A><H3> |
---|
626 | write</H3> |
---|
627 | <PRE> |
---|
628 | public void <B>write</B>(<A HREF="../../../../org/apache/solr/response/TextResponseWriter.html" title="class in org.apache.solr.response">TextResponseWriter</A> writer, |
---|
629 | <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, |
---|
630 | <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/index/IndexableField.html?is-external=true" title="class or interface in org.apache.lucene.index">IndexableField</A> f) |
---|
631 | throws <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE> |
---|
632 | <DL> |
---|
633 | <DD><B>Description copied from class: <CODE><A HREF="../../../../org/apache/solr/schema/FieldType.html#write(org.apache.solr.response.TextResponseWriter, java.lang.String, org.apache.lucene.index.IndexableField)">FieldType</A></CODE></B></DD> |
---|
634 | <DD>calls back to TextResponseWriter to write the field value |
---|
635 | <P> |
---|
636 | <DD><DL> |
---|
637 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/solr/schema/FieldType.html#write(org.apache.solr.response.TextResponseWriter, java.lang.String, org.apache.lucene.index.IndexableField)">write</A></CODE> in class <CODE><A HREF="../../../../org/apache/solr/schema/FieldType.html" title="class in org.apache.solr.schema">FieldType</A></CODE></DL> |
---|
638 | </DD> |
---|
639 | <DD><DL> |
---|
640 | |
---|
641 | <DT><B>Throws:</B> |
---|
642 | <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> |
---|
643 | </DD> |
---|
644 | </DL> |
---|
645 | <HR> |
---|
646 | |
---|
647 | <A NAME="isTokenized()"><!-- --></A><H3> |
---|
648 | isTokenized</H3> |
---|
649 | <PRE> |
---|
650 | public boolean <B>isTokenized</B>()</PRE> |
---|
651 | <DL> |
---|
652 | <DD><B>Description copied from class: <CODE><A HREF="../../../../org/apache/solr/schema/FieldType.html#isTokenized()">FieldType</A></CODE></B></DD> |
---|
653 | <DD>Returns true if fields of this type should be tokenized |
---|
654 | <P> |
---|
655 | <DD><DL> |
---|
656 | <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/apache/solr/schema/FieldType.html#isTokenized()">isTokenized</A></CODE> in class <CODE><A HREF="../../../../org/apache/solr/schema/FieldType.html" title="class in org.apache.solr.schema">FieldType</A></CODE></DL> |
---|
657 | </DD> |
---|
658 | <DD><DL> |
---|
659 | </DL> |
---|
660 | </DD> |
---|
661 | </DL> |
---|
662 | <HR> |
---|
663 | |
---|
664 | <A NAME="multiValuedFieldCache()"><!-- --></A><H3> |
---|
665 | multiValuedFieldCache</H3> |
---|
666 | <PRE> |
---|
667 | public boolean <B>multiValuedFieldCache</B>()</PRE> |
---|
668 | <DL> |
---|
669 | <DD><B>Description copied from class: <CODE><A HREF="../../../../org/apache/solr/schema/FieldType.html#multiValuedFieldCache()">FieldType</A></CODE></B></DD> |
---|
670 | <DD>Returns true if a single field value of this type has multiple logical values |
---|
671 | for the purposes of faceting, sorting, etc. Text fields normally return |
---|
672 | true since each token/word is a logical value. |
---|
673 | <P> |
---|
674 | <DD><DL> |
---|
675 | <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/apache/solr/schema/FieldType.html#multiValuedFieldCache()">multiValuedFieldCache</A></CODE> in class <CODE><A HREF="../../../../org/apache/solr/schema/FieldType.html" title="class in org.apache.solr.schema">FieldType</A></CODE></DL> |
---|
676 | </DD> |
---|
677 | <DD><DL> |
---|
678 | </DL> |
---|
679 | </DD> |
---|
680 | </DL> |
---|
681 | <HR> |
---|
682 | |
---|
683 | <A NAME="getPrecisionStep()"><!-- --></A><H3> |
---|
684 | getPrecisionStep</H3> |
---|
685 | <PRE> |
---|
686 | public int <B>getPrecisionStep</B>()</PRE> |
---|
687 | <DL> |
---|
688 | <DD><DL> |
---|
689 | |
---|
690 | <DT><B>Returns:</B><DD>the precisionStep used to index values into the field</DL> |
---|
691 | </DD> |
---|
692 | </DL> |
---|
693 | <HR> |
---|
694 | |
---|
695 | <A NAME="getType()"><!-- --></A><H3> |
---|
696 | getType</H3> |
---|
697 | <PRE> |
---|
698 | public <A HREF="../../../../org/apache/solr/schema/TrieField.TrieTypes.html" title="enum in org.apache.solr.schema">TrieField.TrieTypes</A> <B>getType</B>()</PRE> |
---|
699 | <DL> |
---|
700 | <DD><DL> |
---|
701 | |
---|
702 | <DT><B>Returns:</B><DD>the type of this field</DL> |
---|
703 | </DD> |
---|
704 | </DL> |
---|
705 | <HR> |
---|
706 | |
---|
707 | <A NAME="getRangeQuery(org.apache.solr.search.QParser, org.apache.solr.schema.SchemaField, java.lang.String, java.lang.String, boolean, boolean)"><!-- --></A><H3> |
---|
708 | getRangeQuery</H3> |
---|
709 | <PRE> |
---|
710 | public <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/search/Query.html?is-external=true" title="class or interface in org.apache.lucene.search">Query</A> <B>getRangeQuery</B>(<A HREF="../../../../org/apache/solr/search/QParser.html" title="class in org.apache.solr.search">QParser</A> parser, |
---|
711 | <A HREF="../../../../org/apache/solr/schema/SchemaField.html" title="class in org.apache.solr.schema">SchemaField</A> field, |
---|
712 | <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> min, |
---|
713 | <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> max, |
---|
714 | boolean minInclusive, |
---|
715 | boolean maxInclusive)</PRE> |
---|
716 | <DL> |
---|
717 | <DD><B>Description copied from class: <CODE><A HREF="../../../../org/apache/solr/schema/FieldType.html#getRangeQuery(org.apache.solr.search.QParser, org.apache.solr.schema.SchemaField, java.lang.String, java.lang.String, boolean, boolean)">FieldType</A></CODE></B></DD> |
---|
718 | <DD>Returns a Query instance for doing range searches on this field type. <A HREF="../../../../org/apache/solr/search/SolrQueryParser.html" title="class in org.apache.solr.search"><CODE>SolrQueryParser</CODE></A> |
---|
719 | currently passes part1 and part2 as null if they are '*' respectively. minInclusive and maxInclusive are both true |
---|
720 | currently by SolrQueryParser but that may change in the future. Also, other QueryParser implementations may have |
---|
721 | different semantics. |
---|
722 | <p/> |
---|
723 | Sub-classes should override this method to provide their own range query implementation. They should strive to |
---|
724 | handle nulls in part1 and/or part2 as well as unequal minInclusive and maxInclusive parameters gracefully. |
---|
725 | <P> |
---|
726 | <DD><DL> |
---|
727 | <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/apache/solr/schema/FieldType.html#getRangeQuery(org.apache.solr.search.QParser, org.apache.solr.schema.SchemaField, java.lang.String, java.lang.String, boolean, boolean)">getRangeQuery</A></CODE> in class <CODE><A HREF="../../../../org/apache/solr/schema/FieldType.html" title="class in org.apache.solr.schema">FieldType</A></CODE></DL> |
---|
728 | </DD> |
---|
729 | <DD><DL> |
---|
730 | <DD><CODE>field</CODE> - the schema field<DD><CODE>min</CODE> - the lower boundary of the range, nulls are allowed.<DD><CODE>max</CODE> - the upper boundary of the range, nulls are allowed<DD><CODE>minInclusive</CODE> - whether the minimum of the range is inclusive or not<DD><CODE>maxInclusive</CODE> - whether the maximum of the range is inclusive or not |
---|
731 | <DT><B>Returns:</B><DD>a Query instance to perform range search according to given parameters</DL> |
---|
732 | </DD> |
---|
733 | </DL> |
---|
734 | <HR> |
---|
735 | |
---|
736 | <A NAME="storedToReadable(org.apache.lucene.index.IndexableField)"><!-- --></A><H3> |
---|
737 | storedToReadable</H3> |
---|
738 | <PRE> |
---|
739 | 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>storedToReadable</B>(<A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/index/IndexableField.html?is-external=true" title="class or interface in org.apache.lucene.index">IndexableField</A> f)</PRE> |
---|
740 | <DL> |
---|
741 | <DD><B>Description copied from class: <CODE><A HREF="../../../../org/apache/solr/schema/FieldType.html#storedToReadable(org.apache.lucene.index.IndexableField)">FieldType</A></CODE></B></DD> |
---|
742 | <DD>Given the stored field, return the human readable representation |
---|
743 | <P> |
---|
744 | <DD><DL> |
---|
745 | <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/apache/solr/schema/FieldType.html#storedToReadable(org.apache.lucene.index.IndexableField)">storedToReadable</A></CODE> in class <CODE><A HREF="../../../../org/apache/solr/schema/FieldType.html" title="class in org.apache.solr.schema">FieldType</A></CODE></DL> |
---|
746 | </DD> |
---|
747 | <DD><DL> |
---|
748 | </DL> |
---|
749 | </DD> |
---|
750 | </DL> |
---|
751 | <HR> |
---|
752 | |
---|
753 | <A NAME="readableToIndexed(java.lang.String)"><!-- --></A><H3> |
---|
754 | readableToIndexed</H3> |
---|
755 | <PRE> |
---|
756 | 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>readableToIndexed</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> val)</PRE> |
---|
757 | <DL> |
---|
758 | <DD><B>Description copied from class: <CODE><A HREF="../../../../org/apache/solr/schema/FieldType.html#readableToIndexed(java.lang.String)">FieldType</A></CODE></B></DD> |
---|
759 | <DD>Given the readable value, return the term value that will match it. |
---|
760 | <P> |
---|
761 | <DD><DL> |
---|
762 | <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/apache/solr/schema/FieldType.html#readableToIndexed(java.lang.String)">readableToIndexed</A></CODE> in class <CODE><A HREF="../../../../org/apache/solr/schema/FieldType.html" title="class in org.apache.solr.schema">FieldType</A></CODE></DL> |
---|
763 | </DD> |
---|
764 | <DD><DL> |
---|
765 | </DL> |
---|
766 | </DD> |
---|
767 | </DL> |
---|
768 | <HR> |
---|
769 | |
---|
770 | <A NAME="readableToIndexed(java.lang.CharSequence, org.apache.lucene.util.BytesRef)"><!-- --></A><H3> |
---|
771 | readableToIndexed</H3> |
---|
772 | <PRE> |
---|
773 | public void <B>readableToIndexed</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</A> val, |
---|
774 | <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/util/BytesRef.html?is-external=true" title="class or interface in org.apache.lucene.util">BytesRef</A> result)</PRE> |
---|
775 | <DL> |
---|
776 | <DD><B>Description copied from class: <CODE><A HREF="../../../../org/apache/solr/schema/FieldType.html#readableToIndexed(java.lang.CharSequence, org.apache.lucene.util.BytesRef)">FieldType</A></CODE></B></DD> |
---|
777 | <DD>Given the readable value, return the term value that will match it. |
---|
778 | <P> |
---|
779 | <DD><DL> |
---|
780 | <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/apache/solr/schema/FieldType.html#readableToIndexed(java.lang.CharSequence, org.apache.lucene.util.BytesRef)">readableToIndexed</A></CODE> in class <CODE><A HREF="../../../../org/apache/solr/schema/FieldType.html" title="class in org.apache.solr.schema">FieldType</A></CODE></DL> |
---|
781 | </DD> |
---|
782 | <DD><DL> |
---|
783 | </DL> |
---|
784 | </DD> |
---|
785 | </DL> |
---|
786 | <HR> |
---|
787 | |
---|
788 | <A NAME="toInternal(java.lang.String)"><!-- --></A><H3> |
---|
789 | toInternal</H3> |
---|
790 | <PRE> |
---|
791 | 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>toInternal</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> val)</PRE> |
---|
792 | <DL> |
---|
793 | <DD><B>Description copied from class: <CODE><A HREF="../../../../org/apache/solr/schema/FieldType.html#toInternal(java.lang.String)">FieldType</A></CODE></B></DD> |
---|
794 | <DD>Convert an external value (from XML update command or from query string) |
---|
795 | into the internal format for both storing and indexing (which can be modified by any analyzers). |
---|
796 | <P> |
---|
797 | <DD><DL> |
---|
798 | <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/apache/solr/schema/FieldType.html#toInternal(java.lang.String)">toInternal</A></CODE> in class <CODE><A HREF="../../../../org/apache/solr/schema/FieldType.html" title="class in org.apache.solr.schema">FieldType</A></CODE></DL> |
---|
799 | </DD> |
---|
800 | <DD><DL> |
---|
801 | <DT><B>See Also:</B><DD><A HREF="../../../../org/apache/solr/schema/FieldType.html#toExternal(org.apache.lucene.index.IndexableField)"><CODE>FieldType.toExternal(org.apache.lucene.index.IndexableField)</CODE></A></DL> |
---|
802 | </DD> |
---|
803 | </DL> |
---|
804 | <HR> |
---|
805 | |
---|
806 | <A NAME="toExternal(org.apache.lucene.index.IndexableField)"><!-- --></A><H3> |
---|
807 | toExternal</H3> |
---|
808 | <PRE> |
---|
809 | 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>toExternal</B>(<A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/index/IndexableField.html?is-external=true" title="class or interface in org.apache.lucene.index">IndexableField</A> f)</PRE> |
---|
810 | <DL> |
---|
811 | <DD><B>Description copied from class: <CODE><A HREF="../../../../org/apache/solr/schema/FieldType.html#toExternal(org.apache.lucene.index.IndexableField)">FieldType</A></CODE></B></DD> |
---|
812 | <DD>Convert the stored-field format to an external (string, human readable) |
---|
813 | value |
---|
814 | <P> |
---|
815 | <DD><DL> |
---|
816 | <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/apache/solr/schema/FieldType.html#toExternal(org.apache.lucene.index.IndexableField)">toExternal</A></CODE> in class <CODE><A HREF="../../../../org/apache/solr/schema/FieldType.html" title="class in org.apache.solr.schema">FieldType</A></CODE></DL> |
---|
817 | </DD> |
---|
818 | <DD><DL> |
---|
819 | <DT><B>See Also:</B><DD><A HREF="../../../../org/apache/solr/schema/FieldType.html#toInternal(java.lang.String)"><CODE>FieldType.toInternal(java.lang.String)</CODE></A></DL> |
---|
820 | </DD> |
---|
821 | </DL> |
---|
822 | <HR> |
---|
823 | |
---|
824 | <A NAME="indexedToReadable(java.lang.String)"><!-- --></A><H3> |
---|
825 | indexedToReadable</H3> |
---|
826 | <PRE> |
---|
827 | 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>indexedToReadable</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> _indexedForm)</PRE> |
---|
828 | <DL> |
---|
829 | <DD><B>Description copied from class: <CODE><A HREF="../../../../org/apache/solr/schema/FieldType.html#indexedToReadable(java.lang.String)">FieldType</A></CODE></B></DD> |
---|
830 | <DD>Given an indexed term, return the human readable representation |
---|
831 | <P> |
---|
832 | <DD><DL> |
---|
833 | <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/apache/solr/schema/FieldType.html#indexedToReadable(java.lang.String)">indexedToReadable</A></CODE> in class <CODE><A HREF="../../../../org/apache/solr/schema/FieldType.html" title="class in org.apache.solr.schema">FieldType</A></CODE></DL> |
---|
834 | </DD> |
---|
835 | <DD><DL> |
---|
836 | </DL> |
---|
837 | </DD> |
---|
838 | </DL> |
---|
839 | <HR> |
---|
840 | |
---|
841 | <A NAME="indexedToReadable(org.apache.lucene.util.BytesRef, org.apache.lucene.util.CharsRef)"><!-- --></A><H3> |
---|
842 | indexedToReadable</H3> |
---|
843 | <PRE> |
---|
844 | public <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/util/CharsRef.html?is-external=true" title="class or interface in org.apache.lucene.util">CharsRef</A> <B>indexedToReadable</B>(<A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/util/BytesRef.html?is-external=true" title="class or interface in org.apache.lucene.util">BytesRef</A> indexedForm, |
---|
845 | <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/util/CharsRef.html?is-external=true" title="class or interface in org.apache.lucene.util">CharsRef</A> charsRef)</PRE> |
---|
846 | <DL> |
---|
847 | <DD><B>Description copied from class: <CODE><A HREF="../../../../org/apache/solr/schema/FieldType.html#indexedToReadable(org.apache.lucene.util.BytesRef, org.apache.lucene.util.CharsRef)">FieldType</A></CODE></B></DD> |
---|
848 | <DD>Given an indexed term, append the human readable representation |
---|
849 | <P> |
---|
850 | <DD><DL> |
---|
851 | <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/apache/solr/schema/FieldType.html#indexedToReadable(org.apache.lucene.util.BytesRef, org.apache.lucene.util.CharsRef)">indexedToReadable</A></CODE> in class <CODE><A HREF="../../../../org/apache/solr/schema/FieldType.html" title="class in org.apache.solr.schema">FieldType</A></CODE></DL> |
---|
852 | </DD> |
---|
853 | <DD><DL> |
---|
854 | </DL> |
---|
855 | </DD> |
---|
856 | </DL> |
---|
857 | <HR> |
---|
858 | |
---|
859 | <A NAME="toObject(org.apache.solr.schema.SchemaField, org.apache.lucene.util.BytesRef)"><!-- --></A><H3> |
---|
860 | toObject</H3> |
---|
861 | <PRE> |
---|
862 | 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>toObject</B>(<A HREF="../../../../org/apache/solr/schema/SchemaField.html" title="class in org.apache.solr.schema">SchemaField</A> sf, |
---|
863 | <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/util/BytesRef.html?is-external=true" title="class or interface in org.apache.lucene.util">BytesRef</A> term)</PRE> |
---|
864 | <DL> |
---|
865 | <DD><DL> |
---|
866 | <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/apache/solr/schema/FieldType.html#toObject(org.apache.solr.schema.SchemaField, org.apache.lucene.util.BytesRef)">toObject</A></CODE> in class <CODE><A HREF="../../../../org/apache/solr/schema/FieldType.html" title="class in org.apache.solr.schema">FieldType</A></CODE></DL> |
---|
867 | </DD> |
---|
868 | <DD><DL> |
---|
869 | </DL> |
---|
870 | </DD> |
---|
871 | </DL> |
---|
872 | <HR> |
---|
873 | |
---|
874 | <A NAME="storedToIndexed(org.apache.lucene.index.IndexableField)"><!-- --></A><H3> |
---|
875 | storedToIndexed</H3> |
---|
876 | <PRE> |
---|
877 | 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>storedToIndexed</B>(<A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/index/IndexableField.html?is-external=true" title="class or interface in org.apache.lucene.index">IndexableField</A> f)</PRE> |
---|
878 | <DL> |
---|
879 | <DD><B>Description copied from class: <CODE><A HREF="../../../../org/apache/solr/schema/FieldType.html#storedToIndexed(org.apache.lucene.index.IndexableField)">FieldType</A></CODE></B></DD> |
---|
880 | <DD>Given the stored field, return the indexed form |
---|
881 | <P> |
---|
882 | <DD><DL> |
---|
883 | <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/apache/solr/schema/FieldType.html#storedToIndexed(org.apache.lucene.index.IndexableField)">storedToIndexed</A></CODE> in class <CODE><A HREF="../../../../org/apache/solr/schema/FieldType.html" title="class in org.apache.solr.schema">FieldType</A></CODE></DL> |
---|
884 | </DD> |
---|
885 | <DD><DL> |
---|
886 | </DL> |
---|
887 | </DD> |
---|
888 | </DL> |
---|
889 | <HR> |
---|
890 | |
---|
891 | <A NAME="createField(org.apache.solr.schema.SchemaField, java.lang.Object, float)"><!-- --></A><H3> |
---|
892 | createField</H3> |
---|
893 | <PRE> |
---|
894 | public <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/index/IndexableField.html?is-external=true" title="class or interface in org.apache.lucene.index">IndexableField</A> <B>createField</B>(<A HREF="../../../../org/apache/solr/schema/SchemaField.html" title="class in org.apache.solr.schema">SchemaField</A> field, |
---|
895 | <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, |
---|
896 | float boost)</PRE> |
---|
897 | <DL> |
---|
898 | <DD><B>Description copied from class: <CODE><A HREF="../../../../org/apache/solr/schema/FieldType.html#createField(org.apache.solr.schema.SchemaField, java.lang.Object, float)">FieldType</A></CODE></B></DD> |
---|
899 | <DD>Used for adding a document when a field needs to be created from a |
---|
900 | type and a string. |
---|
901 | |
---|
902 | <p> |
---|
903 | By default, the indexed value is the same as the stored value |
---|
904 | (taken from toInternal()). Having a different representation for |
---|
905 | external, internal, and indexed would present quite a few problems |
---|
906 | given the current Lucene architecture. An analyzer for adding docs |
---|
907 | would need to translate internal->indexed while an analyzer for |
---|
908 | querying would need to translate external->indexed. |
---|
909 | </p> |
---|
910 | <p> |
---|
911 | The only other alternative to having internal==indexed would be to have |
---|
912 | internal==external. In this case, toInternal should convert to |
---|
913 | the indexed representation, toExternal() should do nothing, and |
---|
914 | createField() should *not* call toInternal, but use the external |
---|
915 | value and set tokenized=true to get Lucene to convert to the |
---|
916 | internal(indexed) form. |
---|
917 | </p> |
---|
918 | |
---|
919 | :TODO: clean up and clarify this explanation. |
---|
920 | <P> |
---|
921 | <DD><DL> |
---|
922 | <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/apache/solr/schema/FieldType.html#createField(org.apache.solr.schema.SchemaField, java.lang.Object, float)">createField</A></CODE> in class <CODE><A HREF="../../../../org/apache/solr/schema/FieldType.html" title="class in org.apache.solr.schema">FieldType</A></CODE></DL> |
---|
923 | </DD> |
---|
924 | <DD><DL> |
---|
925 | <DT><B>See Also:</B><DD><A HREF="../../../../org/apache/solr/schema/FieldType.html#toInternal(java.lang.String)"><CODE>FieldType.toInternal(java.lang.String)</CODE></A></DL> |
---|
926 | </DD> |
---|
927 | </DL> |
---|
928 | <HR> |
---|
929 | |
---|
930 | <A NAME="getMainValuePrefix(org.apache.solr.schema.FieldType)"><!-- --></A><H3> |
---|
931 | getMainValuePrefix</H3> |
---|
932 | <PRE> |
---|
933 | public static <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getMainValuePrefix</B>(<A HREF="../../../../org/apache/solr/schema/FieldType.html" title="class in org.apache.solr.schema">FieldType</A> ft)</PRE> |
---|
934 | <DL> |
---|
935 | <DD>expert internal use, subject to change. |
---|
936 | Returns null if no prefix or prefix not needed, or the prefix of the main value of a trie field |
---|
937 | that indexes multiple precisions per value. |
---|
938 | <P> |
---|
939 | <DD><DL> |
---|
940 | </DL> |
---|
941 | </DD> |
---|
942 | </DL> |
---|
943 | <!-- ========= END OF CLASS DATA ========= --> |
---|
944 | <HR> |
---|
945 | |
---|
946 | |
---|
947 | <!-- ======= START OF BOTTOM NAVBAR ====== --> |
---|
948 | <A NAME="navbar_bottom"><!-- --></A> |
---|
949 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
---|
950 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
---|
951 | <TR> |
---|
952 | <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
---|
953 | <A NAME="navbar_bottom_firstrow"><!-- --></A> |
---|
954 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
---|
955 | <TR ALIGN="center" VALIGN="top"> |
---|
956 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
---|
957 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
---|
958 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
---|
959 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/TrieField.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
---|
960 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
---|
961 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
---|
962 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
---|
963 | </TR> |
---|
964 | </TABLE> |
---|
965 | </TD> |
---|
966 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
---|
967 | </EM> |
---|
968 | </TD> |
---|
969 | </TR> |
---|
970 | |
---|
971 | <TR> |
---|
972 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
973 | <A HREF="../../../../org/apache/solr/schema/TrieDoubleField.html" title="class in org.apache.solr.schema"><B>PREV CLASS</B></A> |
---|
974 | <A HREF="../../../../org/apache/solr/schema/TrieField.TrieTypes.html" title="enum in org.apache.solr.schema"><B>NEXT CLASS</B></A></FONT></TD> |
---|
975 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
976 | <A HREF="../../../../index.html?org/apache/solr/schema/TrieField.html" target="_top"><B>FRAMES</B></A> |
---|
977 | <A HREF="TrieField.html" target="_top"><B>NO FRAMES</B></A> |
---|
978 | <SCRIPT type="text/javascript"> |
---|
979 | <!-- |
---|
980 | if(window==top) { |
---|
981 | document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
---|
982 | } |
---|
983 | //--> |
---|
984 | </SCRIPT> |
---|
985 | <NOSCRIPT> |
---|
986 | <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> |
---|
987 | </NOSCRIPT> |
---|
988 | |
---|
989 | |
---|
990 | </FONT></TD> |
---|
991 | </TR> |
---|
992 | <TR> |
---|
993 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
994 | SUMMARY: <A HREF="#nested_class_summary">NESTED</A> | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
---|
995 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
996 | DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
---|
997 | </TR> |
---|
998 | </TABLE> |
---|
999 | <A NAME="skip-navbar_bottom"></A> |
---|
1000 | <!-- ======== END OF BOTTOM NAVBAR ======= --> |
---|
1001 | |
---|
1002 | <HR> |
---|
1003 | |
---|
1004 | <address>Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.</address> |
---|
1005 | <script src='../../../../prettify.js' type='text/javascript'></script> |
---|
1006 | <script type='text/javascript'> |
---|
1007 | (function(){ |
---|
1008 | var oldonload = window.onload; |
---|
1009 | if (typeof oldonload != 'function') { |
---|
1010 | window.onload = prettyPrint; |
---|
1011 | } else { |
---|
1012 | window.onload = function() { |
---|
1013 | oldonload(); |
---|
1014 | prettyPrint(); |
---|
1015 | } |
---|
1016 | } |
---|
1017 | })(); |
---|
1018 | </script> |
---|
1019 | |
---|
1020 | </BODY> |
---|
1021 | </HTML> |
---|