Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

Fix for LUCENE-499: documentation improvements prior to 1.9 release. Contributed by Hoss.

Doug Cuttingf388a1088a07
diff --git a/README.txt b/README.txt
index bda3f0f0200..50a5270a478 100644
--- a/README.txt
+++ b/README.txt
@@ -22,11 +22,19 @@ lucene-core-XX.jar
lucene-demos-XX.jar
The compiled simple example code.
+luceneweb.war
+ The compiled simple example Web Application.
+
+contrib/*
+ Contributed code which extends and enhances Lucene, but is not
+ part of the core library.
+
docs/index.html
The contents of the Lucene website.
docs/api/index.html
- The Javadoc Lucene API documentation.
+ The Javadoc Lucene API documentation. This includes the core
+ library, the demo, as well as all of the contrib modules.
src/java
The Lucene source code.
diff --git a/build.xml b/build.xml
index ed43fe0bd21..041dbdb7b91 100644
--- a/build.xml
+++ b/build.xml
@@ -364,25 +364,45 @@
<tag name="todo" description="To Do:"/>
<!-- TODO: find a dynamic way to do include multiple source roots -->
+
<packageset dir="src/java"/>
+
+ <packageset dir="src/demo"/>
+
<packageset dir="contrib/analyzers/src/java"/>
- <packageset dir="contrib/wordnet/src/java"/>
+ <packageset dir="contrib/ant/src/java"/>
<packageset dir="contrib/highlighter/src/java"/>
+ <packageset dir="contrib/lucli/src/java"/>
+ <packageset dir="contrib/memory/src/java"/>
+ <packageset dir="contrib/miscellaneous/src/java"/>
<packageset dir="contrib/similarity/src/java"/>
- <packageset dir="contrib/spellchecker/src/java"/>
+ <packageset dir="contrib/regex/src/java"/>
<packageset dir="contrib/snowball/src/java"/>
+ <packageset dir="contrib/spellchecker/src/java"/>
+ <packageset dir="contrib/surround/src/java"/>
<packageset dir="contrib/swing/src/java"/>
- <packageset dir="contrib/memory/src/java"/>
+ <packageset dir="contrib/wordnet/src/java"/>
<group title="Core" packages="org.apache.*:org.apache.lucene.analysis:org.apache.lucene.analysis.standard*"/>
+
+ <group title="Demo" packages="org.apache.lucene.demo*"/>
+
<group title="Analysis" packages="org.apache.lucene.analysis.*"/>
- <group title="Snowball Stemmers" packages="org.apache.lucene.analysis.snowball*:net.sf.snowball*"/>
+ <group title="Ant" packages="org.apache.lucene.ant*"/>
+
<group title="Highlighter" packages="org.apache.lucene.search.highlight*"/>
+ <group title="Lucli" packages="lucli*"/>
+ <group title="Memory" packages="org.apache.lucene.index.memory*"/>
+ <group title="Miscellaneous " packages="org.apache.lucene.misc*:org.apache.lucene.queryParser.analyzing*:org.apache.lucene.queryParser.precedence*"/>
<group title="MoreLikeThis" packages="org.apache.lucene.search.similar*"/>
- <group title="SpellChecker" packages="org.apache.lucene.search.spell*"/>
- <group title="WordNet" packages="org.apache.lucene.wordnet*"/>
+ <group title="RegEx" packages="org.apache.lucene.search.regex*:org.apache.regexp*"/>
+ <group title="Snowball Stemmers" packages="org.apache.lucene.analysis.snowball*:net.sf.snowball*"/>
+ <group title="SpellChecker" packages="org.apache.lucene.search.spell*"/>
+ <group title="Surround Parser" packages="org.apache.lucene.queryParser.surround*"/>
<group title="Swing" packages="org.apache.lucene.swing*"/>
- <group title="Memory" packages="org.apache.lucene.index.memory*"/>
+ <group title="WordNet" packages="org.apache.lucene.wordnet*"/>
+
+
</javadoc>
</sequential>
</macrodef>
diff --git a/docs/fileformats.html b/docs/fileformats.html
index 1312844c14f..884f6dfc289 100644
--- a/docs/fileformats.html
+++ b/docs/fileformats.html
@@ -113,7 +113,10 @@ limitations under the License.
<blockquote>
<p>
This document defines the index file formats used
- in Lucene version 1.4 and above.
+ in Lucene version 1.9. If you are using a different
+ version of Lucene, pelase consult the copy of
+ <code>docs/fileformats.html</code> that was distributed
+ with the version you are using.
</p>
<p>
Apache Lucene is written in Java, but several
diff --git a/docs/queryparsersyntax.html b/docs/queryparsersyntax.html
index 68430d36f6d..5000d0fd75d 100644
--- a/docs/queryparsersyntax.html
+++ b/docs/queryparsersyntax.html
@@ -117,10 +117,15 @@ limitations under the License.
<blockquote>
<p>Although Lucene provides the ability to create your own
queries through its API, it also provides a rich query
- language through the Query Parser.</p>
- <p>This page
- provides syntax of Lucene's Query Parser, a lexer which
- interprets a string into a Lucene Query using JavaCC.</p>
+ language through the Query Parser, a lexer which
+ interprets a string into a Lucene Query using JavaCC.
+ </p>
+ <p>This page provides the Query Parser syntax in Lucene 1.9.
+ If you are using a different
+ version of Lucene, pelase consult the copy of
+ <code>docs/queryparsersyntax.html</code> that was distributed
+ with the version you are using.
+ </p>
<p>
Before choosing to use the provided Query Parser, please consider the following:
<ol>
diff --git a/xdocs/fileformats.xml b/xdocs/fileformats.xml
index d3799cfc289..9a9bf09e202 100644
--- a/xdocs/fileformats.xml
+++ b/xdocs/fileformats.xml
@@ -14,7 +14,10 @@
<p>
This document defines the index file formats used
- in Lucene version 1.4 and above.
+ in Lucene version 1.9. If you are using a different
+ version of Lucene, pelase consult the copy of
+ <code>docs/fileformats.html</code> that was distributed
+ with the version you are using.
</p>
<p>
diff --git a/xdocs/queryparsersyntax.xml b/xdocs/queryparsersyntax.xml
index 933e35eabb5..e830ebb0c9b 100644
--- a/xdocs/queryparsersyntax.xml
+++ b/xdocs/queryparsersyntax.xml
@@ -10,9 +10,16 @@
<section name="Overview">
<p>Although Lucene provides the ability to create your own
queries through its API, it also provides a rich query
- language through the Query Parser.</p> <p>This page
- provides syntax of Lucene's Query Parser, a lexer which
- interprets a string into a Lucene Query using JavaCC.</p>
+ language through the Query Parser, a lexer which
+ interprets a string into a Lucene Query using JavaCC.
+ </p>
+
+ <p>This page provides the Query Parser syntax in Lucene 1.9.
+ If you are using a different
+ version of Lucene, pelase consult the copy of
+ <code>docs/queryparsersyntax.html</code> that was distributed
+ with the version you are using.
+ </p>
<p>
Before choosing to use the provided Query Parser, please consider the following:
<ol>