Skip to content

Apache Lucene open-source search software

- Package description from Paul Elschot

Otis Gospodneticb9fdf6d4e580
diff --git a/contrib/surround/src/java/org/apache/lucene/queryParser/surround/parser/package.html b/contrib/surround/src/java/org/apache/lucene/queryParser/surround/parser/package.html
new file mode 100644
index 00000000000..f4105e3483f
--- /dev/null
+++ b/contrib/surround/src/java/org/apache/lucene/queryParser/surround/parser/package.html
@@ -0,0 +1,11 @@
+<html>
+ <head>
+ <title>Surround parser package</title>
+ </head>
+ <body>
+ This package contains the QueryParser.jj source file for the Surround parser.
+ <p/>
+ Parsing the text of a query results in a SrndQuery in the
+ org.apache.lucene.queryParser.surround.query package.
+ </body>
+</html>
diff --git a/contrib/surround/src/java/org/apache/lucene/queryParser/surround/query/package.html b/contrib/surround/src/java/org/apache/lucene/queryParser/surround/query/package.html
new file mode 100644
index 00000000000..a967f4e2615
--- /dev/null
+++ b/contrib/surround/src/java/org/apache/lucene/queryParser/surround/query/package.html
@@ -0,0 +1,15 @@
+<html>
+ <head>
+ <title>Surround query package</title>
+ </head>
+ <body>
+ This package contains SrndQuery and its subclasses.
+ <p/>
+ The parser in the org.apache.lucene.queryParser.surround.parser package
+ normally generates a SrndQuery.
+ <p/>
+ For searching an org.apache.lucene.search.Query is provided by
+ the SrndQuery.makeLuceneQueryField method.
+ For this, TermQuery, BooleanQuery and SpanQuery are used from Lucene.
+ </body>
+</html>