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 | DirectSolrSpellChecker (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="DirectSolrSpellChecker (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/DirectSolrSpellChecker.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/spelling/ConjunctionSolrSpellChecker.html" title="class in org.apache.solr.spelling"><B>PREV CLASS</B></A> |
---|
59 | <A HREF="../../../../org/apache/solr/spelling/FileBasedSpellChecker.html" title="class in org.apache.solr.spelling"><B>NEXT CLASS</B></A></FONT></TD> |
---|
60 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
61 | <A HREF="../../../../index.html?org/apache/solr/spelling/DirectSolrSpellChecker.html" target="_top"><B>FRAMES</B></A> |
---|
62 | <A HREF="DirectSolrSpellChecker.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 | <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.spelling</FONT> |
---|
92 | <BR> |
---|
93 | Class DirectSolrSpellChecker</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/spelling/SolrSpellChecker.html" title="class in org.apache.solr.spelling">org.apache.solr.spelling.SolrSpellChecker</A> |
---|
97 | <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.solr.spelling.DirectSolrSpellChecker</B> |
---|
98 | </PRE> |
---|
99 | <HR> |
---|
100 | <DL> |
---|
101 | <DT><PRE>public class <B>DirectSolrSpellChecker</B><DT>extends <A HREF="../../../../org/apache/solr/spelling/SolrSpellChecker.html" title="class in org.apache.solr.spelling">SolrSpellChecker</A></DL> |
---|
102 | </PRE> |
---|
103 | |
---|
104 | <P> |
---|
105 | Spellchecker implementation that uses <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//suggest/org/apache/lucene/search/spell/DirectSpellChecker.html?is-external=true" title="class or interface in org.apache.lucene.search.spell"><CODE>DirectSpellChecker</CODE></A> |
---|
106 | <p> |
---|
107 | Requires no auxiliary index or data structure. |
---|
108 | <p> |
---|
109 | Supported options: |
---|
110 | <ul> |
---|
111 | <li>field: Used as the source of terms. |
---|
112 | <li>distanceMeasure: Sets <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//suggest/org/apache/lucene/search/spell/DirectSpellChecker.html?is-external=true#setDistance(org.apache.lucene.search.spell.StringDistance)" title="class or interface in org.apache.lucene.search.spell"><CODE>DirectSpellChecker.setDistance(StringDistance)</CODE></A>. |
---|
113 | Note: to set the default <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//suggest/org/apache/lucene/search/spell/DirectSpellChecker.html?is-external=true#INTERNAL_LEVENSHTEIN" title="class or interface in org.apache.lucene.search.spell"><CODE>DirectSpellChecker.INTERNAL_LEVENSHTEIN</CODE></A>, use "internal". |
---|
114 | <li>accuracy: Sets <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//suggest/org/apache/lucene/search/spell/DirectSpellChecker.html?is-external=true#setAccuracy(float)" title="class or interface in org.apache.lucene.search.spell"><CODE>DirectSpellChecker.setAccuracy(float)</CODE></A>. |
---|
115 | <li>maxEdits: Sets <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//suggest/org/apache/lucene/search/spell/DirectSpellChecker.html?is-external=true#setMaxEdits(int)" title="class or interface in org.apache.lucene.search.spell"><CODE>DirectSpellChecker.setMaxEdits(int)</CODE></A>. |
---|
116 | <li>minPrefix: Sets <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//suggest/org/apache/lucene/search/spell/DirectSpellChecker.html?is-external=true#setMinPrefix(int)" title="class or interface in org.apache.lucene.search.spell"><CODE>DirectSpellChecker.setMinPrefix(int)</CODE></A>. |
---|
117 | <li>maxInspections: Sets <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//suggest/org/apache/lucene/search/spell/DirectSpellChecker.html?is-external=true#setMaxInspections(int)" title="class or interface in org.apache.lucene.search.spell"><CODE>DirectSpellChecker.setMaxInspections(int)</CODE></A>. |
---|
118 | <li>comparatorClass: Sets <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//suggest/org/apache/lucene/search/spell/DirectSpellChecker.html?is-external=true#setComparator(java.util.Comparator)" title="class or interface in org.apache.lucene.search.spell"><CODE>DirectSpellChecker.setComparator(Comparator)</CODE></A>. |
---|
119 | Note: score-then-frequency can be specified as "score" and frequency-then-score |
---|
120 | can be specified as "freq". |
---|
121 | <li>thresholdTokenFrequency: sets <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//suggest/org/apache/lucene/search/spell/DirectSpellChecker.html?is-external=true#setThresholdFrequency(float)" title="class or interface in org.apache.lucene.search.spell"><CODE>DirectSpellChecker.setThresholdFrequency(float)</CODE></A>. |
---|
122 | <li>minQueryLength: sets <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//suggest/org/apache/lucene/search/spell/DirectSpellChecker.html?is-external=true#setMinQueryLength(int)" title="class or interface in org.apache.lucene.search.spell"><CODE>DirectSpellChecker.setMinQueryLength(int)</CODE></A>. |
---|
123 | <li>maxQueryFrequency: sets <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//suggest/org/apache/lucene/search/spell/DirectSpellChecker.html?is-external=true#setMaxQueryFrequency(float)" title="class or interface in org.apache.lucene.search.spell"><CODE>DirectSpellChecker.setMaxQueryFrequency(float)</CODE></A>. |
---|
124 | </ul> |
---|
125 | <P> |
---|
126 | |
---|
127 | <P> |
---|
128 | <DL> |
---|
129 | <DT><B>See Also:</B><DD><A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//suggest/org/apache/lucene/search/spell/DirectSpellChecker.html?is-external=true" title="class or interface in org.apache.lucene.search.spell"><CODE>DirectSpellChecker</CODE></A></DL> |
---|
130 | <HR> |
---|
131 | |
---|
132 | <P> |
---|
133 | <!-- =========== FIELD SUMMARY =========== --> |
---|
134 | |
---|
135 | <A NAME="field_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>Field 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 <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> |
---|
144 | <TD><CODE><B><A HREF="../../../../org/apache/solr/spelling/DirectSolrSpellChecker.html#ACCURACY">ACCURACY</A></B></CODE> |
---|
145 | |
---|
146 | <BR> |
---|
147 | </TD> |
---|
148 | </TR> |
---|
149 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
150 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
151 | <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> |
---|
152 | <TD><CODE><B><A HREF="../../../../org/apache/solr/spelling/DirectSolrSpellChecker.html#COMPARATOR_CLASS">COMPARATOR_CLASS</A></B></CODE> |
---|
153 | |
---|
154 | <BR> |
---|
155 | </TD> |
---|
156 | </TR> |
---|
157 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
158 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
159 | <CODE>static float</CODE></FONT></TD> |
---|
160 | <TD><CODE><B><A HREF="../../../../org/apache/solr/spelling/DirectSolrSpellChecker.html#DEFAULT_ACCURACY">DEFAULT_ACCURACY</A></B></CODE> |
---|
161 | |
---|
162 | <BR> |
---|
163 | </TD> |
---|
164 | </TR> |
---|
165 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
166 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
167 | <CODE>static int</CODE></FONT></TD> |
---|
168 | <TD><CODE><B><A HREF="../../../../org/apache/solr/spelling/DirectSolrSpellChecker.html#DEFAULT_MAXEDITS">DEFAULT_MAXEDITS</A></B></CODE> |
---|
169 | |
---|
170 | <BR> |
---|
171 | </TD> |
---|
172 | </TR> |
---|
173 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
174 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
175 | <CODE>static int</CODE></FONT></TD> |
---|
176 | <TD><CODE><B><A HREF="../../../../org/apache/solr/spelling/DirectSolrSpellChecker.html#DEFAULT_MAXINSPECTIONS">DEFAULT_MAXINSPECTIONS</A></B></CODE> |
---|
177 | |
---|
178 | <BR> |
---|
179 | </TD> |
---|
180 | </TR> |
---|
181 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
182 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
183 | <CODE>static float</CODE></FONT></TD> |
---|
184 | <TD><CODE><B><A HREF="../../../../org/apache/solr/spelling/DirectSolrSpellChecker.html#DEFAULT_MAXQUERYFREQUENCY">DEFAULT_MAXQUERYFREQUENCY</A></B></CODE> |
---|
185 | |
---|
186 | <BR> |
---|
187 | </TD> |
---|
188 | </TR> |
---|
189 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
190 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
191 | <CODE>static int</CODE></FONT></TD> |
---|
192 | <TD><CODE><B><A HREF="../../../../org/apache/solr/spelling/DirectSolrSpellChecker.html#DEFAULT_MINPREFIX">DEFAULT_MINPREFIX</A></B></CODE> |
---|
193 | |
---|
194 | <BR> |
---|
195 | </TD> |
---|
196 | </TR> |
---|
197 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
198 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
199 | <CODE>static int</CODE></FONT></TD> |
---|
200 | <TD><CODE><B><A HREF="../../../../org/apache/solr/spelling/DirectSolrSpellChecker.html#DEFAULT_MINQUERYLENGTH">DEFAULT_MINQUERYLENGTH</A></B></CODE> |
---|
201 | |
---|
202 | <BR> |
---|
203 | </TD> |
---|
204 | </TR> |
---|
205 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
206 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
207 | <CODE>static float</CODE></FONT></TD> |
---|
208 | <TD><CODE><B><A HREF="../../../../org/apache/solr/spelling/DirectSolrSpellChecker.html#DEFAULT_THRESHOLD_TOKEN_FREQUENCY">DEFAULT_THRESHOLD_TOKEN_FREQUENCY</A></B></CODE> |
---|
209 | |
---|
210 | <BR> |
---|
211 | </TD> |
---|
212 | </TR> |
---|
213 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
214 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
215 | <CODE>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> |
---|
216 | <TD><CODE><B><A HREF="../../../../org/apache/solr/spelling/DirectSolrSpellChecker.html#FREQ_COMP">FREQ_COMP</A></B></CODE> |
---|
217 | |
---|
218 | <BR> |
---|
219 | </TD> |
---|
220 | </TR> |
---|
221 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
222 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
223 | <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> |
---|
224 | <TD><CODE><B><A HREF="../../../../org/apache/solr/spelling/DirectSolrSpellChecker.html#INTERNAL_DISTANCE">INTERNAL_DISTANCE</A></B></CODE> |
---|
225 | |
---|
226 | <BR> |
---|
227 | </TD> |
---|
228 | </TR> |
---|
229 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
230 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
231 | <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> |
---|
232 | <TD><CODE><B><A HREF="../../../../org/apache/solr/spelling/DirectSolrSpellChecker.html#MAXEDITS">MAXEDITS</A></B></CODE> |
---|
233 | |
---|
234 | <BR> |
---|
235 | </TD> |
---|
236 | </TR> |
---|
237 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
238 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
239 | <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> |
---|
240 | <TD><CODE><B><A HREF="../../../../org/apache/solr/spelling/DirectSolrSpellChecker.html#MAXINSPECTIONS">MAXINSPECTIONS</A></B></CODE> |
---|
241 | |
---|
242 | <BR> |
---|
243 | </TD> |
---|
244 | </TR> |
---|
245 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
246 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
247 | <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> |
---|
248 | <TD><CODE><B><A HREF="../../../../org/apache/solr/spelling/DirectSolrSpellChecker.html#MAXQUERYFREQUENCY">MAXQUERYFREQUENCY</A></B></CODE> |
---|
249 | |
---|
250 | <BR> |
---|
251 | </TD> |
---|
252 | </TR> |
---|
253 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
254 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
255 | <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> |
---|
256 | <TD><CODE><B><A HREF="../../../../org/apache/solr/spelling/DirectSolrSpellChecker.html#MINPREFIX">MINPREFIX</A></B></CODE> |
---|
257 | |
---|
258 | <BR> |
---|
259 | </TD> |
---|
260 | </TR> |
---|
261 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
262 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
263 | <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> |
---|
264 | <TD><CODE><B><A HREF="../../../../org/apache/solr/spelling/DirectSolrSpellChecker.html#MINQUERYLENGTH">MINQUERYLENGTH</A></B></CODE> |
---|
265 | |
---|
266 | <BR> |
---|
267 | </TD> |
---|
268 | </TR> |
---|
269 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
270 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
271 | <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> |
---|
272 | <TD><CODE><B><A HREF="../../../../org/apache/solr/spelling/DirectSolrSpellChecker.html#SCORE_COMP">SCORE_COMP</A></B></CODE> |
---|
273 | |
---|
274 | <BR> |
---|
275 | </TD> |
---|
276 | </TR> |
---|
277 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
278 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
279 | <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> |
---|
280 | <TD><CODE><B><A HREF="../../../../org/apache/solr/spelling/DirectSolrSpellChecker.html#STRING_DISTANCE">STRING_DISTANCE</A></B></CODE> |
---|
281 | |
---|
282 | <BR> |
---|
283 | </TD> |
---|
284 | </TR> |
---|
285 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
286 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
287 | <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> |
---|
288 | <TD><CODE><B><A HREF="../../../../org/apache/solr/spelling/DirectSolrSpellChecker.html#THRESHOLD_TOKEN_FREQUENCY">THRESHOLD_TOKEN_FREQUENCY</A></B></CODE> |
---|
289 | |
---|
290 | <BR> |
---|
291 | </TD> |
---|
292 | </TR> |
---|
293 | </TABLE> |
---|
294 | <A NAME="fields_inherited_from_class_org.apache.solr.spelling.SolrSpellChecker"><!-- --></A> |
---|
295 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
296 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
297 | <TH ALIGN="left"><B>Fields inherited from class org.apache.solr.spelling.<A HREF="../../../../org/apache/solr/spelling/SolrSpellChecker.html" title="class in org.apache.solr.spelling">SolrSpellChecker</A></B></TH> |
---|
298 | </TR> |
---|
299 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
300 | <TD><CODE><A HREF="../../../../org/apache/solr/spelling/SolrSpellChecker.html#analyzer">analyzer</A>, <A HREF="../../../../org/apache/solr/spelling/SolrSpellChecker.html#DEFAULT_DICTIONARY_NAME">DEFAULT_DICTIONARY_NAME</A>, <A HREF="../../../../org/apache/solr/spelling/SolrSpellChecker.html#DICTIONARY_NAME">DICTIONARY_NAME</A>, <A HREF="../../../../org/apache/solr/spelling/SolrSpellChecker.html#field">field</A>, <A HREF="../../../../org/apache/solr/spelling/SolrSpellChecker.html#FIELD">FIELD</A>, <A HREF="../../../../org/apache/solr/spelling/SolrSpellChecker.html#FIELD_TYPE">FIELD_TYPE</A>, <A HREF="../../../../org/apache/solr/spelling/SolrSpellChecker.html#fieldTypeName">fieldTypeName</A>, <A HREF="../../../../org/apache/solr/spelling/SolrSpellChecker.html#name">name</A></CODE></TD> |
---|
301 | </TR> |
---|
302 | </TABLE> |
---|
303 | |
---|
304 | <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
---|
305 | |
---|
306 | <A NAME="constructor_summary"><!-- --></A> |
---|
307 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
308 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
309 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
310 | <B>Constructor Summary</B></FONT></TH> |
---|
311 | </TR> |
---|
312 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
313 | <TD><CODE><B><A HREF="../../../../org/apache/solr/spelling/DirectSolrSpellChecker.html#DirectSolrSpellChecker()">DirectSolrSpellChecker</A></B>()</CODE> |
---|
314 | |
---|
315 | <BR> |
---|
316 | </TD> |
---|
317 | </TR> |
---|
318 | </TABLE> |
---|
319 | |
---|
320 | <!-- ========== METHOD SUMMARY =========== --> |
---|
321 | |
---|
322 | <A NAME="method_summary"><!-- --></A> |
---|
323 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
324 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
325 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
326 | <B>Method Summary</B></FONT></TH> |
---|
327 | </TR> |
---|
328 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
329 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
330 | <CODE> void</CODE></FONT></TD> |
---|
331 | <TD><CODE><B><A HREF="../../../../org/apache/solr/spelling/DirectSolrSpellChecker.html#build(org.apache.solr.core.SolrCore, org.apache.solr.search.SolrIndexSearcher)">build</A></B>(<A HREF="../../../../org/apache/solr/core/SolrCore.html" title="class in org.apache.solr.core">SolrCore</A> core, |
---|
332 | <A HREF="../../../../org/apache/solr/search/SolrIndexSearcher.html" title="class in org.apache.solr.search">SolrIndexSearcher</A> searcher)</CODE> |
---|
333 | |
---|
334 | <BR> |
---|
335 | (re)Builds the spelling index.</TD> |
---|
336 | </TR> |
---|
337 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
338 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
339 | <CODE> float</CODE></FONT></TD> |
---|
340 | <TD><CODE><B><A HREF="../../../../org/apache/solr/spelling/DirectSolrSpellChecker.html#getAccuracy()">getAccuracy</A></B>()</CODE> |
---|
341 | |
---|
342 | <BR> |
---|
343 | Get the value of <A HREF="../../../../org/apache/solr/common/params/SpellingParams.html#SPELLCHECK_ACCURACY"><CODE>SpellingParams.SPELLCHECK_ACCURACY</CODE></A> if supported.</TD> |
---|
344 | </TR> |
---|
345 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
346 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
347 | <CODE> <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//suggest/org/apache/lucene/search/spell/StringDistance.html?is-external=true" title="class or interface in org.apache.lucene.search.spell">StringDistance</A></CODE></FONT></TD> |
---|
348 | <TD><CODE><B><A HREF="../../../../org/apache/solr/spelling/DirectSolrSpellChecker.html#getStringDistance()">getStringDistance</A></B>()</CODE> |
---|
349 | |
---|
350 | <BR> |
---|
351 | Get the distance implementation used by this spellchecker, or NULL if not applicable.</TD> |
---|
352 | </TR> |
---|
353 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
354 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
355 | <CODE> <A HREF="../../../../org/apache/solr/spelling/SpellingResult.html" title="class in org.apache.solr.spelling">SpellingResult</A></CODE></FONT></TD> |
---|
356 | <TD><CODE><B><A HREF="../../../../org/apache/solr/spelling/DirectSolrSpellChecker.html#getSuggestions(org.apache.solr.spelling.SpellingOptions)">getSuggestions</A></B>(<A HREF="../../../../org/apache/solr/spelling/SpellingOptions.html" title="class in org.apache.solr.spelling">SpellingOptions</A> options)</CODE> |
---|
357 | |
---|
358 | <BR> |
---|
359 | Get suggestions for the given query.</TD> |
---|
360 | </TR> |
---|
361 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
362 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
363 | <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> |
---|
364 | <TD><CODE><B><A HREF="../../../../org/apache/solr/spelling/DirectSolrSpellChecker.html#init(org.apache.solr.common.util.NamedList, org.apache.solr.core.SolrCore)">init</A></B>(<A HREF="../../../../org/apache/solr/common/util/NamedList.html" title="class in org.apache.solr.common.util">NamedList</A> config, |
---|
365 | <A HREF="../../../../org/apache/solr/core/SolrCore.html" title="class in org.apache.solr.core">SolrCore</A> core)</CODE> |
---|
366 | |
---|
367 | <BR> |
---|
368 | </TD> |
---|
369 | </TR> |
---|
370 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
371 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
372 | <CODE> void</CODE></FONT></TD> |
---|
373 | <TD><CODE><B><A HREF="../../../../org/apache/solr/spelling/DirectSolrSpellChecker.html#reload(org.apache.solr.core.SolrCore, org.apache.solr.search.SolrIndexSearcher)">reload</A></B>(<A HREF="../../../../org/apache/solr/core/SolrCore.html" title="class in org.apache.solr.core">SolrCore</A> core, |
---|
374 | <A HREF="../../../../org/apache/solr/search/SolrIndexSearcher.html" title="class in org.apache.solr.search">SolrIndexSearcher</A> searcher)</CODE> |
---|
375 | |
---|
376 | <BR> |
---|
377 | Reloads the index.</TD> |
---|
378 | </TR> |
---|
379 | </TABLE> |
---|
380 | <A NAME="methods_inherited_from_class_org.apache.solr.spelling.SolrSpellChecker"><!-- --></A> |
---|
381 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
382 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
383 | <TH ALIGN="left"><B>Methods inherited from class org.apache.solr.spelling.<A HREF="../../../../org/apache/solr/spelling/SolrSpellChecker.html" title="class in org.apache.solr.spelling">SolrSpellChecker</A></B></TH> |
---|
384 | </TR> |
---|
385 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
386 | <TD><CODE><A HREF="../../../../org/apache/solr/spelling/SolrSpellChecker.html#getDictionaryName()">getDictionaryName</A>, <A HREF="../../../../org/apache/solr/spelling/SolrSpellChecker.html#getQueryAnalyzer()">getQueryAnalyzer</A>, <A HREF="../../../../org/apache/solr/spelling/SolrSpellChecker.html#isSuggestionsMayOverlap()">isSuggestionsMayOverlap</A>, <A HREF="../../../../org/apache/solr/spelling/SolrSpellChecker.html#mergeSuggestions(org.apache.solr.handler.component.SpellCheckMergeData, int, int, boolean)">mergeSuggestions</A></CODE></TD> |
---|
387 | </TR> |
---|
388 | </TABLE> |
---|
389 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
---|
390 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
391 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
392 | <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> |
---|
393 | </TR> |
---|
394 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
395 | <TD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD> |
---|
396 | </TR> |
---|
397 | </TABLE> |
---|
398 | |
---|
399 | <P> |
---|
400 | |
---|
401 | <!-- ============ FIELD DETAIL =========== --> |
---|
402 | |
---|
403 | <A NAME="field_detail"><!-- --></A> |
---|
404 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
405 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
406 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
407 | <B>Field Detail</B></FONT></TH> |
---|
408 | </TR> |
---|
409 | </TABLE> |
---|
410 | |
---|
411 | <A NAME="COMPARATOR_CLASS"><!-- --></A><H3> |
---|
412 | COMPARATOR_CLASS</H3> |
---|
413 | <PRE> |
---|
414 | public static final <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>COMPARATOR_CLASS</B></PRE> |
---|
415 | <DL> |
---|
416 | <DL> |
---|
417 | <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.solr.spelling.DirectSolrSpellChecker.COMPARATOR_CLASS">Constant Field Values</A></DL> |
---|
418 | </DL> |
---|
419 | <HR> |
---|
420 | |
---|
421 | <A NAME="SCORE_COMP"><!-- --></A><H3> |
---|
422 | SCORE_COMP</H3> |
---|
423 | <PRE> |
---|
424 | public static final <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>SCORE_COMP</B></PRE> |
---|
425 | <DL> |
---|
426 | <DL> |
---|
427 | <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.solr.spelling.DirectSolrSpellChecker.SCORE_COMP">Constant Field Values</A></DL> |
---|
428 | </DL> |
---|
429 | <HR> |
---|
430 | |
---|
431 | <A NAME="FREQ_COMP"><!-- --></A><H3> |
---|
432 | FREQ_COMP</H3> |
---|
433 | <PRE> |
---|
434 | public static final <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>FREQ_COMP</B></PRE> |
---|
435 | <DL> |
---|
436 | <DL> |
---|
437 | <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.solr.spelling.DirectSolrSpellChecker.FREQ_COMP">Constant Field Values</A></DL> |
---|
438 | </DL> |
---|
439 | <HR> |
---|
440 | |
---|
441 | <A NAME="STRING_DISTANCE"><!-- --></A><H3> |
---|
442 | STRING_DISTANCE</H3> |
---|
443 | <PRE> |
---|
444 | public static final <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>STRING_DISTANCE</B></PRE> |
---|
445 | <DL> |
---|
446 | <DL> |
---|
447 | <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.solr.spelling.DirectSolrSpellChecker.STRING_DISTANCE">Constant Field Values</A></DL> |
---|
448 | </DL> |
---|
449 | <HR> |
---|
450 | |
---|
451 | <A NAME="ACCURACY"><!-- --></A><H3> |
---|
452 | ACCURACY</H3> |
---|
453 | <PRE> |
---|
454 | public static final <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>ACCURACY</B></PRE> |
---|
455 | <DL> |
---|
456 | <DL> |
---|
457 | <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.solr.spelling.DirectSolrSpellChecker.ACCURACY">Constant Field Values</A></DL> |
---|
458 | </DL> |
---|
459 | <HR> |
---|
460 | |
---|
461 | <A NAME="THRESHOLD_TOKEN_FREQUENCY"><!-- --></A><H3> |
---|
462 | THRESHOLD_TOKEN_FREQUENCY</H3> |
---|
463 | <PRE> |
---|
464 | public static final <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>THRESHOLD_TOKEN_FREQUENCY</B></PRE> |
---|
465 | <DL> |
---|
466 | <DL> |
---|
467 | <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.solr.spelling.DirectSolrSpellChecker.THRESHOLD_TOKEN_FREQUENCY">Constant Field Values</A></DL> |
---|
468 | </DL> |
---|
469 | <HR> |
---|
470 | |
---|
471 | <A NAME="INTERNAL_DISTANCE"><!-- --></A><H3> |
---|
472 | INTERNAL_DISTANCE</H3> |
---|
473 | <PRE> |
---|
474 | public static final <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>INTERNAL_DISTANCE</B></PRE> |
---|
475 | <DL> |
---|
476 | <DL> |
---|
477 | <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.solr.spelling.DirectSolrSpellChecker.INTERNAL_DISTANCE">Constant Field Values</A></DL> |
---|
478 | </DL> |
---|
479 | <HR> |
---|
480 | |
---|
481 | <A NAME="DEFAULT_ACCURACY"><!-- --></A><H3> |
---|
482 | DEFAULT_ACCURACY</H3> |
---|
483 | <PRE> |
---|
484 | public static final float <B>DEFAULT_ACCURACY</B></PRE> |
---|
485 | <DL> |
---|
486 | <DL> |
---|
487 | <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.solr.spelling.DirectSolrSpellChecker.DEFAULT_ACCURACY">Constant Field Values</A></DL> |
---|
488 | </DL> |
---|
489 | <HR> |
---|
490 | |
---|
491 | <A NAME="DEFAULT_THRESHOLD_TOKEN_FREQUENCY"><!-- --></A><H3> |
---|
492 | DEFAULT_THRESHOLD_TOKEN_FREQUENCY</H3> |
---|
493 | <PRE> |
---|
494 | public static final float <B>DEFAULT_THRESHOLD_TOKEN_FREQUENCY</B></PRE> |
---|
495 | <DL> |
---|
496 | <DL> |
---|
497 | <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.solr.spelling.DirectSolrSpellChecker.DEFAULT_THRESHOLD_TOKEN_FREQUENCY">Constant Field Values</A></DL> |
---|
498 | </DL> |
---|
499 | <HR> |
---|
500 | |
---|
501 | <A NAME="MAXEDITS"><!-- --></A><H3> |
---|
502 | MAXEDITS</H3> |
---|
503 | <PRE> |
---|
504 | public static final <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>MAXEDITS</B></PRE> |
---|
505 | <DL> |
---|
506 | <DL> |
---|
507 | <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.solr.spelling.DirectSolrSpellChecker.MAXEDITS">Constant Field Values</A></DL> |
---|
508 | </DL> |
---|
509 | <HR> |
---|
510 | |
---|
511 | <A NAME="DEFAULT_MAXEDITS"><!-- --></A><H3> |
---|
512 | DEFAULT_MAXEDITS</H3> |
---|
513 | <PRE> |
---|
514 | public static final int <B>DEFAULT_MAXEDITS</B></PRE> |
---|
515 | <DL> |
---|
516 | <DL> |
---|
517 | <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.solr.spelling.DirectSolrSpellChecker.DEFAULT_MAXEDITS">Constant Field Values</A></DL> |
---|
518 | </DL> |
---|
519 | <HR> |
---|
520 | |
---|
521 | <A NAME="MINPREFIX"><!-- --></A><H3> |
---|
522 | MINPREFIX</H3> |
---|
523 | <PRE> |
---|
524 | public static final <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>MINPREFIX</B></PRE> |
---|
525 | <DL> |
---|
526 | <DL> |
---|
527 | <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.solr.spelling.DirectSolrSpellChecker.MINPREFIX">Constant Field Values</A></DL> |
---|
528 | </DL> |
---|
529 | <HR> |
---|
530 | |
---|
531 | <A NAME="DEFAULT_MINPREFIX"><!-- --></A><H3> |
---|
532 | DEFAULT_MINPREFIX</H3> |
---|
533 | <PRE> |
---|
534 | public static final int <B>DEFAULT_MINPREFIX</B></PRE> |
---|
535 | <DL> |
---|
536 | <DL> |
---|
537 | <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.solr.spelling.DirectSolrSpellChecker.DEFAULT_MINPREFIX">Constant Field Values</A></DL> |
---|
538 | </DL> |
---|
539 | <HR> |
---|
540 | |
---|
541 | <A NAME="MAXINSPECTIONS"><!-- --></A><H3> |
---|
542 | MAXINSPECTIONS</H3> |
---|
543 | <PRE> |
---|
544 | public static final <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>MAXINSPECTIONS</B></PRE> |
---|
545 | <DL> |
---|
546 | <DL> |
---|
547 | <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.solr.spelling.DirectSolrSpellChecker.MAXINSPECTIONS">Constant Field Values</A></DL> |
---|
548 | </DL> |
---|
549 | <HR> |
---|
550 | |
---|
551 | <A NAME="DEFAULT_MAXINSPECTIONS"><!-- --></A><H3> |
---|
552 | DEFAULT_MAXINSPECTIONS</H3> |
---|
553 | <PRE> |
---|
554 | public static final int <B>DEFAULT_MAXINSPECTIONS</B></PRE> |
---|
555 | <DL> |
---|
556 | <DL> |
---|
557 | <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.solr.spelling.DirectSolrSpellChecker.DEFAULT_MAXINSPECTIONS">Constant Field Values</A></DL> |
---|
558 | </DL> |
---|
559 | <HR> |
---|
560 | |
---|
561 | <A NAME="MINQUERYLENGTH"><!-- --></A><H3> |
---|
562 | MINQUERYLENGTH</H3> |
---|
563 | <PRE> |
---|
564 | public static final <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>MINQUERYLENGTH</B></PRE> |
---|
565 | <DL> |
---|
566 | <DL> |
---|
567 | <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.solr.spelling.DirectSolrSpellChecker.MINQUERYLENGTH">Constant Field Values</A></DL> |
---|
568 | </DL> |
---|
569 | <HR> |
---|
570 | |
---|
571 | <A NAME="DEFAULT_MINQUERYLENGTH"><!-- --></A><H3> |
---|
572 | DEFAULT_MINQUERYLENGTH</H3> |
---|
573 | <PRE> |
---|
574 | public static final int <B>DEFAULT_MINQUERYLENGTH</B></PRE> |
---|
575 | <DL> |
---|
576 | <DL> |
---|
577 | <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.solr.spelling.DirectSolrSpellChecker.DEFAULT_MINQUERYLENGTH">Constant Field Values</A></DL> |
---|
578 | </DL> |
---|
579 | <HR> |
---|
580 | |
---|
581 | <A NAME="MAXQUERYFREQUENCY"><!-- --></A><H3> |
---|
582 | MAXQUERYFREQUENCY</H3> |
---|
583 | <PRE> |
---|
584 | public static final <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>MAXQUERYFREQUENCY</B></PRE> |
---|
585 | <DL> |
---|
586 | <DL> |
---|
587 | <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.solr.spelling.DirectSolrSpellChecker.MAXQUERYFREQUENCY">Constant Field Values</A></DL> |
---|
588 | </DL> |
---|
589 | <HR> |
---|
590 | |
---|
591 | <A NAME="DEFAULT_MAXQUERYFREQUENCY"><!-- --></A><H3> |
---|
592 | DEFAULT_MAXQUERYFREQUENCY</H3> |
---|
593 | <PRE> |
---|
594 | public static final float <B>DEFAULT_MAXQUERYFREQUENCY</B></PRE> |
---|
595 | <DL> |
---|
596 | <DL> |
---|
597 | <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.solr.spelling.DirectSolrSpellChecker.DEFAULT_MAXQUERYFREQUENCY">Constant Field Values</A></DL> |
---|
598 | </DL> |
---|
599 | |
---|
600 | <!-- ========= CONSTRUCTOR DETAIL ======== --> |
---|
601 | |
---|
602 | <A NAME="constructor_detail"><!-- --></A> |
---|
603 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
604 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
605 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
606 | <B>Constructor Detail</B></FONT></TH> |
---|
607 | </TR> |
---|
608 | </TABLE> |
---|
609 | |
---|
610 | <A NAME="DirectSolrSpellChecker()"><!-- --></A><H3> |
---|
611 | DirectSolrSpellChecker</H3> |
---|
612 | <PRE> |
---|
613 | public <B>DirectSolrSpellChecker</B>()</PRE> |
---|
614 | <DL> |
---|
615 | </DL> |
---|
616 | |
---|
617 | <!-- ============ METHOD DETAIL ========== --> |
---|
618 | |
---|
619 | <A NAME="method_detail"><!-- --></A> |
---|
620 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
621 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
622 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
623 | <B>Method Detail</B></FONT></TH> |
---|
624 | </TR> |
---|
625 | </TABLE> |
---|
626 | |
---|
627 | <A NAME="init(org.apache.solr.common.util.NamedList, org.apache.solr.core.SolrCore)"><!-- --></A><H3> |
---|
628 | init</H3> |
---|
629 | <PRE> |
---|
630 | 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>init</B>(<A HREF="../../../../org/apache/solr/common/util/NamedList.html" title="class in org.apache.solr.common.util">NamedList</A> config, |
---|
631 | <A HREF="../../../../org/apache/solr/core/SolrCore.html" title="class in org.apache.solr.core">SolrCore</A> core)</PRE> |
---|
632 | <DL> |
---|
633 | <DD><DL> |
---|
634 | <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/apache/solr/spelling/SolrSpellChecker.html#init(org.apache.solr.common.util.NamedList, org.apache.solr.core.SolrCore)">init</A></CODE> in class <CODE><A HREF="../../../../org/apache/solr/spelling/SolrSpellChecker.html" title="class in org.apache.solr.spelling">SolrSpellChecker</A></CODE></DL> |
---|
635 | </DD> |
---|
636 | <DD><DL> |
---|
637 | </DL> |
---|
638 | </DD> |
---|
639 | </DL> |
---|
640 | <HR> |
---|
641 | |
---|
642 | <A NAME="reload(org.apache.solr.core.SolrCore, org.apache.solr.search.SolrIndexSearcher)"><!-- --></A><H3> |
---|
643 | reload</H3> |
---|
644 | <PRE> |
---|
645 | public void <B>reload</B>(<A HREF="../../../../org/apache/solr/core/SolrCore.html" title="class in org.apache.solr.core">SolrCore</A> core, |
---|
646 | <A HREF="../../../../org/apache/solr/search/SolrIndexSearcher.html" title="class in org.apache.solr.search">SolrIndexSearcher</A> searcher) |
---|
647 | 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> |
---|
648 | <DL> |
---|
649 | <DD><B>Description copied from class: <CODE><A HREF="../../../../org/apache/solr/spelling/SolrSpellChecker.html#reload(org.apache.solr.core.SolrCore, org.apache.solr.search.SolrIndexSearcher)">SolrSpellChecker</A></CODE></B></DD> |
---|
650 | <DD>Reloads the index. Useful if an external process is responsible for building the spell checker. |
---|
651 | <P> |
---|
652 | <DD><DL> |
---|
653 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/solr/spelling/SolrSpellChecker.html#reload(org.apache.solr.core.SolrCore, org.apache.solr.search.SolrIndexSearcher)">reload</A></CODE> in class <CODE><A HREF="../../../../org/apache/solr/spelling/SolrSpellChecker.html" title="class in org.apache.solr.spelling">SolrSpellChecker</A></CODE></DL> |
---|
654 | </DD> |
---|
655 | <DD><DL> |
---|
656 | |
---|
657 | <DT><B>Throws:</B> |
---|
658 | <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> |
---|
659 | </DD> |
---|
660 | </DL> |
---|
661 | <HR> |
---|
662 | |
---|
663 | <A NAME="build(org.apache.solr.core.SolrCore, org.apache.solr.search.SolrIndexSearcher)"><!-- --></A><H3> |
---|
664 | build</H3> |
---|
665 | <PRE> |
---|
666 | public void <B>build</B>(<A HREF="../../../../org/apache/solr/core/SolrCore.html" title="class in org.apache.solr.core">SolrCore</A> core, |
---|
667 | <A HREF="../../../../org/apache/solr/search/SolrIndexSearcher.html" title="class in org.apache.solr.search">SolrIndexSearcher</A> searcher)</PRE> |
---|
668 | <DL> |
---|
669 | <DD><B>Description copied from class: <CODE><A HREF="../../../../org/apache/solr/spelling/SolrSpellChecker.html#build(org.apache.solr.core.SolrCore, org.apache.solr.search.SolrIndexSearcher)">SolrSpellChecker</A></CODE></B></DD> |
---|
670 | <DD>(re)Builds the spelling index. May be a NOOP if the implementation doesn't require building, or can't be rebuilt. |
---|
671 | <P> |
---|
672 | <DD><DL> |
---|
673 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/solr/spelling/SolrSpellChecker.html#build(org.apache.solr.core.SolrCore, org.apache.solr.search.SolrIndexSearcher)">build</A></CODE> in class <CODE><A HREF="../../../../org/apache/solr/spelling/SolrSpellChecker.html" title="class in org.apache.solr.spelling">SolrSpellChecker</A></CODE></DL> |
---|
674 | </DD> |
---|
675 | <DD><DL> |
---|
676 | </DL> |
---|
677 | </DD> |
---|
678 | </DL> |
---|
679 | <HR> |
---|
680 | |
---|
681 | <A NAME="getSuggestions(org.apache.solr.spelling.SpellingOptions)"><!-- --></A><H3> |
---|
682 | getSuggestions</H3> |
---|
683 | <PRE> |
---|
684 | public <A HREF="../../../../org/apache/solr/spelling/SpellingResult.html" title="class in org.apache.solr.spelling">SpellingResult</A> <B>getSuggestions</B>(<A HREF="../../../../org/apache/solr/spelling/SpellingOptions.html" title="class in org.apache.solr.spelling">SpellingOptions</A> options) |
---|
685 | 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> |
---|
686 | <DL> |
---|
687 | <DD><B>Description copied from class: <CODE><A HREF="../../../../org/apache/solr/spelling/SolrSpellChecker.html#getSuggestions(org.apache.solr.spelling.SpellingOptions)">SolrSpellChecker</A></CODE></B></DD> |
---|
688 | <DD>Get suggestions for the given query. Tokenizes the query using a field appropriate Analyzer. |
---|
689 | The <A HREF="../../../../org/apache/solr/spelling/SpellingResult.html#getSuggestions()"><CODE>SpellingResult.getSuggestions()</CODE></A> suggestions must be ordered by best suggestion first. |
---|
690 | <p/> |
---|
691 | <P> |
---|
692 | <DD><DL> |
---|
693 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/solr/spelling/SolrSpellChecker.html#getSuggestions(org.apache.solr.spelling.SpellingOptions)">getSuggestions</A></CODE> in class <CODE><A HREF="../../../../org/apache/solr/spelling/SolrSpellChecker.html" title="class in org.apache.solr.spelling">SolrSpellChecker</A></CODE></DL> |
---|
694 | </DD> |
---|
695 | <DD><DL> |
---|
696 | <DT><B>Parameters:</B><DD><CODE>options</CODE> - The <A HREF="../../../../org/apache/solr/spelling/SpellingOptions.html" title="class in org.apache.solr.spelling"><CODE>SpellingOptions</CODE></A> to use |
---|
697 | <DT><B>Returns:</B><DD>The <A HREF="../../../../org/apache/solr/spelling/SpellingResult.html" title="class in org.apache.solr.spelling"><CODE>SpellingResult</CODE></A> suggestions |
---|
698 | <DT><B>Throws:</B> |
---|
699 | <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> - if there is an error producing suggestions</DL> |
---|
700 | </DD> |
---|
701 | </DL> |
---|
702 | <HR> |
---|
703 | |
---|
704 | <A NAME="getAccuracy()"><!-- --></A><H3> |
---|
705 | getAccuracy</H3> |
---|
706 | <PRE> |
---|
707 | public float <B>getAccuracy</B>()</PRE> |
---|
708 | <DL> |
---|
709 | <DD><B>Description copied from class: <CODE><A HREF="../../../../org/apache/solr/spelling/SolrSpellChecker.html#getAccuracy()">SolrSpellChecker</A></CODE></B></DD> |
---|
710 | <DD>Get the value of <A HREF="../../../../org/apache/solr/common/params/SpellingParams.html#SPELLCHECK_ACCURACY"><CODE>SpellingParams.SPELLCHECK_ACCURACY</CODE></A> if supported. |
---|
711 | Otherwise throws UnsupportedOperationException. |
---|
712 | <P> |
---|
713 | <DD><DL> |
---|
714 | <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/apache/solr/spelling/SolrSpellChecker.html#getAccuracy()">getAccuracy</A></CODE> in class <CODE><A HREF="../../../../org/apache/solr/spelling/SolrSpellChecker.html" title="class in org.apache.solr.spelling">SolrSpellChecker</A></CODE></DL> |
---|
715 | </DD> |
---|
716 | <DD><DL> |
---|
717 | </DL> |
---|
718 | </DD> |
---|
719 | </DL> |
---|
720 | <HR> |
---|
721 | |
---|
722 | <A NAME="getStringDistance()"><!-- --></A><H3> |
---|
723 | getStringDistance</H3> |
---|
724 | <PRE> |
---|
725 | public <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//suggest/org/apache/lucene/search/spell/StringDistance.html?is-external=true" title="class or interface in org.apache.lucene.search.spell">StringDistance</A> <B>getStringDistance</B>()</PRE> |
---|
726 | <DL> |
---|
727 | <DD><B>Description copied from class: <CODE><A HREF="../../../../org/apache/solr/spelling/SolrSpellChecker.html#getStringDistance()">SolrSpellChecker</A></CODE></B></DD> |
---|
728 | <DD>Get the distance implementation used by this spellchecker, or NULL if not applicable. |
---|
729 | <P> |
---|
730 | <DD><DL> |
---|
731 | <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/apache/solr/spelling/SolrSpellChecker.html#getStringDistance()">getStringDistance</A></CODE> in class <CODE><A HREF="../../../../org/apache/solr/spelling/SolrSpellChecker.html" title="class in org.apache.solr.spelling">SolrSpellChecker</A></CODE></DL> |
---|
732 | </DD> |
---|
733 | <DD><DL> |
---|
734 | </DL> |
---|
735 | </DD> |
---|
736 | </DL> |
---|
737 | <!-- ========= END OF CLASS DATA ========= --> |
---|
738 | <HR> |
---|
739 | |
---|
740 | |
---|
741 | <!-- ======= START OF BOTTOM NAVBAR ====== --> |
---|
742 | <A NAME="navbar_bottom"><!-- --></A> |
---|
743 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
---|
744 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
---|
745 | <TR> |
---|
746 | <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
---|
747 | <A NAME="navbar_bottom_firstrow"><!-- --></A> |
---|
748 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
---|
749 | <TR ALIGN="center" VALIGN="top"> |
---|
750 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
---|
751 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
---|
752 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
---|
753 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/DirectSolrSpellChecker.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
---|
754 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
---|
755 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
---|
756 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
---|
757 | </TR> |
---|
758 | </TABLE> |
---|
759 | </TD> |
---|
760 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
---|
761 | </EM> |
---|
762 | </TD> |
---|
763 | </TR> |
---|
764 | |
---|
765 | <TR> |
---|
766 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
767 | <A HREF="../../../../org/apache/solr/spelling/ConjunctionSolrSpellChecker.html" title="class in org.apache.solr.spelling"><B>PREV CLASS</B></A> |
---|
768 | <A HREF="../../../../org/apache/solr/spelling/FileBasedSpellChecker.html" title="class in org.apache.solr.spelling"><B>NEXT CLASS</B></A></FONT></TD> |
---|
769 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
770 | <A HREF="../../../../index.html?org/apache/solr/spelling/DirectSolrSpellChecker.html" target="_top"><B>FRAMES</B></A> |
---|
771 | <A HREF="DirectSolrSpellChecker.html" target="_top"><B>NO FRAMES</B></A> |
---|
772 | <SCRIPT type="text/javascript"> |
---|
773 | <!-- |
---|
774 | if(window==top) { |
---|
775 | document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
---|
776 | } |
---|
777 | //--> |
---|
778 | </SCRIPT> |
---|
779 | <NOSCRIPT> |
---|
780 | <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> |
---|
781 | </NOSCRIPT> |
---|
782 | |
---|
783 | |
---|
784 | </FONT></TD> |
---|
785 | </TR> |
---|
786 | <TR> |
---|
787 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
788 | SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
---|
789 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
790 | DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
---|
791 | </TR> |
---|
792 | </TABLE> |
---|
793 | <A NAME="skip-navbar_bottom"></A> |
---|
794 | <!-- ======== END OF BOTTOM NAVBAR ======= --> |
---|
795 | |
---|
796 | <HR> |
---|
797 | |
---|
798 | <address>Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.</address> |
---|
799 | <script src='../../../../prettify.js' type='text/javascript'></script> |
---|
800 | <script type='text/javascript'> |
---|
801 | (function(){ |
---|
802 | var oldonload = window.onload; |
---|
803 | if (typeof oldonload != 'function') { |
---|
804 | window.onload = prettyPrint; |
---|
805 | } else { |
---|
806 | window.onload = function() { |
---|
807 | oldonload(); |
---|
808 | prettyPrint(); |
---|
809 | } |
---|
810 | } |
---|
811 | })(); |
---|
812 | </script> |
---|
813 | |
---|
814 | </BODY> |
---|
815 | </HTML> |
---|