Apache Lucene open-source search software
versioned site updates/fixes for 2.9
Mark Robert Miller571150f30312
diff --git a/docs/benchmarktemplate.xml b/docs/benchmarktemplate.xmldeleted file mode 100644index df7601f20f9..00000000000--- a/docs/benchmarktemplate.xml+++ /dev/null@@ -1,61 +0,0 @@-<benchmark>- <ul>- <p>- <b>Hardware Environment</b><br/>- <li><i>Dedicated machine for indexing</i>: Self-explanatory-(yes/no)</li>- <li><i>CPU</i>: Self-explanatory (Type, Speed and Quantity)</li>- <li><i>RAM</i>: Self-explanatory</li>- <li><i>Drive configuration</i>: Self-explanatory (IDE, SCSI, RAID-1,-RAID-5)</li>- </p>- <p>- <b>Software environment</b><br/>- <li><i>Lucene Version</i>: Self-explanatory</li>- <li><i>Java Version</i>: Version of Java SDK/JRE that is run </li>- <li><i>Java VM</i>: Server/client VM, Sun VM/JRockIt</li>- <li><i>OS Version</i>: Self-explanatory</li>- <li><i>Location of index</i>: Is the index stored in filesystem or-database? Is it on the same server (local) or- over the network?</li>- </p>- <p>- <b>Lucene indexing variables</b><br/>- <li><i>Number of source documents</i>: Number of documents being-indexed</li>- <li><i>Total filesize of source documents</i>: Self-explanatory</li>- <li><i>Average filesize of source documents</i>:-Self-explanatory</li>- <li><i>Source documents storage location</i>: Where are the documents-being indexed located?- Filesystem, DB, http,etc</li>- <li><i>File type of source documents</i>: Types of files being-indexed, e.g. HTML files, XML files, PDF files, etc.</li>- <li><i>Parser(s) used, if any</i>: Parsers used for parsing the-various files for indexing,- e.g. XML parser, HTML parser, etc.</li>- <li><i>Analyzer(s) used</i>: Type of Lucene analyzer used</li>- <li><i>Number of fields per document</i>: Number of Fields each-Document contains</li>- <li><i>Type of fields</i>: Type of each field</li>- <li><i>Index persistence</i>: Where the index is stored, e.g.-FSDirectory, SqlDirectory, etc</li>- </p>- <p>- <b>Figures</b><br/>- <li><i>Time taken (in ms/s as an average of at least 3 indexing-runs)</i>: Time taken to index to index all files</li>- <li><i>Time taken / 1000 docs indexed</i>: Time taken to index 1000-files</li>- <li><i>Memory consumption</i>: Self-explanatory</li>- <li><i>Query speed</i>: average time a query takes, type- of queries (e.g. simple one-term query, phrase query),- not measuring any overhead outside Lucene</li>- </p>- <p>- <b>Notes</b><br/>- <li><i>Notes</i>: Any comments which don't belong in the above,-special tuning/strategies, etc</li>- </p>- </ul>-</benchmark>diff --git a/docs/contributions.html b/docs/contributions.htmlindex 14736bb5624..1faa4bab6c8 100644--- a/docs/contributions.html+++ b/docs/contributions.html@@ -202,9 +202,6 @@ document.write("Last Published: " + document.lastModified);</div></div></div>-<div class="menuitem">-<a href="benchmarks.html">Benchmarks</a>-</div><div class="menupage"><div class="menupagetitle">Contributions</div></div>diff --git a/docs/demo.html b/docs/demo.htmlindex 1935f4dac0c..1853f943b4c 100644--- a/docs/demo.html+++ b/docs/demo.html@@ -203,9 +203,6 @@ document.write("Last Published: " + document.lastModified);</div></div><div class="menuitem">-<a href="benchmarks.html">Benchmarks</a>-</div>-<div class="menuitem"><a href="contributions.html">Contributions</a></div><div class="menuitem">diff --git a/docs/demo2.html b/docs/demo2.htmlindex 36a6dd33109..f5cb1263cfe 100644--- a/docs/demo2.html+++ b/docs/demo2.html@@ -203,9 +203,6 @@ document.write("Last Published: " + document.lastModified);</div></div><div class="menuitem">-<a href="benchmarks.html">Benchmarks</a>-</div>-<div class="menuitem"><a href="contributions.html">Contributions</a></div><div class="menuitem">@@ -327,11 +324,11 @@ instance of <span class="codefrag">org.apache.lucene.analysis.Analyzer</span>.The particular <span class="codefrag">Analyzer</span> weare using, <span class="codefrag">StandardAnalyzer</span>, islittle more than a standard Java Tokenizer, converting all strings to lowercase and filtering out-useless words and characters from the index. By useless words and characters I mean common language-words such as articles (a, an, the, etc.) and other strings that would be useless for searching+stop words and characters from the index. By stop words and characters I mean common language+words such as articles (a, an, the, etc.) and other strings that may have less value for searching(e.g. <b>'s</b>) . It should be noted that there are different rules for every language, and youshould use the proper analyzer for each. Lucene currently provides Analyzers for a number of-different languages (see the <span class="codefrag">*Analyzer.java</span> sources under <a href="http://svn.apache.org/repos/asf/lucene/java/trunk/contrib/analyzers/src/java/org/apache/lucene/analysis/">contrib/analyzers/src/java/org/apache/lucene/analysis</a>).+different languages (see the <span class="codefrag">*Analyzer.java</span> sources under <a href="http://svn.apache.org/repos/asf/lucene/java/trunk/contrib/analyzers/common/src/java/org/apache/lucene/analysis/">contrib/analyzers/src/java/org/apache/lucene/analysis</a>).</p><p>Looking further down in the file, you should see the <span class="codefrag">indexDocs()</span> code. This recursivediff --git a/docs/demo2.pdf b/docs/demo2.pdfindex 3bc6e03c010..006a280c7c6 100644--- a/docs/demo2.pdf+++ b/docs/demo2.pdf@@ -80,10 +80,10 @@ endobj>>endobj18 0 obj-<< /Length 2722 /Filter [ /ASCII85Decode /FlateDecode ]+<< /Length 2732 /Filter [ /ASCII85Decode /FlateDecode ]>>stream-Gatm>D3*F0')q<++ll:Z@[F.iQ[[,dQQekL]5)d"%_)C%bI#NP/@q'Va7nn<,h^`W9mU*P#`r?G,!#8=bVLp+kP=I_o@`RgTB/N07pc3O%YF[miYT/gl*]^Ro%0MH=lD0o99U4lO-BS;`uneV'RO#.MqL=-ch#i=a34qf#Ni(Tn#^5A!rNG=EGHQ1j/FupHN/7,YkR!a3#qPX_a8M5Ztq[1>5Y%ZYklV6s#c/\%&a)H&giK=Su-.?if'^%R)BBL;&CcR(pGt=jnMg8Me+]H)H!q@Ts"ttX95Z?if.,al]"8c7Wl9Vki@HMaEm)q\l@E9YEt<8XO3r\FJZe=V:_g:OZ4;RdC65=5t9DuEu(@s?C:k2+37@FBt<987FH6e-[p0feH9L+\F\IJi\+m!ML$_unLK;'s-`=97URl![1aH!E0(MO]='/\'FFA,b4kCq[rcS_DH`da7NEnCQ\V%L-BY\L(;AO'ZK/^]%E%'#-\F.q&f+7AIkr&n)JRE)59/VfOgTX8UR9LXC3A"-S["S..7b,DAHV_FHX\df6^F97i`B!.1j`Z?#*ELH27St#7heNun.p?a6jZcXW4H[d^9sDrjD!)WfG1f-[0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3A=5ret85eP)`q[M7jBlU%S<6kS8;#4XY`(n\"L2d'SMbSflQ3D>`*FiW`iJ#$P-$_opnO)lmeFu9`kpT5c\6Q6Ye<lk5]@c_nME`ti"EXVhG<XPWmdM0:H91./6W>p\&(8ikIZDB`Ue+l*!>PonF9$!?0F7Obcocn3?6+sXq^Kt3G*9?<LUtCM&0`XEid?abX.H5C@pd\jT@qIan'/H<#B'UKEEKsgeC>FcT]K"'..AY`To=/S35.4'e;2KWN4)Md+O_bBur8+.0XEM3t"Hl5FfshXh,m\$KbP%ZH>pW2sKdg\2iq]-UCFe3DOB0\\oX;bc3:?7D)\1$dEp6K)R9cp'WB4038IL$sQHn?rKQ'"Z]#25!#ZpoSI77cL-B9(jLn3e%@I[2B3j[!:)$>)pAoAaNKr7%r"86JdPs7"#$P2$TBX]YCd0rJm>83)oD0eO5hCrj9n->?l"TtZlIWn]M[0D-T5*4&k?bD-#_s>[Z$hq6A)3Sq@(5/*B"sFA!5%_YqIs678Bii]$Cln6Y%qP;XC/p?kIdE\`cj-0jg!64<6-WW^,PTbVj#MXsPK%+ifk3G8]$@?Tf/]5a'8%?7(A?"=FB%EF,6seNjTpp_+&IY"b0qb.J"@9<23oVp#;?BF(q09,muBl>2gkh+=`8:$#LeM+IPQo&b%)>3<;Z2u]kS$eHk2ise6jkJr_nYnfoRD56%=';`Y'o(qn=_(_X@Hf2Jqd~>endstreamendobj19 0 obj@@ -244,39 +244,39 @@ endobjxref0 340000000000 65535 f-0000008694 00000 n-0000008766 00000 n-0000008858 00000 n+0000008704 00000 n+0000008776 00000 n+0000008868 00000 n0000000015 00000 n0000000071 00000 n0000000777 00000 n0000000897 00000 n0000000950 00000 n-0000008992 00000 n+0000009002 00000 n0000001085 00000 n-0000009055 00000 n+0000009065 00000 n0000001221 00000 n-0000009121 00000 n+0000009131 00000 n0000001358 00000 n-0000009187 00000 n+0000009197 00000 n0000001495 00000 n-0000009251 00000 n+0000009261 00000 n0000001632 00000 n-0000004447 00000 n-0000004555 00000 n-0000006960 00000 n-0000009317 00000 n-0000007068 00000 n-0000007241 00000 n-0000007476 00000 n-0000007642 00000 n-0000007837 00000 n-0000008032 00000 n-0000008145 00000 n-0000008255 00000 n-0000008363 00000 n-0000008469 00000 n-0000008585 00000 n+0000004457 00000 n+0000004565 00000 n+0000006970 00000 n+0000009327 00000 n+0000007078 00000 n+0000007251 00000 n+0000007486 00000 n+0000007652 00000 n+0000007847 00000 n+0000008042 00000 n+0000008155 00000 n+0000008265 00000 n+0000008373 00000 n+0000008479 00000 n+0000008595 00000 ntrailer<</Size 34@@ -284,5 +284,5 @@ trailer/Info 4 0 R>>startxref-9368+9378%%EOFdiff --git a/docs/demo3.html b/docs/demo3.htmlindex 1cad0bdf32f..57b587cb9d1 100644--- a/docs/demo3.html+++ b/docs/demo3.html@@ -203,9 +203,6 @@ document.write("Last Published: " + document.lastModified);</div></div><div class="menuitem">-<a href="benchmarks.html">Benchmarks</a>-</div>-<div class="menuitem"><a href="contributions.html">Contributions</a></div><div class="menuitem">diff --git a/docs/demo4.html b/docs/demo4.htmlindex 147e53108d8..00cd264e569 100644--- a/docs/demo4.html+++ b/docs/demo4.html@@ -203,9 +203,6 @@ document.write("Last Published: " + document.lastModified);</div></div><div class="menuitem">-<a href="benchmarks.html">Benchmarks</a>-</div>-<div class="menuitem"><a href="contributions.html">Contributions</a></div><div class="menuitem">diff --git a/docs/fileformats.html b/docs/fileformats.htmlindex a8a6c242a64..e7a3fc7d53b 100644--- a/docs/fileformats.html+++ b/docs/fileformats.html@@ -203,9 +203,6 @@ document.write("Last Published: " + document.lastModified);</div></div><div class="menuitem">-<a href="benchmarks.html">Benchmarks</a>-</div>-<div class="menuitem"><a href="contributions.html">Contributions</a></div><div class="menuitem">diff --git a/docs/gettingstarted.html b/docs/gettingstarted.htmlindex 43cc420c455..3939e6f2223 100644--- a/docs/gettingstarted.html+++ b/docs/gettingstarted.html@@ -203,9 +203,6 @@ document.write("Last Published: " + document.lastModified);</div></div><div class="menuitem">-<a href="benchmarks.html">Benchmarks</a>-</div>-<div class="menuitem"><a href="contributions.html">Contributions</a></div><div class="menuitem">diff --git a/docs/index.html b/docs/index.htmlindex af5665aeed0..0b66a937f12 100644--- a/docs/index.html+++ b/docs/index.html@@ -201,9 +201,6 @@ document.write("Last Published: " + document.lastModified);</div></div><div class="menuitem">-<a href="benchmarks.html">Benchmarks</a>-</div>-<div class="menuitem"><a href="contributions.html">Contributions</a></div><div class="menuitem">diff --git a/docs/linkmap.html b/docs/linkmap.htmlindex cc691b4e9c5..f5c974300b6 100644--- a/docs/linkmap.html+++ b/docs/linkmap.html@@ -201,9 +201,6 @@ document.write("Last Published: " + document.lastModified);</div></div><div class="menuitem">-<a href="benchmarks.html">Benchmarks</a>-</div>-<div class="menuitem"><a href="contributions.html">Contributions</a></div><div class="menuitem">@@ -459,12 +456,6 @@ document.write("Last Published: " + document.lastModified);</ul></ul>-<ul>-<li>-<a href="benchmarks.html">Benchmarks</a> ___________________ <em>benchmarks</em>-</li>-</ul>-<ul><li><a href="contributions.html">Contributions</a> ___________________ <em>contributions</em>diff --git a/docs/linkmap.pdf b/docs/linkmap.pdfindex 46cfeead6f3..37795cc15f4 100644--- a/docs/linkmap.pdf+++ b/docs/linkmap.pdf@@ -20,10 +20,10 @@ endobj>>endobj7 0 obj-<< /Length 1073 /Filter [ /ASCII85Decode /FlateDecode ]+<< /Length 1045 /Filter [ /ASCII85Decode /FlateDecode ]>>stream-GatUs?#SFN'Sc)P'tIR&nGEk[c=L4>8Q."=$W8@Sdq"&]$qR<'V>^.0^.:q4/-WOEL:ltbk8YT@DE@VVTcV&NHIKh=HHQokT`-,G'428*aoI(.2r/ep5<WLMDnIek'^D;S4W^CkjBdmD=:Y8rIr;n`[email protected]^df(MCc_J-Y@=*Bj#B\QQ-@6$NCBs9HR^m"$%RL+o3KDH$@`>hQ`=(KWR*tt@3=DsAYR+D*](2F4?l0Tq/o+jRc""F96=U&O90*`j%m4MDhC>!#E5)IkFeh1E$/%R!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p[I;aUR]0=Vr4[KLKAWK(;>/$"$KcDdYlCW^/g;&813<e2q\BPEWTk)QKBfHMECC:q)ZfcFpji<'Ge'X[f^N@=dO)rVFai$X5gXA4;M'<Pl5nU+_q\B:\f#,I`H'dOn:78!LPDhG3NfPcg&;8iG)7&sa>ei&#el$Td.R.IenL9!23VfPmJG*O5+SC"n/ZIs$AEsb+I=P%E!G:`W@LSp;TH97jZBNI"N'GSfKHW6Jc8grVMi3iECIp\MC731QHqBT+b"[cpC$Xa;,hQ9u^V8TJrN'^On$KEakELL6gDcV56+o-t+fA\VC#..5cAmW]\NiK.DVs$>LEajHd3Ai%oE)n,;/@_o(qDf=B@lmQaTt!F?\rDS%C9^9/4jE>(:.7_75=f&=J0"X2[rjB@Cg3-?)YJ#J\T@%W3<@Y2CaA0jQJ+\"C0grbk*Fr7BS7eYD-$NCg/^*42`o?*GZq+jWYd0C(\_k6-Q]0/!&r/Q$2+Q@]c**=Z:ZM$8ET&<tE-]Bil2H^(GO]@d_tuX]W?/na280U`'LJMg_YjiaUEo"EZ0i=B-=*a%EL[!dbp^kHb61`![+W#`&'t;,YZ\37)ke^p$SN,hm.Sc<-Qo7;Dg'^,!Rr!gVH<:qt4%cdhbq=<\r;T*J>>W\T));bou'27]@7PTPSB*0Y,"_MK**J-TN;:tDL.mVNWRk(?S#0(<TDZP$+B6:O-:g(6`]e8;pH;p"m8W:Y=[mZ3a00#A1*/t,#H0"Bbp\0"6:W]1@9>FCatQ7-Zud!Mi4nXH3BhY1KY]@VsGK'r")"$?1bWW~>endstreamendobj8 0 obj@@ -87,19 +87,19 @@ endobjxref0 140000000000 65535 f-0000003189 00000 n-0000003253 00000 n-0000003303 00000 n+0000003161 00000 n+0000003225 00000 n+0000003275 00000 n0000000015 00000 n0000000071 00000 n0000001255 00000 n0000001361 00000 n-0000002526 00000 n-0000002632 00000 n-0000002744 00000 n-0000002854 00000 n-0000002965 00000 n-0000003073 00000 n+0000002498 00000 n+0000002604 00000 n+0000002716 00000 n+0000002826 00000 n+0000002937 00000 n+0000003045 00000 ntrailer<</Size 14@@ -107,5 +107,5 @@ trailer/Info 4 0 R>>startxref-3425+3397%%EOFdiff --git a/docs/lucene-sandbox/index.html b/docs/lucene-sandbox/index.htmlindex 906e4693880..4cdebecfe98 100644--- a/docs/lucene-sandbox/index.html+++ b/docs/lucene-sandbox/index.html@@ -203,9 +203,6 @@ document.write("Last Published: " + document.lastModified);</div></div><div class="menuitem">-<a href="../benchmarks.html">Benchmarks</a>-</div>-<div class="menuitem"><a href="../contributions.html">Contributions</a></div><div class="menuitem">diff --git a/docs/queryparsersyntax.html b/docs/queryparsersyntax.htmlindex b9404f150c6..1ffa9825403 100644--- a/docs/queryparsersyntax.html+++ b/docs/queryparsersyntax.html@@ -203,9 +203,6 @@ document.write("Last Published: " + document.lastModified);</div></div><div class="menuitem">-<a href="benchmarks.html">Benchmarks</a>-</div>-<div class="menuitem"><a href="contributions.html">Contributions</a></div><div class="menuitem">diff --git a/docs/scoring.html b/docs/scoring.htmlindex 18e775cb0d5..454b08095ab 100644--- a/docs/scoring.html+++ b/docs/scoring.html@@ -203,9 +203,6 @@ document.write("Last Published: " + document.lastModified);</div></div><div class="menuitem">-<a href="benchmarks.html">Benchmarks</a>-</div>-<div class="menuitem"><a href="contributions.html">Contributions</a></div><div class="menuitem">@@ -325,10 +322,10 @@ document.write("Last Published: " + document.lastModified);<a href="http://wiki.apache.org/lucene-java/InformationRetrieval">Lucene Wiki IR references</a>.</p><p>The rest of this document will cover <a href="#Scoring">Scoring</a> basics and how to change your- <a href="api/org/apache/lucene/search/Similarity.html">Similarity</a>. Next it will cover ways you can+ <a href="api/core/org/apache/lucene/search/Similarity.html">Similarity</a>. Next it will cover ways you cancustomize the Lucene internals in <a href="#Changing your Scoring -- Expert Level">Changing your Scoring-- Expert Level</a> which gives details on implementing your own- <a href="api/org/apache/lucene/search/Query.html">Query</a> class and related functionality. Finally, we+ <a href="api/core/org/apache/lucene/search/Query.html">Query</a> class and related functionality. Finally, wewill finish up with some reference material in the <a href="#Appendix">Appendix</a>.</p></div>@@ -342,21 +339,21 @@ document.write("Last Published: " + document.lastModified);and the Lucene<a href="fileformats.html">file formats</a>before continuing on with this section.) It is also assumed that readers know how to use the- <a href="api/org/apache/lucene/search/Searcher.html#explain(Query query, int doc)">Searcher.explain(Query query, int doc)</a> functionality,+ <a href="api/core/org/apache/lucene/search/Searcher.html#explain(Query query, int doc)">Searcher.explain(Query query, int doc)</a> functionality,which can go a long way in informing why a score is returned.</p><a name="N10059"></a><a name="Fields and Documents"></a><h3 class="boxed">Fields and Documents</h3><p>In Lucene, the objects we are scoring are- <a href="api/org/apache/lucene/document/Document.html">Documents</a>. A Document is a collection+ <a href="api/core/org/apache/lucene/document/Document.html">Documents</a>. A Document is a collectionof- <a href="api/org/apache/lucene/document/Field.html">Fields</a>. Each Field has semantics about how+ <a href="api/core/org/apache/lucene/document/Field.html">Fields</a>. Each Field has semantics about howit is created and stored (i.e. tokenized, untokenized, raw data, compressed, etc.) It is important tonote that Lucene scoring works on Fields and then combines the results to return Documents. This isimportant because two Documents with the exact same content, but one having the content in two Fieldsand the other in one Field will return different scores for the same query due to length normalization(assumming the- <a href="api/org/apache/lucene/search/DefaultSimilarity.html">DefaultSimilarity</a>+ <a href="api/core/org/apache/lucene/search/DefaultSimilarity.html">DefaultSimilarity</a>on the Fields).</p><a name="N1006E"></a><a name="Score Boosting"></a>@@ -367,21 +364,21 @@ document.write("Last Published: " + document.lastModified);<li><b>Document level boosting</b>- while indexing - by calling- <a href="api/org/apache/lucene/document/Document.html#setBoost(float)">document.setBoost()</a>+ <a href="api/core/org/apache/lucene/document/Document.html#setBoost(float)">document.setBoost()</a>before a document is added to the index.</li><li><b>Document's Field level boosting</b>- while indexing - by calling- <a href="api/org/apache/lucene/document/Fieldable.html#setBoost(float)">field.setBoost()</a>+ <a href="api/core/org/apache/lucene/document/Fieldable.html#setBoost(float)">field.setBoost()</a>before adding a field to the document (and before adding the document to the index).</li><li><b>Query level boosting</b>- during search, by setting a boost on a query clause, calling- <a href="api/org/apache/lucene/search/Query.html#setBoost(float)">Query.setBoost()</a>.+ <a href="api/core/org/apache/lucene/search/Query.html#setBoost(float)">Query.setBoost()</a>.</li></ul>@@ -402,66 +399,66 @@ document.write("Last Published: " + document.lastModified);<p>This composition of 1-byte representation of norms(that is, indexing time multiplication of field boosts & doc boost & field-length-norm)is nicely described in- <a href="api/org/apache/lucene/document/Fieldable.html#setBoost(float)">Fieldable.setBoost()</a>.+ <a href="api/core/org/apache/lucene/document/Fieldable.html#setBoost(float)">Fieldable.setBoost()</a>.</p><p>Encoding and decoding of the resulted float norm in a single byte are done by thestatic methods of the class Similarity:- <a href="api/org/apache/lucene/search/Similarity.html#encodeNorm(float)">encodeNorm()</a> and- <a href="api/org/apache/lucene/search/Similarity.html#decodeNorm(byte)">decodeNorm()</a>.+ <a href="api/core/org/apache/lucene/search/Similarity.html#encodeNorm(float)">encodeNorm()</a> and+ <a href="api/core/org/apache/lucene/search/Similarity.html#decodeNorm(byte)">decodeNorm()</a>.Due to loss of precision, it is not guaranteed that decode(encode(x)) = x,e.g. decode(encode(0.89)) = 0.75.At scoring (search) time, this norm is brought into the score of documentas <b>norm(t, d)</b>, as shown by the formula in- <a href="api/org/apache/lucene/search/Similarity.html">Similarity</a>.+ <a href="api/core/org/apache/lucene/search/Similarity.html">Similarity</a>.</p><a name="N100B1"></a><a name="Understanding the Scoring Formula"></a><h3 class="boxed">Understanding the Scoring Formula</h3><p>This scoring formula is described in the- <a href="api/org/apache/lucene/search/Similarity.html">Similarity</a> class. Please take the time to study this formula, as it contains much of the information about how the+ <a href="api/core/org/apache/lucene/search/Similarity.html">Similarity</a> class. Please take the time to study this formula, as it contains much of the information about how thebasics of Lucene scoring work, especially the- <a href="api/org/apache/lucene/search/TermQuery.html">TermQuery</a>.+ <a href="api/core/org/apache/lucene/search/TermQuery.html">TermQuery</a>.</p><a name="N100C2"></a><a name="The Big Picture"></a><h3 class="boxed">The Big Picture</h3><p>OK, so the tf-idf formula and the- <a href="api/org/apache/lucene/search/Similarity.html">Similarity</a>+ <a href="api/core/org/apache/lucene/search/Similarity.html">Similarity</a>is great for understanding the basics of Lucene scoring, but what really drives Lucene scoring arethe use and interactions between the- <a href="api/org/apache/lucene/search/Query.html">Query</a> classes, as created by each application in+ <a href="api/core/org/apache/lucene/search/Query.html">Query</a> classes, as created by each application inresponse to a user's information need.</p>-<p>In this regard, Lucene offers a wide variety of <a href="api/org/apache/lucene/search/Query.html">Query</a> implementations, most of which are in the- <a href="api/org/apache/lucene/search/package-summary.html">org.apache.lucene.search</a> package.+<p>In this regard, Lucene offers a wide variety of <a href="api/core/org/apache/lucene/search/Query.html">Query</a> implementations, most of which are in the+ <a href="api/core/org/apache/lucene/search/package-summary.html">org.apache.lucene.search</a> package.These implementations can be combined in a wide variety of ways to provide complex queryingcapabilities along withinformation about where matches took place in the document collection. The <a href="#Query Classes">Query</a>section belowhighlights some of the more important Query classes. For information on the other ones, see the- <a href="api/org/apache/lucene/search/package-summary.html">package summary</a>. For details on implementing+ <a href="api/core/org/apache/lucene/search/package-summary.html">package summary</a>. For details on implementingyour own Query class, see <a href="#Changing your Scoring -- Expert Level">Changing your Scoring --Expert Level</a> below.</p><p>Once a Query has been created and submitted to the- <a href="api/org/apache/lucene/search/IndexSearcher.html">IndexSearcher</a>, the scoring process+ <a href="api/core/org/apache/lucene/search/IndexSearcher.html">IndexSearcher</a>, the scoring processbegins. (See the <a href="#Appendix">Appendix</a> Algorithm section for more notes on the process.) After some infrastructure setup,- control finally passes to the <a href="api/org/apache/lucene/search/Weight.html">Weight</a> implementation and its- <a href="api/org/apache/lucene/search/Scorer.html">Scorer</a> instance. In the case of any type of- <a href="api/org/apache/lucene/search/BooleanQuery.html">BooleanQuery</a>, scoring is handled by the+ control finally passes to the <a href="api/core/org/apache/lucene/search/Weight.html">Weight</a> implementation and its+ <a href="api/core/org/apache/lucene/search/Scorer.html">Scorer</a> instance. In the case of any type of+ <a href="api/core/org/apache/lucene/search/BooleanQuery.html">BooleanQuery</a>, scoring is handled by the<a href="http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/search/BooleanQuery.java?view=log">BooleanWeight2</a> (link goes to ViewVC BooleanQuery java code which contains the BooleanWeight2 inner class),- unless the static- <a href="api/org/apache/lucene/search/BooleanQuery.html#setUseScorer14(boolean)">- BooleanQuery#setUseScorer14(boolean)</a> method is set to true,+ unless+ <a href="api/core/org/apache/lucene/search/Weight.html#scoresDocsOutOfOrder()">+ Weight#scoresDocsOutOfOrder()</a> method is set to true,in which case the<a href="http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/search/BooleanQuery.java?view=log">BooleanWeight</a>(link goes to ViewVC BooleanQuery java code, which contains the BooleanWeight inner class) from the 1.4 version of Lucene is used by default.See <a href="http://svn.apache.org/repos/asf/lucene/java/trunk/CHANGES.txt">CHANGES.txt</a> under release 1.9 RC1 for more information on choosing which Scorer to use.</p>-<p>+<p>ry#setUseScorer14(boolean)Assuming the use of the BooleanWeight2, aBooleanScorer2 is created by bringing togetherall of the- <a href="api/org/apache/lucene/search/Scorer.html">Scorer</a>s from the sub-clauses of the BooleanQuery.+ <a href="api/core/org/apache/lucene/search/Scorer.html">Scorer</a>s from the sub-clauses of the BooleanQuery.When the BooleanScorer2 is asked to score it delegates its work to an internal Scorer based on the typeof clauses in the Query. This internal Scorer essentially loops over the sub scorers and sums the scoresprovided by each scorer while factoring in the coord() score.@@ -470,14 +467,14 @@ document.write("Last Published: " + document.lastModified);<a name="N1011A"></a><a name="Query Classes"></a><h3 class="boxed">Query Classes</h3><p>For information on the Query Classes, refer to the- <a href="api/org/apache/lucene/search/package-summary.html#query">search package javadocs</a>+ <a href="api/core/org/apache/lucene/search/package-summary.html#query">search package javadocs</a></p><a name="N10127"></a><a name="Changing Similarity"></a><h3 class="boxed">Changing Similarity</h3><p>One of the ways of changing the scoring characteristics of Lucene is to change the similarity factors. For information onhow to do this, see the- <a href="api/org/apache/lucene/search/package-summary.html#changingSimilarity">search package javadocs</a>+ <a href="api/core/org/apache/lucene/search/package-summary.html#changingSimilarity">search package javadocs</a></p></div>@@ -486,7 +483,7 @@ document.write("Last Published: " + document.lastModified);<div class="section"><p>At a much deeper level, one can affect scoring by implementing their own Query classes (and related scoring classes.) To learn moreabout how to do this, refer to the- <a href="api/org/apache/lucene/search/package-summary.html#scoring">search package javadocs</a>+ <a href="api/core/org/apache/lucene/search/package-summary.html#scoring">search package javadocs</a></p></div>@@ -511,19 +508,19 @@ document.write("Last Published: " + document.lastModified);<p>This section is mostly notes on stepping through the Scoring process and serves asfertilizer for the earlier sections.</p><p>In the typical search application, a- <a href="api/org/apache/lucene/search/Query.html">Query</a>+ <a href="api/core/org/apache/lucene/search/Query.html">Query</a>is passed to the- <a href="api/org/apache/lucene/search/Searcher.html">Searcher</a>+ <a href="api/core/org/apache/lucene/search/Searcher.html">Searcher</a>, beginning the scoring process.</p><p>Once inside the Searcher, a- <a href="api/org/apache/lucene/search/HitCollector.html">HitCollector</a>+ <a href="api/core/org/apache/lucene/search/Collector.html">Collector</a>is used for the scoring and sorting of the search results.These important objects are involved in a search:<ol><li>The- <a href="api/org/apache/lucene/search/Weight.html">Weight</a>+ <a href="api/core/org/apache/lucene/search/Weight.html">Weight</a>object of the Query. The Weight object is an internal representation of the Query thatallows the Query to be reused by the Searcher.</li>@@ -531,12 +528,12 @@ document.write("Last Published: " + document.lastModified);<li>The Searcher that initiated the call.</li><li>A- <a href="api/org/apache/lucene/search/Filter.html">Filter</a>+ <a href="api/core/org/apache/lucene/search/Filter.html">Filter</a>for limiting the result set. Note, the Filter may be null.</li><li>A- <a href="api/org/apache/lucene/search/Sort.html">Sort</a>+ <a href="api/core/org/apache/lucene/search/Sort.html">Sort</a>object for specifying how to sort the results if the standard score based sort method is notdesired.</li>@@ -546,45 +543,45 @@ document.write("Last Published: " + document.lastModified);</p><p> Assuming we are not sorting (since sorting doesn'teffect the raw Lucene score),- we call one of the search method of the Searcher, passing in the- <a href="api/org/apache/lucene/search/Weight.html">Weight</a>+ we call one of the search methods of the Searcher, passing in the+ <a href="api/core/org/apache/lucene/search/Weight.html">Weight</a>object created by Searcher.createWeight(Query),- <a href="api/org/apache/lucene/search/Filter.html">Filter</a>+ <a href="api/core/org/apache/lucene/search/Filter.html">Filter</a>and the number of results we want. This methodreturns a- <a href="api/org/apache/lucene/search/TopDocs.html">TopDocs</a>+ <a href="api/core/org/apache/lucene/search/TopDocs.html">TopDocs</a>object, which is an internal collection of search results.The Searcher creates a- <a href="api/org/apache/lucene/search/TopDocCollector.html">TopDocCollector</a>+ <a href="api/core/org/apache/lucene/search/TopScoreDocCollector.html">TopScoreDocCollector</a>and passes it along with the Weight, Filter to another expert search method (for more on the- <a href="api/org/apache/lucene/search/HitCollector.html">HitCollector</a>+ <a href="api/core/org/apache/lucene/search/Collector.html">Collector</a>mechanism, see- <a href="api/org/apache/lucene/search/Searcher.html">Searcher</a>+ <a href="api/core/org/apache/lucene/search/Searcher.html">Searcher</a>.) The TopDocCollector uses a- <a href="api/org/apache/lucene/util/PriorityQueue.html">PriorityQueue</a>+ <a href="api/core/org/apache/lucene/util/PriorityQueue.html">PriorityQueue</a>to collect the top results for the search.</p><p>If a Filter is being used, some initial setup is done to determine which docs to include. Otherwise,we ask the Weight fora- <a href="api/org/apache/lucene/search/Scorer.html">Scorer</a>+ <a href="api/core/org/apache/lucene/search/Scorer.html">Scorer</a>for the- <a href="api/org/apache/lucene/index/IndexReader.html">IndexReader</a>+ <a href="api/core/org/apache/lucene/index/IndexReader.html">IndexReader</a>of the current searcher and we proceed bycalling the score method on the- <a href="api/org/apache/lucene/search/Scorer.html">Scorer</a>+ <a href="api/core/org/apache/lucene/search/Scorer.html">Scorer</a>.</p>-<p>At last, we are actually going to score some documents. The score method takes in the HitCollector- (most likely the TopDocCollector) and does its business.+<p>At last, we are actually going to score some documents. The score method takes in the Collector+ (most likely the TopScoreDocCollector or TopFieldCollector) and does its business.Of course, here is where things get involved. The- <a href="api/org/apache/lucene/search/Scorer.html">Scorer</a>+ <a href="api/core/org/apache/lucene/search/Scorer.html">Scorer</a>that is returned by the- <a href="api/org/apache/lucene/search/Weight.html">Weight</a>+ <a href="api/core/org/apache/lucene/search/Weight.html">Weight</a>object depends on what type of Query was submitted. In most real world applications with multiplequery terms,the- <a href="api/org/apache/lucene/search/Scorer.html">Scorer</a>+ <a href="api/core/org/apache/lucene/search/Scorer.html">Scorer</a>is going to be a<a href="http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/search/BooleanScorer2.java?view=log">BooleanScorer2</a>(see the section on customizing your scoring for info on changing this.)diff --git a/docs/scoring.pdf b/docs/scoring.pdfindex 4c202a59105..5e1f0624a06 100644--- a/docs/scoring.pdf+++ b/docs/scoring.pdf@@ -198,10 +198,10 @@ endobj>>endobj38 0 obj-<< /Length 2333 /Filter [ /ASCII85Decode /FlateDecode ]+<< /Length 2402 /Filter [ /ASCII85Decode /FlateDecode ]>>stream-Gau`UgN)%,&:O:SE2F.gAh8UZMN<cF:=Eh/-?bT.\do>YMQBB9!D(?3q^sN7(DIuB]hBg6fUtcSce5W@XPV`>]Y2)THJqtApj%&qgVgP;0SKK)T_j)p7hLUEck=Q+?$s;0oATjYkeaOfp=Hd)j`HjWZO=Bpb(bD+2*;bd,d`!c^9W4&r8jiW=4Y7U\%.`NqRaie>%EO8c),X'7Fd]G\j5T2nE=.T'dXS`o/p;/jRi1M0\Rp::Q)YVR?.ko?IWc.r[TIV"RX6lR31.9eSst!f):Xc%_S2(HOaT'"hXgIZ"fCm],Vaqk*@=1P)<_ljRG;BS.;#5WWY+CBdGPh>1<up1hd;'UK=R"ZX^'pm.R\qi`V2q%>h^;Ss32H-4tEYhN2j)@E=NF6I'8-UW59^Z:JYA,.8F(-T>Es#*7h7'cP$b&oZ4?D74N1=A#sam"!`8FRKrbYj;Ks;itCSrPl/P[&5d#=/>'"/Vom)F^kT8:,kM<2C5D+h=PA7lP5bGIZ%K<-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3hdP]HV`9gKcPqp6e";<0C"!jX6n9`k(t1OAWn#nBM'[email protected][c+Ybqq-F>00MY<<6&l]'X*G5"$53skg]un[f&SfZMNB,In"i8)@#Z[.?hGO)523(>mT,`!BXEV'Ni@(;Z5KpK5\F9s8c%3s8IL&<[!h-]o:[Y[=D\tt9AsT]W*%%r8o9F7=DGt^-&11X5lO`d@dUpI?V9IW+L@1glK=BIZZRTM/`rnT)"D(d-RPRlhUFm!hsZShQ9T?b<SKgg:gJps%^U6u'J9$3kL`SX%"666(5<s#MG58bY+ZiPZQVB50)Tn3a'7;tYU0>[acr(o)q^uqloLAmM)A.rP[[t3Y.FEWn6oQ7HR^<l0S6N-P8_<ETT\]iqlDNCW<_nAg9=F@L7$*mK*p;X2]">*S*5W'M_37m"]H>Q2Ds:*9QdHT?69_Ebn!Krl1iWS*kUQ7_Hp2O1VjrN9N=T#\S/9t\6J6c"&IQ$V.aJ#94;)2=`i=3IZ)bBiR<k?0D`N%4UZ^_+#p5=p>bnG6Puu^Fd+qD).*5KF7,2Ca\OIO`8)\Yi8"7ejcnMlDCt-nm,`kqiF1)opk+R?QafV/IMI*F&G9snEdSPqQT@Q)QZ]l_2PHTeB9iH=4'R">2YfMnr_;@K5nZZVZLFX1h8GG>L;l9(Hs<sJ3KBqJ39Y"I+S$m0n@X"?cB[cb!&=ZT-q\n1'#*.ZNYb&0\T$r#J1"ffXam:+b1"!e@eVP3"\f^~>endstreamendobj43 0 obj@@ -437,43 +437,43 @@ endobj21 0 obj<</S /GoTo-/D [39 0 R /XYZ 85.0 297.0 null]+/D [39 0 R /XYZ 85.0 310.2 null]>>endobj23 0 obj<</S /GoTo-/D [39 0 R /XYZ 85.0 245.747 null]+/D [39 0 R /XYZ 85.0 258.947 null]>>endobj25 0 obj<</S /GoTo-/D [39 0 R /XYZ 85.0 181.294 null]+/D [39 0 R /XYZ 85.0 194.494 null]>>endobj27 0 obj<</S /GoTo-/D [41 0 R /XYZ 85.0 624.6 null]+/D [41 0 R /XYZ 85.0 637.8 null]>>endobj29 0 obj<</S /GoTo-/D [41 0 R /XYZ 85.0 593.466 null]+/D [41 0 R /XYZ 85.0 606.666 null]>>endobj31 0 obj<</S /GoTo-/D [41 0 R /XYZ 85.0 542.213 null]+/D [41 0 R /XYZ 85.0 555.413 null]>>endobj33 0 obj<</S /GoTo-/D [41 0 R /XYZ 85.0 490.96 null]+/D [41 0 R /XYZ 85.0 504.16 null]>>endobj44 0 obj@@ -484,68 +484,68 @@ endobjxref0 630000000000 65535 f-0000017815 00000 n-0000017908 00000 n-0000018000 00000 n+0000017791 00000 n+0000017884 00000 n+0000017976 00000 n0000000015 00000 n0000000071 00000 n0000001068 00000 n0000001188 00000 n0000001297 00000 n-0000018123 00000 n+0000018099 00000 n0000001432 00000 n-0000018186 00000 n+0000018162 00000 n0000001569 00000 n-0000018252 00000 n+0000018228 00000 n0000001706 00000 n-0000018318 00000 n+0000018294 00000 n0000001843 00000 n-0000018382 00000 n+0000018358 00000 n0000001979 00000 n-0000018448 00000 n+0000018424 00000 n0000002116 00000 n-0000018514 00000 n+0000018490 00000 n0000002253 00000 n-0000018578 00000 n+0000018554 00000 n0000002389 00000 n-0000018644 00000 n+0000018620 00000 n0000002526 00000 n-0000018710 00000 n+0000018686 00000 n0000002663 00000 n-0000018774 00000 n+0000018750 00000 n0000002799 00000 n-0000018840 00000 n+0000018816 00000 n0000002935 00000 n-0000018906 00000 n+0000018882 00000 n0000003072 00000 n0000005698 00000 n0000005806 00000 n0000008135 00000 n0000008243 00000 n-0000010669 00000 n-0000010777 00000 n-0000012873 00000 n-0000012981 00000 n-0000014399 00000 n-0000018971 00000 n-0000014507 00000 n-0000014670 00000 n-0000014858 00000 n-0000015078 00000 n-0000015277 00000 n-0000015588 00000 n-0000015792 00000 n-0000015985 00000 n-0000016200 00000 n-0000016521 00000 n-0000016701 00000 n-0000016886 00000 n-0000017103 00000 n-0000017259 00000 n-0000017372 00000 n-0000017482 00000 n-0000017590 00000 n-0000017706 00000 n+0000010738 00000 n+0000010846 00000 n+0000012897 00000 n+0000013005 00000 n+0000014375 00000 n+0000018947 00000 n+0000014483 00000 n+0000014646 00000 n+0000014834 00000 n+0000015054 00000 n+0000015253 00000 n+0000015564 00000 n+0000015768 00000 n+0000015961 00000 n+0000016176 00000 n+0000016497 00000 n+0000016677 00000 n+0000016862 00000 n+0000017079 00000 n+0000017235 00000 n+0000017348 00000 n+0000017458 00000 n+0000017566 00000 n+0000017682 00000 ntrailer<</Size 63@@ -553,5 +553,5 @@ trailer/Info 4 0 R>>startxref-19022+18998%%EOFdiff --git a/docs/skin/images/rc-b-l-15-1body-2menu-3menu.png b/docs/skin/images/rc-b-l-15-1body-2menu-3menu.pngindex dd790d31697..cdb460a1da7 100644Binary files a/docs/skin/images/rc-b-l-15-1body-2menu-3menu.png and b/docs/skin/images/rc-b-l-15-1body-2menu-3menu.png differdiff --git a/docs/skin/images/rc-b-r-15-1body-2menu-3menu.png b/docs/skin/images/rc-b-r-15-1body-2menu-3menu.pngindex 790f43fa388..3eff254fd17 100644Binary files a/docs/skin/images/rc-b-r-15-1body-2menu-3menu.png and b/docs/skin/images/rc-b-r-15-1body-2menu-3menu.png differdiff --git a/docs/skin/images/rc-b-r-5-1header-2tab-selected-3tab-selected.png b/docs/skin/images/rc-b-r-5-1header-2tab-selected-3tab-selected.pngindex 1987c0aa476..b175f27b16e 100644Binary files a/docs/skin/images/rc-b-r-5-1header-2tab-selected-3tab-selected.png and b/docs/skin/images/rc-b-r-5-1header-2tab-selected-3tab-selected.png differdiff --git a/docs/skin/images/rc-t-l-5-1header-2searchbox-3searchbox.png b/docs/skin/images/rc-t-l-5-1header-2searchbox-3searchbox.pngindex b69812acfd7..e9f4440d1f5 100644Binary files a/docs/skin/images/rc-t-l-5-1header-2searchbox-3searchbox.png and b/docs/skin/images/rc-t-l-5-1header-2searchbox-3searchbox.png differdiff --git a/docs/skin/images/rc-t-l-5-1header-2tab-selected-3tab-selected.png b/docs/skin/images/rc-t-l-5-1header-2tab-selected-3tab-selected.pngindex 07e5ebeb723..f1e015b36c3 100644Binary files a/docs/skin/images/rc-t-l-5-1header-2tab-selected-3tab-selected.png and b/docs/skin/images/rc-t-l-5-1header-2tab-selected-3tab-selected.png differdiff --git a/docs/skin/images/rc-t-l-5-1header-2tab-unselected-3tab-unselected.png b/docs/skin/images/rc-t-l-5-1header-2tab-unselected-3tab-unselected.pngindex b69812acfd7..e9f4440d1f5 100644Binary files a/docs/skin/images/rc-t-l-5-1header-2tab-unselected-3tab-unselected.png and b/docs/skin/images/rc-t-l-5-1header-2tab-unselected-3tab-unselected.png differdiff --git a/docs/skin/images/rc-t-r-15-1body-2menu-3menu.png b/docs/skin/images/rc-t-r-15-1body-2menu-3menu.pngindex 5e44a80812b..29388b5efc9 100644Binary files a/docs/skin/images/rc-t-r-15-1body-2menu-3menu.png and b/docs/skin/images/rc-t-r-15-1body-2menu-3menu.png differdiff --git a/docs/skin/images/rc-t-r-5-1header-2searchbox-3searchbox.png b/docs/skin/images/rc-t-r-5-1header-2searchbox-3searchbox.pngindex cbaea9c9a7e..944ed73333d 100644Binary files a/docs/skin/images/rc-t-r-5-1header-2searchbox-3searchbox.png and b/docs/skin/images/rc-t-r-5-1header-2searchbox-3searchbox.png differdiff --git a/docs/skin/images/rc-t-r-5-1header-2tab-selected-3tab-selected.png b/docs/skin/images/rc-t-r-5-1header-2tab-selected-3tab-selected.pngindex 6fe87de6193..c4d4a8c7ce3 100644Binary files a/docs/skin/images/rc-t-r-5-1header-2tab-selected-3tab-selected.png and b/docs/skin/images/rc-t-r-5-1header-2tab-selected-3tab-selected.png differdiff --git a/docs/skin/images/rc-t-r-5-1header-2tab-unselected-3tab-unselected.png b/docs/skin/images/rc-t-r-5-1header-2tab-unselected-3tab-unselected.pngindex cbaea9c9a7e..944ed73333d 100644Binary files a/docs/skin/images/rc-t-r-5-1header-2tab-unselected-3tab-unselected.png and b/docs/skin/images/rc-t-r-5-1header-2tab-unselected-3tab-unselected.png differdiff --git a/src/site/src/documentation/content/xdocs/demo2.xml b/src/site/src/documentation/content/xdocs/demo2.xmlindex d74a1516942..c4634ff9b84 100644--- a/src/site/src/documentation/content/xdocs/demo2.xml+++ b/src/site/src/documentation/content/xdocs/demo2.xml@@ -39,15 +39,15 @@ Bring it up in <code>vi</code> or your editor of choice and let's take a look at<p>As we discussed in the previous walk-through, the <code><a-href="api/org/apache/lucene/demo/IndexFiles.html">IndexFiles</a></code> class creates a Lucene+href="api/core/org/apache/lucene/demo/IndexFiles.html">IndexFiles</a></code> class creates a LuceneIndex. Let's take a look at how it does this.</p><p>The first substantial thing the <code>main</code> function does is instantiate <code><a-href="api/org/apache/lucene/index/IndexWriter.html">IndexWriter</a></code>. It passes the string+href="api/core/org/apache/lucene/index/IndexWriter.html">IndexWriter</a></code>. It passes the string"<code>index</code>" and a new instance of a class called <code><a-href="api/org/apache/lucene/analysis/standard/StandardAnalyzer.html">StandardAnalyzer</a></code>.+href="api/core/org/apache/lucene/analysis/standard/StandardAnalyzer.html">StandardAnalyzer</a></code>.The "<code>index</code>" string is the name of the filesystem directory where all index informationshould be stored. Because we're not passing a full path, this will be created as a subdirectory ofthe current working directory (if it does not already exist). On some platforms, it may be created@@ -55,45 +55,45 @@ in other directories (such as the user's home directory).</p><p>-The <code><a href="api/org/apache/lucene/index/IndexWriter.html">IndexWriter</a></code> is the main+The <code><a href="api/core/org/apache/lucene/index/IndexWriter.html">IndexWriter</a></code> is the mainclass responsible for creating indices. To use it you must instantiate it with a path that it canwrite the index into. If this path does not exist it will first create it. Otherwise it willrefresh the index at that path. You can also create an index using one of the subclasses of <code><a-href="api/org/apache/lucene/store/Directory.html">Directory</a></code>. In any case, you must also pass an+href="api/core/org/apache/lucene/store/Directory.html">Directory</a></code>. In any case, you must also pass aninstance of <code><a-href="api/org/apache/lucene/analysis/Analyzer.html">org.apache.lucene.analysis.Analyzer</a></code>.+href="api/core/org/apache/lucene/analysis/Analyzer.html">org.apache.lucene.analysis.Analyzer</a></code>.</p><p>-The particular <code><a href="api/org/apache/lucene/analysis/Analyzer.html">Analyzer</a></code> we+The particular <code><a href="api/core/org/apache/lucene/analysis/Analyzer.html">Analyzer</a></code> weare using, <code><a-href="api/org/apache/lucene/analysis/standard/StandardAnalyzer.html">StandardAnalyzer</a></code>, is+href="api/core/org/apache/lucene/analysis/standard/StandardAnalyzer.html">StandardAnalyzer</a></code>, islittle more than a standard Java Tokenizer, converting all strings to lowercase and filtering out-useless words and characters from the index. By useless words and characters I mean common language-words such as articles (a, an, the, etc.) and other strings that would be useless for searching+stop words and characters from the index. By stop words and characters I mean common language+words such as articles (a, an, the, etc.) and other strings that may have less value for searching(e.g. <b>'s</b>) . It should be noted that there are different rules for every language, and youshould use the proper analyzer for each. Lucene currently provides Analyzers for a number ofdifferent languages (see the <code>*Analyzer.java</code> sources under <a-href="http://svn.apache.org/repos/asf/lucene/java/trunk/contrib/analyzers/src/java/org/apache/lucene/analysis/">contrib/analyzers/src/java/org/apache/lucene/analysis</a>).+href="http://svn.apache.org/repos/asf/lucene/java/trunk/contrib/analyzers/common/src/java/org/apache/lucene/analysis/">contrib/analyzers/src/java/org/apache/lucene/analysis</a>).</p><p>Looking further down in the file, you should see the <code>indexDocs()</code> code. This recursivefunction simply crawls the directories and uses <code><a-href="api/org/apache/lucene/demo/FileDocument.html">FileDocument</a></code> to create <code><a-href="api/org/apache/lucene/document/Document.html">Document</a></code> objects. The <code><a-href="api/org/apache/lucene/document/Document.html">Document</a></code> is simply a data object to+href="api/core/org/apache/lucene/demo/FileDocument.html">FileDocument</a></code> to create <code><a+href="api/core/org/apache/lucene/document/Document.html">Document</a></code> objects. The <code><a+href="api/core/org/apache/lucene/document/Document.html">Document</a></code> is simply a data object torepresent the content in the file as well as its creation time and location. These instances areadded to the <code>indexWriter</code>. Take a look inside <code><a-href="api/org/apache/lucene/demo/FileDocument.html">FileDocument</a></code>. It's not particularly+href="api/core/org/apache/lucene/demo/FileDocument.html">FileDocument</a></code>. It's not particularlycomplicated. It just adds fields to the <code><a-href="api/org/apache/lucene/document/Document.html">Document</a></code>.+href="api/core/org/apache/lucene/document/Document.html">Document</a></code>.</p><p>As you can see there isn't much to creating an index. The devil is in the details. You may alsowish to examine the other samples in this directory, particularly the <code><a-href="api/org/apache/lucene/demo/IndexHTML.html">IndexHTML</a></code> class. It is a bit more+href="api/core/org/apache/lucene/demo/IndexHTML.html">IndexHTML</a></code> class. It is a bit morecomplex but builds upon this example.</p>@@ -102,28 +102,28 @@ complex but builds upon this example.<section id="Searching Files"><title>Searching Files</title><p>-The <code><a href="api/org/apache/lucene/demo/SearchFiles.html">SearchFiles</a></code> class is+The <code><a href="api/core/org/apache/lucene/demo/SearchFiles.html">SearchFiles</a></code> class isquite simple. It primarily collaborates with an <code><a-href="api/org/apache/lucene/search/IndexSearcher.html">IndexSearcher</a></code>, <code><a-href="api/org/apache/lucene/analysis/standard/StandardAnalyzer.html">StandardAnalyzer</a></code>+href="api/core/org/apache/lucene/search/IndexSearcher.html">IndexSearcher</a></code>, <code><a+href="api/core/org/apache/lucene/analysis/standard/StandardAnalyzer.html">StandardAnalyzer</a></code>(which is used in the <code><a-href="api/org/apache/lucene/demo/IndexFiles.html">IndexFiles</a></code> class as well) and a-<code><a href="api/org/apache/lucene/queryParser/QueryParser.html">QueryParser</a></code>. The+href="api/core/org/apache/lucene/demo/IndexFiles.html">IndexFiles</a></code> class as well) and a+<code><a href="api/core/org/apache/lucene/queryParser/QueryParser.html">QueryParser</a></code>. Thequery parser is constructed with an analyzer used to interpret your query text in the same way thedocuments are interpreted: finding the end of words and removing useless words like 'a', 'an' and-'the'. The <code><a href="api/org/apache/lucene/search/Query.html">Query</a></code> object contains+'the'. The <code><a href="api/core/org/apache/lucene/search/Query.html">Query</a></code> object containsthe results from the <code><a-href="api/org/apache/lucene/queryParser/QueryParser.html">QueryParser</a></code> which is passed to+href="api/core/org/apache/lucene/queryParser/QueryParser.html">QueryParser</a></code> which is passed tothe searcher. Note that it's also possible to programmatically construct a rich <code><a-href="api/org/apache/lucene/search/Query.html">Query</a></code> object without using the query+href="api/core/org/apache/lucene/search/Query.html">Query</a></code> object without using the queryparser. The query parser just enables decoding the <a href="queryparsersyntax.html">Lucene querysyntax</a> into the corresponding <code><a-href="api/org/apache/lucene/search/Query.html">Query</a></code> object. Search can be executed in+href="api/core/org/apache/lucene/search/Query.html">Query</a></code> object. Search can be executed intwo different ways:<ul>-<li>Streaming: A <code><a href="api/org/apache/lucene/search/HitCollector.html">HitCollector</a></code> subclass+<li>Streaming: A <code><a href="api/core/org/apache/lucene/search/HitCollector.html">HitCollector</a></code> subclasssimply prints out the document ID and score for each matching document.</li>-<li>Paging: Using a <code><a href="api/org/apache/lucene/search/TopDocCollector.html">TopDocCollector</a></code>+<li>Paging: Using a <code><a href="api/core/org/apache/lucene/search/TopDocCollector.html">TopDocCollector</a></code>the search results are printed in pages, sorted by score (i. e. relevance).</li></ul></p>diff --git a/src/site/src/documentation/content/xdocs/scoring.xml b/src/site/src/documentation/content/xdocs/scoring.xmlindex dac9a015d80..f03c264ca7a 100644--- a/src/site/src/documentation/content/xdocs/scoring.xml+++ b/src/site/src/documentation/content/xdocs/scoring.xml@@ -34,10 +34,10 @@<a href="http://wiki.apache.org/lucene-java/InformationRetrieval">Lucene Wiki IR references</a>.</p><p>The rest of this document will cover <a href="#Scoring">Scoring</a> basics and how to change your- <a href="api/org/apache/lucene/search/Similarity.html">Similarity</a>. Next it will cover ways you can+ <a href="api/core/org/apache/lucene/search/Similarity.html">Similarity</a>. Next it will cover ways you cancustomize the Lucene internals in <a href="#Changing your Scoring -- Expert Level">Changing your Scoring-- Expert Level</a> which gives details on implementing your own- <a href="api/org/apache/lucene/search/Query.html">Query</a> class and related functionality. Finally, we+ <a href="api/core/org/apache/lucene/search/Query.html">Query</a> class and related functionality. Finally, wewill finish up with some reference material in the <a href="#Appendix">Appendix</a>.</p></section>@@ -48,20 +48,20 @@and the Lucene<a href="fileformats.html">file formats</a>before continuing on with this section.) It is also assumed that readers know how to use the- <a href="api/org/apache/lucene/search/Searcher.html#explain(Query query, int doc)">Searcher.explain(Query query, int doc)</a> functionality,+ <a href="api/core/org/apache/lucene/search/Searcher.html#explain(Query query, int doc)">Searcher.explain(Query query, int doc)</a> functionality,which can go a long way in informing why a score is returned.</p><section id="Fields and Documents"><title>Fields and Documents</title><p>In Lucene, the objects we are scoring are- <a href="api/org/apache/lucene/document/Document.html">Documents</a>. A Document is a collection+ <a href="api/core/org/apache/lucene/document/Document.html">Documents</a>. A Document is a collectionof- <a href="api/org/apache/lucene/document/Field.html">Fields</a>. Each Field has semantics about how+ <a href="api/core/org/apache/lucene/document/Field.html">Fields</a>. Each Field has semantics about howit is created and stored (i.e. tokenized, untokenized, raw data, compressed, etc.) It is important tonote that Lucene scoring works on Fields and then combines the results to return Documents. This isimportant because two Documents with the exact same content, but one having the content in two Fieldsand the other in one Field will return different scores for the same query due to length normalization(assumming the- <a href="api/org/apache/lucene/search/DefaultSimilarity.html">DefaultSimilarity</a>+ <a href="api/core/org/apache/lucene/search/DefaultSimilarity.html">DefaultSimilarity</a>on the Fields).</p></section>@@ -70,17 +70,17 @@<ul><li><b>Document level boosting</b>- while indexing - by calling- <a href="api/org/apache/lucene/document/Document.html#setBoost(float)">document.setBoost()</a>+ <a href="api/core/org/apache/lucene/document/Document.html#setBoost(float)">document.setBoost()</a>before a document is added to the index.</li><li><b>Document's Field level boosting</b>- while indexing - by calling- <a href="api/org/apache/lucene/document/Fieldable.html#setBoost(float)">field.setBoost()</a>+ <a href="api/core/org/apache/lucene/document/Fieldable.html#setBoost(float)">field.setBoost()</a>before adding a field to the document (and before adding the document to the index).</li><li><b>Query level boosting</b>- during search, by setting a boost on a query clause, calling- <a href="api/org/apache/lucene/search/Query.html#setBoost(float)">Query.setBoost()</a>.+ <a href="api/core/org/apache/lucene/search/Query.html#setBoost(float)">Query.setBoost()</a>.</li></ul></p>@@ -99,68 +99,68 @@<p>This composition of 1-byte representation of norms(that is, indexing time multiplication of field boosts & doc boost & field-length-norm)is nicely described in- <a href="api/org/apache/lucene/document/Fieldable.html#setBoost(float)">Fieldable.setBoost()</a>.+ <a href="api/core/org/apache/lucene/document/Fieldable.html#setBoost(float)">Fieldable.setBoost()</a>.</p><p>Encoding and decoding of the resulted float norm in a single byte are done by thestatic methods of the class Similarity:- <a href="api/org/apache/lucene/search/Similarity.html#encodeNorm(float)">encodeNorm()</a> and- <a href="api/org/apache/lucene/search/Similarity.html#decodeNorm(byte)">decodeNorm()</a>.+ <a href="api/core/org/apache/lucene/search/Similarity.html#encodeNorm(float)">encodeNorm()</a> and+ <a href="api/core/org/apache/lucene/search/Similarity.html#decodeNorm(byte)">decodeNorm()</a>.Due to loss of precision, it is not guaranteed that decode(encode(x)) = x,e.g. decode(encode(0.89)) = 0.75.At scoring (search) time, this norm is brought into the score of documentas <b>norm(t, d)</b>, as shown by the formula in- <a href="api/org/apache/lucene/search/Similarity.html">Similarity</a>.+ <a href="api/core/org/apache/lucene/search/Similarity.html">Similarity</a>.</p></section><section id="Understanding the Scoring Formula"><title>Understanding the Scoring Formula</title><p>This scoring formula is described in the- <a href="api/org/apache/lucene/search/Similarity.html">Similarity</a> class. Please take the time to study this formula, as it contains much of the information about how the+ <a href="api/core/org/apache/lucene/search/Similarity.html">Similarity</a> class. Please take the time to study this formula, as it contains much of the information about how thebasics of Lucene scoring work, especially the- <a href="api/org/apache/lucene/search/TermQuery.html">TermQuery</a>.+ <a href="api/core/org/apache/lucene/search/TermQuery.html">TermQuery</a>.</p></section><section id="The Big Picture"><title>The Big Picture</title><p>OK, so the tf-idf formula and the- <a href="api/org/apache/lucene/search/Similarity.html">Similarity</a>+ <a href="api/core/org/apache/lucene/search/Similarity.html">Similarity</a>is great for understanding the basics of Lucene scoring, but what really drives Lucene scoring arethe use and interactions between the- <a href="api/org/apache/lucene/search/Query.html">Query</a> classes, as created by each application in+ <a href="api/core/org/apache/lucene/search/Query.html">Query</a> classes, as created by each application inresponse to a user's information need.</p>- <p>In this regard, Lucene offers a wide variety of <a href="api/org/apache/lucene/search/Query.html">Query</a> implementations, most of which are in the- <a href="api/org/apache/lucene/search/package-summary.html">org.apache.lucene.search</a> package.+ <p>In this regard, Lucene offers a wide variety of <a href="api/core/org/apache/lucene/search/Query.html">Query</a> implementations, most of which are in the+ <a href="api/core/org/apache/lucene/search/package-summary.html">org.apache.lucene.search</a> package.These implementations can be combined in a wide variety of ways to provide complex queryingcapabilities along withinformation about where matches took place in the document collection. The <a href="#Query Classes">Query</a>section belowhighlights some of the more important Query classes. For information on the other ones, see the- <a href="api/org/apache/lucene/search/package-summary.html">package summary</a>. For details on implementing+ <a href="api/core/org/apache/lucene/search/package-summary.html">package summary</a>. For details on implementingyour own Query class, see <a href="#Changing your Scoring -- Expert Level">Changing your Scoring --Expert Level</a> below.</p><p>Once a Query has been created and submitted to the- <a href="api/org/apache/lucene/search/IndexSearcher.html">IndexSearcher</a>, the scoring process+ <a href="api/core/org/apache/lucene/search/IndexSearcher.html">IndexSearcher</a>, the scoring processbegins. (See the <ahref="#Appendix">Appendix</a> Algorithm section for more notes on the process.) After some infrastructure setup,- control finally passes to the <a href="api/org/apache/lucene/search/Weight.html">Weight</a> implementation and its- <a href="api/org/apache/lucene/search/Scorer.html">Scorer</a> instance. In the case of any type of- <a href="api/org/apache/lucene/search/BooleanQuery.html">BooleanQuery</a>, scoring is handled by the+ control finally passes to the <a href="api/core/org/apache/lucene/search/Weight.html">Weight</a> implementation and its+ <a href="api/core/org/apache/lucene/search/Scorer.html">Scorer</a> instance. In the case of any type of+ <a href="api/core/org/apache/lucene/search/BooleanQuery.html">BooleanQuery</a>, scoring is handled by the<a href="http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/search/BooleanQuery.java?view=log">BooleanWeight2</a> (link goes to ViewVC BooleanQuery java code which contains the BooleanWeight2 inner class),- unless the static- <a href="api/org/apache/lucene/search/BooleanQuery.html#setUseScorer14(boolean)">- BooleanQuery#setUseScorer14(boolean)</a> method is set to true,+ unless+ <a href="api/core/org/apache/lucene/search/Weight.html#scoresDocsOutOfOrder()">+ Weight#scoresDocsOutOfOrder()</a> method is set to true,in which case the<a href="http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/search/BooleanQuery.java?view=log">BooleanWeight</a>(link goes to ViewVC BooleanQuery java code, which contains the BooleanWeight inner class) from the 1.4 version of Lucene is used by default.See <a href="http://svn.apache.org/repos/asf/lucene/java/trunk/CHANGES.txt">CHANGES.txt</a> under release 1.9 RC1 for more information on choosing which Scorer to use.</p>- <p>+ <p>ry#setUseScorer14(boolean)Assuming the use of the BooleanWeight2, aBooleanScorer2 is created by bringing togetherall of the- <a href="api/org/apache/lucene/search/Scorer.html">Scorer</a>s from the sub-clauses of the BooleanQuery.+ <a href="api/core/org/apache/lucene/search/Scorer.html">Scorer</a>s from the sub-clauses of the BooleanQuery.When the BooleanScorer2 is asked to score it delegates its work to an internal Scorer based on the typeof clauses in the Query. This internal Scorer essentially loops over the sub scorers and sums the scoresprovided by each scorer while factoring in the coord() score.@@ -169,20 +169,20 @@</section><section id="Query Classes"><title>Query Classes</title><p>For information on the Query Classes, refer to the- <a href="api/org/apache/lucene/search/package-summary.html#query">search package javadocs</a>+ <a href="api/core/org/apache/lucene/search/package-summary.html#query">search package javadocs</a></p></section><section id="Changing Similarity"><title>Changing Similarity</title><p>One of the ways of changing the scoring characteristics of Lucene is to change the similarity factors. For information onhow to do this, see the- <a href="api/org/apache/lucene/search/package-summary.html#changingSimilarity">search package javadocs</a></p>+ <a href="api/core/org/apache/lucene/search/package-summary.html#changingSimilarity">search package javadocs</a></p></section></section><section id="Changing your Scoring -- Expert Level"><title>Changing your Scoring -- Expert Level</title><p>At a much deeper level, one can affect scoring by implementing their own Query classes (and related scoring classes.) To learn moreabout how to do this, refer to the- <a href="api/org/apache/lucene/search/package-summary.html#scoring">search package javadocs</a>+ <a href="api/core/org/apache/lucene/search/package-summary.html#scoring">search package javadocs</a></p></section>@@ -200,29 +200,29 @@<p>This section is mostly notes on stepping through the Scoring process and serves asfertilizer for the earlier sections.</p><p>In the typical search application, a- <a href="api/org/apache/lucene/search/Query.html">Query</a>+ <a href="api/core/org/apache/lucene/search/Query.html">Query</a>is passed to the<a- href="api/org/apache/lucene/search/Searcher.html">Searcher</a>+ href="api/core/org/apache/lucene/search/Searcher.html">Searcher</a>, beginning the scoring process.</p><p>Once inside the Searcher, a- <a href="api/org/apache/lucene/search/HitCollector.html">HitCollector</a>+ <a href="api/core/org/apache/lucene/search/Collector.html">Collector</a>is used for the scoring and sorting of the search results.These important objects are involved in a search:<ol><li>The- <a href="api/org/apache/lucene/search/Weight.html">Weight</a>+ <a href="api/core/org/apache/lucene/search/Weight.html">Weight</a>object of the Query. The Weight object is an internal representation of the Query thatallows the Query to be reused by the Searcher.</li><li>The Searcher that initiated the call.</li><li>A- <a href="api/org/apache/lucene/search/Filter.html">Filter</a>+ <a href="api/core/org/apache/lucene/search/Filter.html">Filter</a>for limiting the result set. Note, the Filter may be null.</li><li>A- <a href="api/org/apache/lucene/search/Sort.html">Sort</a>+ <a href="api/core/org/apache/lucene/search/Sort.html">Sort</a>object for specifying how to sort the results if the standard score based sort method is notdesired.</li>@@ -230,45 +230,45 @@</p><p> Assuming we are not sorting (since sorting doesn'teffect the raw Lucene score),- we call one of the search method of the Searcher, passing in the- <a href="api/org/apache/lucene/search/Weight.html">Weight</a>+ we call one of the search methods of the Searcher, passing in the+ <a href="api/core/org/apache/lucene/search/Weight.html">Weight</a>object created by Searcher.createWeight(Query),- <a href="api/org/apache/lucene/search/Filter.html">Filter</a>+ <a href="api/core/org/apache/lucene/search/Filter.html">Filter</a>and the number of results we want. This methodreturns a- <a href="api/org/apache/lucene/search/TopDocs.html">TopDocs</a>+ <a href="api/core/org/apache/lucene/search/TopDocs.html">TopDocs</a>object, which is an internal collection of search results.The Searcher creates a- <a href="api/org/apache/lucene/search/TopDocCollector.html">TopDocCollector</a>+ <a href="api/core/org/apache/lucene/search/TopScoreDocCollector.html">TopScoreDocCollector</a>and passes it along with the Weight, Filter to another expert search method (for more on the- <a href="api/org/apache/lucene/search/HitCollector.html">HitCollector</a>+ <a href="api/core/org/apache/lucene/search/Collector.html">Collector</a>mechanism, see- <a href="api/org/apache/lucene/search/Searcher.html">Searcher</a>+ <a href="api/core/org/apache/lucene/search/Searcher.html">Searcher</a>.) The TopDocCollector uses a- <a href="api/org/apache/lucene/util/PriorityQueue.html">PriorityQueue</a>+ <a href="api/core/org/apache/lucene/util/PriorityQueue.html">PriorityQueue</a>to collect the top results for the search.</p><p>If a Filter is being used, some initial setup is done to determine which docs to include. Otherwise,we ask the Weight fora- <a href="api/org/apache/lucene/search/Scorer.html">Scorer</a>+ <a href="api/core/org/apache/lucene/search/Scorer.html">Scorer</a>for the- <a href="api/org/apache/lucene/index/IndexReader.html">IndexReader</a>+ <a href="api/core/org/apache/lucene/index/IndexReader.html">IndexReader</a>of the current searcher and we proceed bycalling the score method on the- <a href="api/org/apache/lucene/search/Scorer.html">Scorer</a>+ <a href="api/core/org/apache/lucene/search/Scorer.html">Scorer</a>.</p>- <p>At last, we are actually going to score some documents. The score method takes in the HitCollector- (most likely the TopDocCollector) and does its business.+ <p>At last, we are actually going to score some documents. The score method takes in the Collector+ (most likely the TopScoreDocCollector or TopFieldCollector) and does its business.Of course, here is where things get involved. The- <a href="api/org/apache/lucene/search/Scorer.html">Scorer</a>+ <a href="api/core/org/apache/lucene/search/Scorer.html">Scorer</a>that is returned by the- <a href="api/org/apache/lucene/search/Weight.html">Weight</a>+ <a href="api/core/org/apache/lucene/search/Weight.html">Weight</a>object depends on what type of Query was submitted. In most real world applications with multiplequery terms,the- <a href="api/org/apache/lucene/search/Scorer.html">Scorer</a>+ <a href="api/core/org/apache/lucene/search/Scorer.html">Scorer</a>is going to be a<a href="http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/search/BooleanScorer2.java?view=log">BooleanScorer2</a>(see the section on customizing your scoring for info on changing this.)