[7588] | 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 | WordBreakSolrSpellChecker (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="WordBreakSolrSpellChecker (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/WordBreakSolrSpellChecker.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/SuggestQueryConverter.html" title="class in org.apache.solr.spelling"><B>PREV CLASS</B></A> |
---|
| 59 | <A HREF="../../../../org/apache/solr/spelling/WordBreakSolrSpellChecker.BreakSuggestionTieBreaker.html" title="enum 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/WordBreakSolrSpellChecker.html" target="_top"><B>FRAMES</B></A> |
---|
| 62 | <A HREF="WordBreakSolrSpellChecker.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.spelling</FONT> |
---|
| 92 | <BR> |
---|
| 93 | Class WordBreakSolrSpellChecker</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.WordBreakSolrSpellChecker</B> |
---|
| 98 | </PRE> |
---|
| 99 | <HR> |
---|
| 100 | <DL> |
---|
| 101 | <DT><PRE>public class <B>WordBreakSolrSpellChecker</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 | <p> |
---|
| 106 | A spellchecker that breaks and combines words. |
---|
| 107 | </p> |
---|
| 108 | <p> |
---|
| 109 | This will not combine adjacent tokens that do not have |
---|
| 110 | the same required status (prohibited, required, optional). |
---|
| 111 | However, this feature depends on incoming term flags |
---|
| 112 | being properly set. (<A HREF="../../../../org/apache/solr/spelling/QueryConverter.html#PROHIBITED_TERM_FLAG"><CODE>QueryConverter.PROHIBITED_TERM_FLAG</CODE></A>, |
---|
| 113 | <A HREF="../../../../org/apache/solr/spelling/QueryConverter.html#REQUIRED_TERM_FLAG"><CODE>QueryConverter.REQUIRED_TERM_FLAG</CODE></A>, |
---|
| 114 | <A HREF="../../../../org/apache/solr/spelling/QueryConverter.html#TERM_IN_BOOLEAN_QUERY_FLAG"><CODE>QueryConverter.TERM_IN_BOOLEAN_QUERY_FLAG</CODE></A>, and |
---|
| 115 | <A HREF="../../../../org/apache/solr/spelling/QueryConverter.html#TERM_PRECEDES_NEW_BOOLEAN_OPERATOR_FLAG"><CODE>QueryConverter.TERM_PRECEDES_NEW_BOOLEAN_OPERATOR_FLAG</CODE></A> ) |
---|
| 116 | This feature breaks completely if the upstream analyzer or query |
---|
| 117 | converter sets flags with the same values but different meanings. |
---|
| 118 | The default query converter (if not using "spellcheck.q") |
---|
| 119 | is <A HREF="../../../../org/apache/solr/spelling/SpellingQueryConverter.html" title="class in org.apache.solr.spelling"><CODE>SpellingQueryConverter</CODE></A>, which properly sets these flags. |
---|
| 120 | </p> |
---|
| 121 | <P> |
---|
| 122 | |
---|
| 123 | <P> |
---|
| 124 | <HR> |
---|
| 125 | |
---|
| 126 | <P> |
---|
| 127 | <!-- ======== NESTED CLASS SUMMARY ======== --> |
---|
| 128 | |
---|
| 129 | <A NAME="nested_class_summary"><!-- --></A> |
---|
| 130 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 131 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 132 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
| 133 | <B>Nested Class Summary</B></FONT></TH> |
---|
| 134 | </TR> |
---|
| 135 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 136 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 137 | <CODE>static class</CODE></FONT></TD> |
---|
| 138 | <TD><CODE><B><A HREF="../../../../org/apache/solr/spelling/WordBreakSolrSpellChecker.BreakSuggestionTieBreaker.html" title="enum in org.apache.solr.spelling">WordBreakSolrSpellChecker.BreakSuggestionTieBreaker</A></B></CODE> |
---|
| 139 | |
---|
| 140 | <BR> |
---|
| 141 | |
---|
| 142 | Specify a value on the "breakSugestionTieBreaker" parameter.</TD> |
---|
| 143 | </TR> |
---|
| 144 | </TABLE> |
---|
| 145 | <!-- =========== FIELD SUMMARY =========== --> |
---|
| 146 | |
---|
| 147 | <A NAME="field_summary"><!-- --></A> |
---|
| 148 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 149 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 150 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
| 151 | <B>Field Summary</B></FONT></TH> |
---|
| 152 | </TR> |
---|
| 153 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 154 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 155 | <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> |
---|
| 156 | <TD><CODE><B><A HREF="../../../../org/apache/solr/spelling/WordBreakSolrSpellChecker.html#PARAM_BREAK_SUGGESTION_TIE_BREAKER">PARAM_BREAK_SUGGESTION_TIE_BREAKER</A></B></CODE> |
---|
| 157 | |
---|
| 158 | <BR> |
---|
| 159 | See <A HREF="../../../../org/apache/solr/spelling/WordBreakSolrSpellChecker.BreakSuggestionTieBreaker.html" title="enum in org.apache.solr.spelling"><CODE>WordBreakSolrSpellChecker.BreakSuggestionTieBreaker</CODE></A> for options.</TD> |
---|
| 160 | </TR> |
---|
| 161 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 162 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 163 | <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> |
---|
| 164 | <TD><CODE><B><A HREF="../../../../org/apache/solr/spelling/WordBreakSolrSpellChecker.html#PARAM_BREAK_WORDS">PARAM_BREAK_WORDS</A></B></CODE> |
---|
| 165 | |
---|
| 166 | <BR> |
---|
| 167 | |
---|
| 168 | Try to break words into multiples? [true|false]</TD> |
---|
| 169 | </TR> |
---|
| 170 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 171 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 172 | <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> |
---|
| 173 | <TD><CODE><B><A HREF="../../../../org/apache/solr/spelling/WordBreakSolrSpellChecker.html#PARAM_COMBINE_WORDS">PARAM_COMBINE_WORDS</A></B></CODE> |
---|
| 174 | |
---|
| 175 | <BR> |
---|
| 176 | |
---|
| 177 | Try to combine multiple words into one? [true|false]</TD> |
---|
| 178 | </TR> |
---|
| 179 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 180 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 181 | <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> |
---|
| 182 | <TD><CODE><B><A HREF="../../../../org/apache/solr/spelling/WordBreakSolrSpellChecker.html#PARAM_MAX_CHANGES">PARAM_MAX_CHANGES</A></B></CODE> |
---|
| 183 | |
---|
| 184 | <BR> |
---|
| 185 | See <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//suggest/org/apache/lucene/search/spell/WordBreakSpellChecker.html?is-external=true#setMaxChanges(int)" title="class or interface in org.apache.lucene.search.spell"><CODE>WordBreakSpellChecker.setMaxChanges(int)</CODE></A></TD> |
---|
| 186 | </TR> |
---|
| 187 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 188 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 189 | <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> |
---|
| 190 | <TD><CODE><B><A HREF="../../../../org/apache/solr/spelling/WordBreakSolrSpellChecker.html#PARAM_MAX_COMBINE_WORD_LENGTH">PARAM_MAX_COMBINE_WORD_LENGTH</A></B></CODE> |
---|
| 191 | |
---|
| 192 | <BR> |
---|
| 193 | See <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//suggest/org/apache/lucene/search/spell/WordBreakSpellChecker.html?is-external=true#setMaxCombineWordLength(int)" title="class or interface in org.apache.lucene.search.spell"><CODE>WordBreakSpellChecker.setMaxCombineWordLength(int)</CODE></A></TD> |
---|
| 194 | </TR> |
---|
| 195 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 196 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 197 | <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> |
---|
| 198 | <TD><CODE><B><A HREF="../../../../org/apache/solr/spelling/WordBreakSolrSpellChecker.html#PARAM_MAX_EVALUATIONS">PARAM_MAX_EVALUATIONS</A></B></CODE> |
---|
| 199 | |
---|
| 200 | <BR> |
---|
| 201 | See <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//suggest/org/apache/lucene/search/spell/WordBreakSpellChecker.html?is-external=true#setMaxEvaluations(int)" title="class or interface in org.apache.lucene.search.spell"><CODE>WordBreakSpellChecker.setMaxEvaluations(int)</CODE></A></TD> |
---|
| 202 | </TR> |
---|
| 203 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 204 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 205 | <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> |
---|
| 206 | <TD><CODE><B><A HREF="../../../../org/apache/solr/spelling/WordBreakSolrSpellChecker.html#PARAM_MIN_BREAK_WORD_LENGTH">PARAM_MIN_BREAK_WORD_LENGTH</A></B></CODE> |
---|
| 207 | |
---|
| 208 | <BR> |
---|
| 209 | See <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//suggest/org/apache/lucene/search/spell/WordBreakSpellChecker.html?is-external=true#setMinBreakWordLength(int)" title="class or interface in org.apache.lucene.search.spell"><CODE>WordBreakSpellChecker.setMinBreakWordLength(int)</CODE></A></TD> |
---|
| 210 | </TR> |
---|
| 211 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 212 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 213 | <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> |
---|
| 214 | <TD><CODE><B><A HREF="../../../../org/apache/solr/spelling/WordBreakSolrSpellChecker.html#PARAM_MIN_SUGGESTION_FREQUENCY">PARAM_MIN_SUGGESTION_FREQUENCY</A></B></CODE> |
---|
| 215 | |
---|
| 216 | <BR> |
---|
| 217 | See <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//suggest/org/apache/lucene/search/spell/WordBreakSpellChecker.html?is-external=true#setMinSuggestionFrequency(int)" title="class or interface in org.apache.lucene.search.spell"><CODE>WordBreakSpellChecker.setMinSuggestionFrequency(int)</CODE></A></TD> |
---|
| 218 | </TR> |
---|
| 219 | </TABLE> |
---|
| 220 | <A NAME="fields_inherited_from_class_org.apache.solr.spelling.SolrSpellChecker"><!-- --></A> |
---|
| 221 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 222 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
| 223 | <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> |
---|
| 224 | </TR> |
---|
| 225 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 226 | <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> |
---|
| 227 | </TR> |
---|
| 228 | </TABLE> |
---|
| 229 | |
---|
| 230 | <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
---|
| 231 | |
---|
| 232 | <A NAME="constructor_summary"><!-- --></A> |
---|
| 233 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 234 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 235 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
| 236 | <B>Constructor Summary</B></FONT></TH> |
---|
| 237 | </TR> |
---|
| 238 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 239 | <TD><CODE><B><A HREF="../../../../org/apache/solr/spelling/WordBreakSolrSpellChecker.html#WordBreakSolrSpellChecker()">WordBreakSolrSpellChecker</A></B>()</CODE> |
---|
| 240 | |
---|
| 241 | <BR> |
---|
| 242 | </TD> |
---|
| 243 | </TR> |
---|
| 244 | </TABLE> |
---|
| 245 | |
---|
| 246 | <!-- ========== METHOD SUMMARY =========== --> |
---|
| 247 | |
---|
| 248 | <A NAME="method_summary"><!-- --></A> |
---|
| 249 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 250 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 251 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
| 252 | <B>Method Summary</B></FONT></TH> |
---|
| 253 | </TR> |
---|
| 254 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 255 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 256 | <CODE> void</CODE></FONT></TD> |
---|
| 257 | <TD><CODE><B><A HREF="../../../../org/apache/solr/spelling/WordBreakSolrSpellChecker.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, |
---|
| 258 | <A HREF="../../../../org/apache/solr/search/SolrIndexSearcher.html" title="class in org.apache.solr.search">SolrIndexSearcher</A> searcher)</CODE> |
---|
| 259 | |
---|
| 260 | <BR> |
---|
| 261 | (re)Builds the spelling index.</TD> |
---|
| 262 | </TR> |
---|
| 263 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 264 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 265 | <CODE> <A HREF="../../../../org/apache/solr/spelling/SpellingResult.html" title="class in org.apache.solr.spelling">SpellingResult</A></CODE></FONT></TD> |
---|
| 266 | <TD><CODE><B><A HREF="../../../../org/apache/solr/spelling/WordBreakSolrSpellChecker.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> |
---|
| 267 | |
---|
| 268 | <BR> |
---|
| 269 | Get suggestions for the given query.</TD> |
---|
| 270 | </TR> |
---|
| 271 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 272 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 273 | <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> |
---|
| 274 | <TD><CODE><B><A HREF="../../../../org/apache/solr/spelling/WordBreakSolrSpellChecker.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, |
---|
| 275 | <A HREF="../../../../org/apache/solr/core/SolrCore.html" title="class in org.apache.solr.core">SolrCore</A> core)</CODE> |
---|
| 276 | |
---|
| 277 | <BR> |
---|
| 278 | </TD> |
---|
| 279 | </TR> |
---|
| 280 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 281 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 282 | <CODE> boolean</CODE></FONT></TD> |
---|
| 283 | <TD><CODE><B><A HREF="../../../../org/apache/solr/spelling/WordBreakSolrSpellChecker.html#isSuggestionsMayOverlap()">isSuggestionsMayOverlap</A></B>()</CODE> |
---|
| 284 | |
---|
| 285 | <BR> |
---|
| 286 | </TD> |
---|
| 287 | </TR> |
---|
| 288 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 289 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 290 | <CODE> void</CODE></FONT></TD> |
---|
| 291 | <TD><CODE><B><A HREF="../../../../org/apache/solr/spelling/WordBreakSolrSpellChecker.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, |
---|
| 292 | <A HREF="../../../../org/apache/solr/search/SolrIndexSearcher.html" title="class in org.apache.solr.search">SolrIndexSearcher</A> searcher)</CODE> |
---|
| 293 | |
---|
| 294 | <BR> |
---|
| 295 | Reloads the index.</TD> |
---|
| 296 | </TR> |
---|
| 297 | </TABLE> |
---|
| 298 | <A NAME="methods_inherited_from_class_org.apache.solr.spelling.SolrSpellChecker"><!-- --></A> |
---|
| 299 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 300 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
| 301 | <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> |
---|
| 302 | </TR> |
---|
| 303 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 304 | <TD><CODE><A HREF="../../../../org/apache/solr/spelling/SolrSpellChecker.html#getAccuracy()">getAccuracy</A>, <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#getStringDistance()">getStringDistance</A>, <A HREF="../../../../org/apache/solr/spelling/SolrSpellChecker.html#mergeSuggestions(org.apache.solr.handler.component.SpellCheckMergeData, int, int, boolean)">mergeSuggestions</A></CODE></TD> |
---|
| 305 | </TR> |
---|
| 306 | </TABLE> |
---|
| 307 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
---|
| 308 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 309 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
| 310 | <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> |
---|
| 311 | </TR> |
---|
| 312 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 313 | <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> |
---|
| 314 | </TR> |
---|
| 315 | </TABLE> |
---|
| 316 | |
---|
| 317 | <P> |
---|
| 318 | |
---|
| 319 | <!-- ============ FIELD DETAIL =========== --> |
---|
| 320 | |
---|
| 321 | <A NAME="field_detail"><!-- --></A> |
---|
| 322 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 323 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 324 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
| 325 | <B>Field Detail</B></FONT></TH> |
---|
| 326 | </TR> |
---|
| 327 | </TABLE> |
---|
| 328 | |
---|
| 329 | <A NAME="PARAM_COMBINE_WORDS"><!-- --></A><H3> |
---|
| 330 | PARAM_COMBINE_WORDS</H3> |
---|
| 331 | <PRE> |
---|
| 332 | 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>PARAM_COMBINE_WORDS</B></PRE> |
---|
| 333 | <DL> |
---|
| 334 | <DD><p> |
---|
| 335 | Try to combine multiple words into one? [true|false] |
---|
| 336 | </p> |
---|
| 337 | <P> |
---|
| 338 | <DL> |
---|
| 339 | <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.solr.spelling.WordBreakSolrSpellChecker.PARAM_COMBINE_WORDS">Constant Field Values</A></DL> |
---|
| 340 | </DL> |
---|
| 341 | <HR> |
---|
| 342 | |
---|
| 343 | <A NAME="PARAM_BREAK_WORDS"><!-- --></A><H3> |
---|
| 344 | PARAM_BREAK_WORDS</H3> |
---|
| 345 | <PRE> |
---|
| 346 | 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>PARAM_BREAK_WORDS</B></PRE> |
---|
| 347 | <DL> |
---|
| 348 | <DD><p> |
---|
| 349 | Try to break words into multiples? [true|false] |
---|
| 350 | </p> |
---|
| 351 | <P> |
---|
| 352 | <DL> |
---|
| 353 | <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.solr.spelling.WordBreakSolrSpellChecker.PARAM_BREAK_WORDS">Constant Field Values</A></DL> |
---|
| 354 | </DL> |
---|
| 355 | <HR> |
---|
| 356 | |
---|
| 357 | <A NAME="PARAM_MAX_CHANGES"><!-- --></A><H3> |
---|
| 358 | PARAM_MAX_CHANGES</H3> |
---|
| 359 | <PRE> |
---|
| 360 | 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>PARAM_MAX_CHANGES</B></PRE> |
---|
| 361 | <DL> |
---|
| 362 | <DD>See <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//suggest/org/apache/lucene/search/spell/WordBreakSpellChecker.html?is-external=true#setMaxChanges(int)" title="class or interface in org.apache.lucene.search.spell"><CODE>WordBreakSpellChecker.setMaxChanges(int)</CODE></A> |
---|
| 363 | <P> |
---|
| 364 | <DL> |
---|
| 365 | <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.solr.spelling.WordBreakSolrSpellChecker.PARAM_MAX_CHANGES">Constant Field Values</A></DL> |
---|
| 366 | </DL> |
---|
| 367 | <HR> |
---|
| 368 | |
---|
| 369 | <A NAME="PARAM_MAX_COMBINE_WORD_LENGTH"><!-- --></A><H3> |
---|
| 370 | PARAM_MAX_COMBINE_WORD_LENGTH</H3> |
---|
| 371 | <PRE> |
---|
| 372 | 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>PARAM_MAX_COMBINE_WORD_LENGTH</B></PRE> |
---|
| 373 | <DL> |
---|
| 374 | <DD>See <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//suggest/org/apache/lucene/search/spell/WordBreakSpellChecker.html?is-external=true#setMaxCombineWordLength(int)" title="class or interface in org.apache.lucene.search.spell"><CODE>WordBreakSpellChecker.setMaxCombineWordLength(int)</CODE></A> |
---|
| 375 | <P> |
---|
| 376 | <DL> |
---|
| 377 | <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.solr.spelling.WordBreakSolrSpellChecker.PARAM_MAX_COMBINE_WORD_LENGTH">Constant Field Values</A></DL> |
---|
| 378 | </DL> |
---|
| 379 | <HR> |
---|
| 380 | |
---|
| 381 | <A NAME="PARAM_MIN_BREAK_WORD_LENGTH"><!-- --></A><H3> |
---|
| 382 | PARAM_MIN_BREAK_WORD_LENGTH</H3> |
---|
| 383 | <PRE> |
---|
| 384 | 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>PARAM_MIN_BREAK_WORD_LENGTH</B></PRE> |
---|
| 385 | <DL> |
---|
| 386 | <DD>See <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//suggest/org/apache/lucene/search/spell/WordBreakSpellChecker.html?is-external=true#setMinBreakWordLength(int)" title="class or interface in org.apache.lucene.search.spell"><CODE>WordBreakSpellChecker.setMinBreakWordLength(int)</CODE></A> |
---|
| 387 | <P> |
---|
| 388 | <DL> |
---|
| 389 | <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.solr.spelling.WordBreakSolrSpellChecker.PARAM_MIN_BREAK_WORD_LENGTH">Constant Field Values</A></DL> |
---|
| 390 | </DL> |
---|
| 391 | <HR> |
---|
| 392 | |
---|
| 393 | <A NAME="PARAM_BREAK_SUGGESTION_TIE_BREAKER"><!-- --></A><H3> |
---|
| 394 | PARAM_BREAK_SUGGESTION_TIE_BREAKER</H3> |
---|
| 395 | <PRE> |
---|
| 396 | 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>PARAM_BREAK_SUGGESTION_TIE_BREAKER</B></PRE> |
---|
| 397 | <DL> |
---|
| 398 | <DD>See <A HREF="../../../../org/apache/solr/spelling/WordBreakSolrSpellChecker.BreakSuggestionTieBreaker.html" title="enum in org.apache.solr.spelling"><CODE>WordBreakSolrSpellChecker.BreakSuggestionTieBreaker</CODE></A> for options. |
---|
| 399 | <P> |
---|
| 400 | <DL> |
---|
| 401 | <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.solr.spelling.WordBreakSolrSpellChecker.PARAM_BREAK_SUGGESTION_TIE_BREAKER">Constant Field Values</A></DL> |
---|
| 402 | </DL> |
---|
| 403 | <HR> |
---|
| 404 | |
---|
| 405 | <A NAME="PARAM_MAX_EVALUATIONS"><!-- --></A><H3> |
---|
| 406 | PARAM_MAX_EVALUATIONS</H3> |
---|
| 407 | <PRE> |
---|
| 408 | 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>PARAM_MAX_EVALUATIONS</B></PRE> |
---|
| 409 | <DL> |
---|
| 410 | <DD>See <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//suggest/org/apache/lucene/search/spell/WordBreakSpellChecker.html?is-external=true#setMaxEvaluations(int)" title="class or interface in org.apache.lucene.search.spell"><CODE>WordBreakSpellChecker.setMaxEvaluations(int)</CODE></A> |
---|
| 411 | <P> |
---|
| 412 | <DL> |
---|
| 413 | <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.solr.spelling.WordBreakSolrSpellChecker.PARAM_MAX_EVALUATIONS">Constant Field Values</A></DL> |
---|
| 414 | </DL> |
---|
| 415 | <HR> |
---|
| 416 | |
---|
| 417 | <A NAME="PARAM_MIN_SUGGESTION_FREQUENCY"><!-- --></A><H3> |
---|
| 418 | PARAM_MIN_SUGGESTION_FREQUENCY</H3> |
---|
| 419 | <PRE> |
---|
| 420 | 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>PARAM_MIN_SUGGESTION_FREQUENCY</B></PRE> |
---|
| 421 | <DL> |
---|
| 422 | <DD>See <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//suggest/org/apache/lucene/search/spell/WordBreakSpellChecker.html?is-external=true#setMinSuggestionFrequency(int)" title="class or interface in org.apache.lucene.search.spell"><CODE>WordBreakSpellChecker.setMinSuggestionFrequency(int)</CODE></A> |
---|
| 423 | <P> |
---|
| 424 | <DL> |
---|
| 425 | <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.solr.spelling.WordBreakSolrSpellChecker.PARAM_MIN_SUGGESTION_FREQUENCY">Constant Field Values</A></DL> |
---|
| 426 | </DL> |
---|
| 427 | |
---|
| 428 | <!-- ========= CONSTRUCTOR DETAIL ======== --> |
---|
| 429 | |
---|
| 430 | <A NAME="constructor_detail"><!-- --></A> |
---|
| 431 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 432 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 433 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
| 434 | <B>Constructor Detail</B></FONT></TH> |
---|
| 435 | </TR> |
---|
| 436 | </TABLE> |
---|
| 437 | |
---|
| 438 | <A NAME="WordBreakSolrSpellChecker()"><!-- --></A><H3> |
---|
| 439 | WordBreakSolrSpellChecker</H3> |
---|
| 440 | <PRE> |
---|
| 441 | public <B>WordBreakSolrSpellChecker</B>()</PRE> |
---|
| 442 | <DL> |
---|
| 443 | </DL> |
---|
| 444 | |
---|
| 445 | <!-- ============ METHOD DETAIL ========== --> |
---|
| 446 | |
---|
| 447 | <A NAME="method_detail"><!-- --></A> |
---|
| 448 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 449 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 450 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
| 451 | <B>Method Detail</B></FONT></TH> |
---|
| 452 | </TR> |
---|
| 453 | </TABLE> |
---|
| 454 | |
---|
| 455 | <A NAME="init(org.apache.solr.common.util.NamedList, org.apache.solr.core.SolrCore)"><!-- --></A><H3> |
---|
| 456 | init</H3> |
---|
| 457 | <PRE> |
---|
| 458 | 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, |
---|
| 459 | <A HREF="../../../../org/apache/solr/core/SolrCore.html" title="class in org.apache.solr.core">SolrCore</A> core)</PRE> |
---|
| 460 | <DL> |
---|
| 461 | <DD><DL> |
---|
| 462 | <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> |
---|
| 463 | </DD> |
---|
| 464 | <DD><DL> |
---|
| 465 | </DL> |
---|
| 466 | </DD> |
---|
| 467 | </DL> |
---|
| 468 | <HR> |
---|
| 469 | |
---|
| 470 | <A NAME="getSuggestions(org.apache.solr.spelling.SpellingOptions)"><!-- --></A><H3> |
---|
| 471 | getSuggestions</H3> |
---|
| 472 | <PRE> |
---|
| 473 | 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) |
---|
| 474 | 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> |
---|
| 475 | <DL> |
---|
| 476 | <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> |
---|
| 477 | <DD>Get suggestions for the given query. Tokenizes the query using a field appropriate Analyzer. |
---|
| 478 | The <A HREF="../../../../org/apache/solr/spelling/SpellingResult.html#getSuggestions()"><CODE>SpellingResult.getSuggestions()</CODE></A> suggestions must be ordered by best suggestion first. |
---|
| 479 | <p/> |
---|
| 480 | <P> |
---|
| 481 | <DD><DL> |
---|
| 482 | <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> |
---|
| 483 | </DD> |
---|
| 484 | <DD><DL> |
---|
| 485 | <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 |
---|
| 486 | <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 |
---|
| 487 | <DT><B>Throws:</B> |
---|
| 488 | <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> |
---|
| 489 | </DD> |
---|
| 490 | </DL> |
---|
| 491 | <HR> |
---|
| 492 | |
---|
| 493 | <A NAME="build(org.apache.solr.core.SolrCore, org.apache.solr.search.SolrIndexSearcher)"><!-- --></A><H3> |
---|
| 494 | build</H3> |
---|
| 495 | <PRE> |
---|
| 496 | public void <B>build</B>(<A HREF="../../../../org/apache/solr/core/SolrCore.html" title="class in org.apache.solr.core">SolrCore</A> core, |
---|
| 497 | <A HREF="../../../../org/apache/solr/search/SolrIndexSearcher.html" title="class in org.apache.solr.search">SolrIndexSearcher</A> searcher)</PRE> |
---|
| 498 | <DL> |
---|
| 499 | <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> |
---|
| 500 | <DD>(re)Builds the spelling index. May be a NOOP if the implementation doesn't require building, or can't be rebuilt. |
---|
| 501 | <P> |
---|
| 502 | <DD><DL> |
---|
| 503 | <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> |
---|
| 504 | </DD> |
---|
| 505 | <DD><DL> |
---|
| 506 | </DL> |
---|
| 507 | </DD> |
---|
| 508 | </DL> |
---|
| 509 | <HR> |
---|
| 510 | |
---|
| 511 | <A NAME="reload(org.apache.solr.core.SolrCore, org.apache.solr.search.SolrIndexSearcher)"><!-- --></A><H3> |
---|
| 512 | reload</H3> |
---|
| 513 | <PRE> |
---|
| 514 | public void <B>reload</B>(<A HREF="../../../../org/apache/solr/core/SolrCore.html" title="class in org.apache.solr.core">SolrCore</A> core, |
---|
| 515 | <A HREF="../../../../org/apache/solr/search/SolrIndexSearcher.html" title="class in org.apache.solr.search">SolrIndexSearcher</A> searcher) |
---|
| 516 | 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> |
---|
| 517 | <DL> |
---|
| 518 | <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> |
---|
| 519 | <DD>Reloads the index. Useful if an external process is responsible for building the spell checker. |
---|
| 520 | <P> |
---|
| 521 | <DD><DL> |
---|
| 522 | <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> |
---|
| 523 | </DD> |
---|
| 524 | <DD><DL> |
---|
| 525 | |
---|
| 526 | <DT><B>Throws:</B> |
---|
| 527 | <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL> |
---|
| 528 | </DD> |
---|
| 529 | </DL> |
---|
| 530 | <HR> |
---|
| 531 | |
---|
| 532 | <A NAME="isSuggestionsMayOverlap()"><!-- --></A><H3> |
---|
| 533 | isSuggestionsMayOverlap</H3> |
---|
| 534 | <PRE> |
---|
| 535 | public boolean <B>isSuggestionsMayOverlap</B>()</PRE> |
---|
| 536 | <DL> |
---|
| 537 | <DD><DL> |
---|
| 538 | <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/apache/solr/spelling/SolrSpellChecker.html#isSuggestionsMayOverlap()">isSuggestionsMayOverlap</A></CODE> in class <CODE><A HREF="../../../../org/apache/solr/spelling/SolrSpellChecker.html" title="class in org.apache.solr.spelling">SolrSpellChecker</A></CODE></DL> |
---|
| 539 | </DD> |
---|
| 540 | <DD><DL> |
---|
| 541 | </DL> |
---|
| 542 | </DD> |
---|
| 543 | </DL> |
---|
| 544 | <!-- ========= END OF CLASS DATA ========= --> |
---|
| 545 | <HR> |
---|
| 546 | |
---|
| 547 | |
---|
| 548 | <!-- ======= START OF BOTTOM NAVBAR ====== --> |
---|
| 549 | <A NAME="navbar_bottom"><!-- --></A> |
---|
| 550 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
---|
| 551 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
---|
| 552 | <TR> |
---|
| 553 | <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
---|
| 554 | <A NAME="navbar_bottom_firstrow"><!-- --></A> |
---|
| 555 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
---|
| 556 | <TR ALIGN="center" VALIGN="top"> |
---|
| 557 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
---|
| 558 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
---|
| 559 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
---|
| 560 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/WordBreakSolrSpellChecker.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
---|
| 561 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
---|
| 562 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
---|
| 563 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
---|
| 564 | </TR> |
---|
| 565 | </TABLE> |
---|
| 566 | </TD> |
---|
| 567 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
---|
| 568 | </EM> |
---|
| 569 | </TD> |
---|
| 570 | </TR> |
---|
| 571 | |
---|
| 572 | <TR> |
---|
| 573 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
| 574 | <A HREF="../../../../org/apache/solr/spelling/SuggestQueryConverter.html" title="class in org.apache.solr.spelling"><B>PREV CLASS</B></A> |
---|
| 575 | <A HREF="../../../../org/apache/solr/spelling/WordBreakSolrSpellChecker.BreakSuggestionTieBreaker.html" title="enum in org.apache.solr.spelling"><B>NEXT CLASS</B></A></FONT></TD> |
---|
| 576 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
| 577 | <A HREF="../../../../index.html?org/apache/solr/spelling/WordBreakSolrSpellChecker.html" target="_top"><B>FRAMES</B></A> |
---|
| 578 | <A HREF="WordBreakSolrSpellChecker.html" target="_top"><B>NO FRAMES</B></A> |
---|
| 579 | <SCRIPT type="text/javascript"> |
---|
| 580 | <!-- |
---|
| 581 | if(window==top) { |
---|
| 582 | document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
---|
| 583 | } |
---|
| 584 | //--> |
---|
| 585 | </SCRIPT> |
---|
| 586 | <NOSCRIPT> |
---|
| 587 | <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> |
---|
| 588 | </NOSCRIPT> |
---|
| 589 | |
---|
| 590 | |
---|
| 591 | </FONT></TD> |
---|
| 592 | </TR> |
---|
| 593 | <TR> |
---|
| 594 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
| 595 | 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> |
---|
| 596 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
| 597 | DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
---|
| 598 | </TR> |
---|
| 599 | </TABLE> |
---|
| 600 | <A NAME="skip-navbar_bottom"></A> |
---|
| 601 | <!-- ======== END OF BOTTOM NAVBAR ======= --> |
---|
| 602 | |
---|
| 603 | <HR> |
---|
| 604 | |
---|
| 605 | <address>Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.</address> |
---|
| 606 | <script src='../../../../prettify.js' type='text/javascript'></script> |
---|
| 607 | <script type='text/javascript'> |
---|
| 608 | (function(){ |
---|
| 609 | var oldonload = window.onload; |
---|
| 610 | if (typeof oldonload != 'function') { |
---|
| 611 | window.onload = prettyPrint; |
---|
| 612 | } else { |
---|
| 613 | window.onload = function() { |
---|
| 614 | oldonload(); |
---|
| 615 | prettyPrint(); |
---|
| 616 | } |
---|
| 617 | } |
---|
| 618 | })(); |
---|
| 619 | </script> |
---|
| 620 | |
---|
| 621 | </BODY> |
---|
| 622 | </HTML> |
---|