Apache Lucene open-source search software
Fixed a typo when converting from the term IBM to the term jakarta in the boosting example.
Peter Carlsond1877d223934
diff --git a/docs/queryparsersyntax.html b/docs/queryparsersyntax.htmlindex 82127d43913..d60f7dab39c 100644--- a/docs/queryparsersyntax.html+++ b/docs/queryparsersyntax.html@@ -413,7 +413,7 @@</tr></table></div>- <p>This will make documents with the term IBM appear more relevant. You can also boost Phrase Terms as in the example: </p>+ <p>This will make documents with the term jakarta appear more relevant. You can also boost Phrase Terms as in the example: </p><div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr>@@ -433,7 +433,7 @@</tr></table></div>- <p>By default, the boost factor is 1.</p>+ <p>By default, the boost factor is 1. Although, the boost factor must be positive, it can be less than 1 (i.e. .2)</p></blockquote></td></tr><tr><td><br/></td></tr>diff --git a/xdocs/queryparsersyntax.xml b/xdocs/queryparsersyntax.xmlindex cd134648df2..1c60ecdb7a0 100644--- a/xdocs/queryparsersyntax.xml+++ b/xdocs/queryparsersyntax.xml@@ -79,10 +79,10 @@<p>and you want the term "jakarta" to be more relevant boost it using the ^ symbol along with the boost factor next to the term.You would type:</p><source>jakarta^4 apache</source>- <p>This will make documents with the term IBM appear more relevant. You can also boost Phrase Terms as in the example: </p>+ <p>This will make documents with the term jakarta appear more relevant. You can also boost Phrase Terms as in the example: </p><source>"jakarta apache"^4 "jakarta lucene"</source>- <p>By default, the boost factor is 1.</p>+ <p>By default, the boost factor is 1. Although, the boost factor must be positive, it can be less than 1 (i.e. .2)</p></subsection></section>