source: sandbox/expresso-solr/solr/docs/api/org/apache/solr/search/similarities/DFRSimilarityFactory.html @ 7588

Revision 7588, 23.0 KB checked in by adir, 11 years ago (diff)

Ticket #000 - Adicionando a integracao de buscas com Solr na base a ser isnerida na comunidade

Line 
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>
8DFRSimilarityFactory (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">
16function windowTitle()
17{
18    if (location.href.indexOf('is-external=true') == -1) {
19        parent.document.title="DFRSimilarityFactory (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>&nbsp;</TD>
42  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
43  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
44  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/DFRSimilarityFactory.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
45  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
46  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
47  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</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&nbsp;<A HREF="../../../../../org/apache/solr/search/similarities/DefaultSimilarityFactory.html" title="class in org.apache.solr.search.similarities"><B>PREV CLASS</B></A>&nbsp;
59&nbsp;<A HREF="../../../../../org/apache/solr/search/similarities/IBSimilarityFactory.html" title="class in org.apache.solr.search.similarities"><B>NEXT CLASS</B></A></FONT></TD>
60<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
61  <A HREF="../../../../../index.html?org/apache/solr/search/similarities/DFRSimilarityFactory.html" target="_top"><B>FRAMES</B></A>  &nbsp;
62&nbsp;<A HREF="DFRSimilarityFactory.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
63&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_org.apache.solr.schema.SimilarityFactory">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
80<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
81DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<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">
91org.apache.solr.search.similarities</FONT>
92<BR>
93Class DFRSimilarityFactory</H2>
94<PRE>
95<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
96  <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../../org/apache/solr/schema/SimilarityFactory.html" title="class in org.apache.solr.schema">org.apache.solr.schema.SimilarityFactory</A>
97      <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.solr.search.similarities.DFRSimilarityFactory</B>
98</PRE>
99<HR>
100<DL>
101<DT><PRE>public class <B>DFRSimilarityFactory</B><DT>extends <A HREF="../../../../../org/apache/solr/schema/SimilarityFactory.html" title="class in org.apache.solr.schema">SimilarityFactory</A></DL>
102</PRE>
103
104<P>
105Factory for <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/search/similarities/DFRSimilarity.html?is-external=true" title="class or interface in org.apache.lucene.search.similarities"><CODE>DFRSimilarity</CODE></A>
106 <p>
107 You must specify the implementations for all three components of
108 DFR (strings). In general the models are parameter-free, but two of the
109 normalizations take floating point parameters (see below):
110 <ol>
111    <li><A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/search/similarities/BasicModel.html?is-external=true" title="class or interface in org.apache.lucene.search.similarities"><CODE>basicModel</CODE></A>: Basic model of information content:
112        <ul>
113           <li><A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/search/similarities/BasicModelBE.html?is-external=true" title="class or interface in org.apache.lucene.search.similarities"><CODE>Be</CODE></A>: Limiting form of Bose-Einstein
114           <li><A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/search/similarities/BasicModelG.html?is-external=true" title="class or interface in org.apache.lucene.search.similarities"><CODE>G</CODE></A>: Geometric approximation of Bose-Einstein
115           <li><A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/search/similarities/BasicModelP.html?is-external=true" title="class or interface in org.apache.lucene.search.similarities"><CODE>P</CODE></A>: Poisson approximation of the Binomial
116           <li><A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/search/similarities/BasicModelD.html?is-external=true" title="class or interface in org.apache.lucene.search.similarities"><CODE>D</CODE></A>: Divergence approximation of the Binomial
117           <li><A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/search/similarities/BasicModelIn.html?is-external=true" title="class or interface in org.apache.lucene.search.similarities"><CODE>I(n)</CODE></A>: Inverse document frequency
118           <li><A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/search/similarities/BasicModelIne.html?is-external=true" title="class or interface in org.apache.lucene.search.similarities"><CODE>I(ne)</CODE></A>: Inverse expected document
119               frequency [mixture of Poisson and IDF]
120           <li><A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/search/similarities/BasicModelIF.html?is-external=true" title="class or interface in org.apache.lucene.search.similarities"><CODE>I(F)</CODE></A>: Inverse term frequency
121               [approximation of I(ne)]
122        </ul>
123    <li><A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/search/similarities/AfterEffect.html?is-external=true" title="class or interface in org.apache.lucene.search.similarities"><CODE>afterEffect</CODE></A>: First normalization of information
124        gain:
125        <ul>
126           <li><A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/search/similarities/AfterEffectL.html?is-external=true" title="class or interface in org.apache.lucene.search.similarities"><CODE>L</CODE></A>: Laplace's law of succession
127           <li><A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/search/similarities/AfterEffectB.html?is-external=true" title="class or interface in org.apache.lucene.search.similarities"><CODE>B</CODE></A>: Ratio of two Bernoulli processes
128           <li><A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/search/similarities/AfterEffect.NoAfterEffect.html?is-external=true" title="class or interface in org.apache.lucene.search.similarities"><CODE>none</CODE></A>: no first normalization
129        </ul>
130    <li><A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/search/similarities/Normalization.html?is-external=true" title="class or interface in org.apache.lucene.search.similarities"><CODE>normalization</CODE></A>: Second (length) normalization:
131        <ul>
132           <li><A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/search/similarities/NormalizationH1.html?is-external=true" title="class or interface in org.apache.lucene.search.similarities"><CODE>H1</CODE></A>: Uniform distribution of term
133               frequency
134               <ul>
135                  <li>parameter c (float): hyper-parameter that controls
136                      the term frequency normalization with respect to the
137                      document length. The default is <code>1</code>
138               </ul>
139           <li><A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/search/similarities/NormalizationH2.html?is-external=true" title="class or interface in org.apache.lucene.search.similarities"><CODE>H2</CODE></A>: term frequency density inversely
140               related to length
141               <ul>
142                  <li>parameter c (float): hyper-parameter that controls
143                      the term frequency normalization with respect to the
144                      document length. The default is <code>1</code>
145                </ul>
146           <li><A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/search/similarities/NormalizationH3.html?is-external=true" title="class or interface in org.apache.lucene.search.similarities"><CODE>H3</CODE></A>: term frequency normalization
147               provided by Dirichlet prior
148               <ul>
149                  <li>parameter mu (float): smoothing parameter &mu;. The
150                      default is <code>800</code>
151               </ul>
152           <li><A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/search/similarities/NormalizationZ.html?is-external=true" title="class or interface in org.apache.lucene.search.similarities"><CODE>Z</CODE></A>: term frequency normalization provided
153                by a Zipfian relation
154               <ul>
155                  <li>parameter z (float): represents <code>A/(A+1)</code>
156                      where A measures the specificity of the language.
157                      The default is <code>0.3</code>
158               </ul>
159           <li><A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/search/similarities/Normalization.NoNormalization.html?is-external=true" title="class or interface in org.apache.lucene.search.similarities"><CODE>none</CODE></A>: no second normalization
160        </ul>
161 </ol>
162 <p>
163 <p>
164 Optional settings:
165 <ul>
166   <li>discountOverlaps (bool): Sets
167       <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/search/similarities/SimilarityBase.html?is-external=true#setDiscountOverlaps(boolean)" title="class or interface in org.apache.lucene.search.similarities"><CODE>SimilarityBase.setDiscountOverlaps(boolean)</CODE></A></li>
168 </ul>
169<P>
170
171<P>
172<DL>
173<DT><B>WARNING: This API is experimental and might change in incompatible ways in the next release.</B></DT>
174  <DD></DD>
175</DL>
176<HR>
177
178<P>
179<!-- =========== FIELD SUMMARY =========== -->
180
181<A NAME="field_summary"><!-- --></A>
182<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
183<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
184<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
185<B>Field Summary</B></FONT></TH>
186</TR>
187</TABLE>
188&nbsp;<A NAME="fields_inherited_from_class_org.apache.solr.schema.SimilarityFactory"><!-- --></A>
189<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
190<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
191<TH ALIGN="left"><B>Fields inherited from class org.apache.solr.schema.<A HREF="../../../../../org/apache/solr/schema/SimilarityFactory.html" title="class in org.apache.solr.schema">SimilarityFactory</A></B></TH>
192</TR>
193<TR BGCOLOR="white" CLASS="TableRowColor">
194<TD><CODE><A HREF="../../../../../org/apache/solr/schema/SimilarityFactory.html#params">params</A></CODE></TD>
195</TR>
196</TABLE>
197&nbsp;
198<!-- ======== CONSTRUCTOR SUMMARY ======== -->
199
200<A NAME="constructor_summary"><!-- --></A>
201<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
202<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
203<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
204<B>Constructor Summary</B></FONT></TH>
205</TR>
206<TR BGCOLOR="white" CLASS="TableRowColor">
207<TD><CODE><B><A HREF="../../../../../org/apache/solr/search/similarities/DFRSimilarityFactory.html#DFRSimilarityFactory()">DFRSimilarityFactory</A></B>()</CODE>
208
209<BR>
210&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
211</TR>
212</TABLE>
213&nbsp;
214<!-- ========== METHOD SUMMARY =========== -->
215
216<A NAME="method_summary"><!-- --></A>
217<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
218<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
219<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
220<B>Method Summary</B></FONT></TH>
221</TR>
222<TR BGCOLOR="white" CLASS="TableRowColor">
223<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
224<CODE>&nbsp;<A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/search/similarities/Similarity.html?is-external=true" title="class or interface in org.apache.lucene.search.similarities">Similarity</A></CODE></FONT></TD>
225<TD><CODE><B><A HREF="../../../../../org/apache/solr/search/similarities/DFRSimilarityFactory.html#getSimilarity()">getSimilarity</A></B>()</CODE>
226
227<BR>
228&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
229</TR>
230<TR BGCOLOR="white" CLASS="TableRowColor">
231<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
232<CODE>&nbsp;void</CODE></FONT></TD>
233<TD><CODE><B><A HREF="../../../../../org/apache/solr/search/similarities/DFRSimilarityFactory.html#init(org.apache.solr.common.params.SolrParams)">init</A></B>(<A HREF="../../../../../org/apache/solr/common/params/SolrParams.html" title="class in org.apache.solr.common.params">SolrParams</A>&nbsp;params)</CODE>
234
235<BR>
236&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
237</TR>
238</TABLE>
239&nbsp;<A NAME="methods_inherited_from_class_org.apache.solr.schema.SimilarityFactory"><!-- --></A>
240<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
241<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
242<TH ALIGN="left"><B>Methods inherited from class org.apache.solr.schema.<A HREF="../../../../../org/apache/solr/schema/SimilarityFactory.html" title="class in org.apache.solr.schema">SimilarityFactory</A></B></TH>
243</TR>
244<TR BGCOLOR="white" CLASS="TableRowColor">
245<TD><CODE><A HREF="../../../../../org/apache/solr/schema/SimilarityFactory.html#getParams()">getParams</A></CODE></TD>
246</TR>
247</TABLE>
248&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
249<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
250<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
251<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>
252</TR>
253<TR BGCOLOR="white" CLASS="TableRowColor">
254<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>
255</TR>
256</TABLE>
257&nbsp;
258<P>
259
260<!-- ========= CONSTRUCTOR DETAIL ======== -->
261
262<A NAME="constructor_detail"><!-- --></A>
263<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
264<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
265<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
266<B>Constructor Detail</B></FONT></TH>
267</TR>
268</TABLE>
269
270<A NAME="DFRSimilarityFactory()"><!-- --></A><H3>
271DFRSimilarityFactory</H3>
272<PRE>
273public <B>DFRSimilarityFactory</B>()</PRE>
274<DL>
275</DL>
276
277<!-- ============ METHOD DETAIL ========== -->
278
279<A NAME="method_detail"><!-- --></A>
280<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
281<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
282<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
283<B>Method Detail</B></FONT></TH>
284</TR>
285</TABLE>
286
287<A NAME="init(org.apache.solr.common.params.SolrParams)"><!-- --></A><H3>
288init</H3>
289<PRE>
290public void <B>init</B>(<A HREF="../../../../../org/apache/solr/common/params/SolrParams.html" title="class in org.apache.solr.common.params">SolrParams</A>&nbsp;params)</PRE>
291<DL>
292<DD><DL>
293<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/apache/solr/schema/SimilarityFactory.html#init(org.apache.solr.common.params.SolrParams)">init</A></CODE> in class <CODE><A HREF="../../../../../org/apache/solr/schema/SimilarityFactory.html" title="class in org.apache.solr.schema">SimilarityFactory</A></CODE></DL>
294</DD>
295<DD><DL>
296</DL>
297</DD>
298</DL>
299<HR>
300
301<A NAME="getSimilarity()"><!-- --></A><H3>
302getSimilarity</H3>
303<PRE>
304public <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//core/org/apache/lucene/search/similarities/Similarity.html?is-external=true" title="class or interface in org.apache.lucene.search.similarities">Similarity</A> <B>getSimilarity</B>()</PRE>
305<DL>
306<DD><DL>
307<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/solr/schema/SimilarityFactory.html#getSimilarity()">getSimilarity</A></CODE> in class <CODE><A HREF="../../../../../org/apache/solr/schema/SimilarityFactory.html" title="class in org.apache.solr.schema">SimilarityFactory</A></CODE></DL>
308</DD>
309<DD><DL>
310</DL>
311</DD>
312</DL>
313<!-- ========= END OF CLASS DATA ========= -->
314<HR>
315
316
317<!-- ======= START OF BOTTOM NAVBAR ====== -->
318<A NAME="navbar_bottom"><!-- --></A>
319<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
320<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
321<TR>
322<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
323<A NAME="navbar_bottom_firstrow"><!-- --></A>
324<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
325  <TR ALIGN="center" VALIGN="top">
326  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
327  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
328  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
329  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/DFRSimilarityFactory.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
330  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
331  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
332  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
333  </TR>
334</TABLE>
335</TD>
336<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
337</EM>
338</TD>
339</TR>
340
341<TR>
342<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
343&nbsp;<A HREF="../../../../../org/apache/solr/search/similarities/DefaultSimilarityFactory.html" title="class in org.apache.solr.search.similarities"><B>PREV CLASS</B></A>&nbsp;
344&nbsp;<A HREF="../../../../../org/apache/solr/search/similarities/IBSimilarityFactory.html" title="class in org.apache.solr.search.similarities"><B>NEXT CLASS</B></A></FONT></TD>
345<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
346  <A HREF="../../../../../index.html?org/apache/solr/search/similarities/DFRSimilarityFactory.html" target="_top"><B>FRAMES</B></A>  &nbsp;
347&nbsp;<A HREF="DFRSimilarityFactory.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
348&nbsp;<SCRIPT type="text/javascript">
349  <!--
350  if(window==top) {
351    document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
352  }
353  //-->
354</SCRIPT>
355<NOSCRIPT>
356  <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
357</NOSCRIPT>
358
359
360</FONT></TD>
361</TR>
362<TR>
363<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
364  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_org.apache.solr.schema.SimilarityFactory">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
365<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
366DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
367</TR>
368</TABLE>
369<A NAME="skip-navbar_bottom"></A>
370<!-- ======== END OF BOTTOM NAVBAR ======= -->
371
372<HR>
373
374          <address>Copyright &copy; 2000-2012 Apache Software Foundation.  All Rights Reserved.</address>
375          <script src='../../../../../prettify.js' type='text/javascript'></script>
376          <script type='text/javascript'>
377            (function(){
378              var oldonload = window.onload;
379              if (typeof oldonload != 'function') {
380                window.onload = prettyPrint;
381              } else {
382                window.onload = function() {
383                  oldonload();
384                  prettyPrint();
385                }
386              }
387            })();
388          </script>
389       
390</BODY>
391</HTML>
Note: See TracBrowser for help on using the repository browser.