Skip to content

Apache Lucene open-source search software

some package.html cleanup in analysis/common

Robert Muir9d2deeb3aed6
diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/charfilter/package.html b/lucene/analysis/common/src/java/org/apache/lucene/analysis/charfilter/package.html
index baf1999178b..2bef1d14121 100644
--- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/charfilter/package.html
+++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/charfilter/package.html
@@ -18,9 +18,12 @@
<html><head></head>
<body>
<p>
- Chainable filters that normalize text before tokenization and provide
- mappings between normalized text offsets and the corresponding offset
- in the original text.
+Normalization of text before the tokenizer.
+</p>
+<p>
+ CharFilters are chainable filters that normalize text before tokenization
+ and provide mappings between normalized text offsets and the corresponding
+ offset in the original text.
</p>
<H2>CharFilter offset mappings</H2>
<p>
diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/cjk/package.html b/lucene/analysis/common/src/java/org/apache/lucene/analysis/cjk/package.html
index 8bc32ef96a5..38b3029e258 100644
--- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/cjk/package.html
+++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/cjk/package.html
@@ -20,7 +20,8 @@
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
-Analyzer for Chinese, Japanese, and Korean, which indexes bigrams (overlapping groups of two adjacent Han characters).
+Analyzer for Chinese, Japanese, and Korean, which indexes bigrams.
+This analyzer generates bigram terms, which are overlapping groups of two adjacent Han, Hiragana, Katakana, or Hangul characters.
<p>
Three analyzers are provided for Chinese, each of which treats Chinese text in a different way.
<ul>
diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/core/package.html b/lucene/analysis/common/src/java/org/apache/lucene/analysis/core/package.html
new file mode 100644
index 00000000000..0e0ca06b51f
--- /dev/null
+++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/core/package.html
@@ -0,0 +1,22 @@
+<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<html><head></head>
+<body>
+Basic, general-purpose analysis components.
+</body>
+</html>
diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/standard/package.html b/lucene/analysis/common/src/java/org/apache/lucene/analysis/standard/package.html
index 0d76c899150..91ababca4b0 100644
--- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/standard/package.html
+++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/standard/package.html
@@ -20,6 +20,9 @@
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
+<p>
+Fast, general-purpose grammar-based tokenizers.
+</p>
<p>The <code>org.apache.lucene.analysis.standard</code> package contains three
fast grammar-based tokenizers constructed with JFlex:</p>
<ul>
diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/standard/std31/package.html b/lucene/analysis/common/src/java/org/apache/lucene/analysis/standard/std31/package.html
new file mode 100644
index 00000000000..6967e2fee0f
--- /dev/null
+++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/standard/std31/package.html
@@ -0,0 +1,22 @@
+<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<html><head></head>
+<body>
+Backwards-compatible implementation to match {@link org.apache.lucene.util.Version#LUCENE_31}
+</body>
+</html>
diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/standard/std34/package.html b/lucene/analysis/common/src/java/org/apache/lucene/analysis/standard/std34/package.html
new file mode 100644
index 00000000000..f34c995dd30
--- /dev/null
+++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/standard/std34/package.html
@@ -0,0 +1,22 @@
+<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<html><head></head>
+<body>
+Backwards-compatible implementation to match {@link org.apache.lucene.util.Version#LUCENE_34}
+</body>
+</html>
diff --git a/lucene/analysis/common/src/java/org/apache/lucene/collation/package.html b/lucene/analysis/common/src/java/org/apache/lucene/collation/package.html
index 8698bda6856..ecb877a3b63 100644
--- a/lucene/analysis/common/src/java/org/apache/lucene/collation/package.html
+++ b/lucene/analysis/common/src/java/org/apache/lucene/collation/package.html
@@ -21,12 +21,10 @@
</head>
<body>
<p>
- <code>CollationKeyFilter</code>
+ Unicode collation support.
+ <code>Collation</code>
converts each token into its binary <code>CollationKey</code> using the
- provided <code>Collator</code>, and then encode the <code>CollationKey</code>
- as a String using
- {@link org.apache.lucene.util.IndexableBinaryStringTools}, to allow it to be
- stored as an index term.
+ provided <code>Collator</code>, allowing it to be stored as an index term.
</p>
<h2>Use Cases</h2>
diff --git a/lucene/analysis/common/src/java/org/apache/lucene/collation/tokenattributes/package.html b/lucene/analysis/common/src/java/org/apache/lucene/collation/tokenattributes/package.html
new file mode 100644
index 00000000000..6ccbb412ca3
--- /dev/null
+++ b/lucene/analysis/common/src/java/org/apache/lucene/collation/tokenattributes/package.html
@@ -0,0 +1,22 @@
+<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<html>
+<body>
+Custom {@link org.apache.lucene.util.AttributeImpl} for indexing collation keys as index terms.
+</body>
+</html>
\ No newline at end of file