You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by rm...@apache.org on 2021/11/29 22:58:31 UTC

[lucene] branch branch_9_0 updated (1ddce84 -> 5216297)

This is an automated email from the ASF dual-hosted git repository.

rmuir pushed a change to branch branch_9_0
in repository https://gitbox.apache.org/repos/asf/lucene.git.


    from 1ddce84  LUCENE-10260: Luke's about window no longer shows version number (#473)
     new 45a5746  support tables in generated html documentation (#489)
     new 5216297  Improve MIGRATE.md around analyzers artifacts. (#488)

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 README.md                            |  1 +
 gradle/documentation/markdown.gradle |  9 ++++++++-
 lucene/MIGRATE.md                    | 23 ++++++++++++++++++-----
 3 files changed, 27 insertions(+), 6 deletions(-)

[lucene] 01/02: support tables in generated html documentation (#489)

Posted by rm...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

rmuir pushed a commit to branch branch_9_0
in repository https://gitbox.apache.org/repos/asf/lucene.git

commit 45a57463aff6626ff9c01e2e8215c9177de760e9
Author: Robert Muir <rm...@apache.org>
AuthorDate: Mon Nov 29 17:38:14 2021 -0500

    support tables in generated html documentation (#489)
    
    Tables can be used in markdown (e.g. MIGRATE.md) and will become html tables in our generated HTML docs on the website.
---
 gradle/documentation/markdown.gradle | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/gradle/documentation/markdown.gradle b/gradle/documentation/markdown.gradle
index 801c919..7e2d9a0 100644
--- a/gradle/documentation/markdown.gradle
+++ b/gradle/documentation/markdown.gradle
@@ -19,6 +19,7 @@ import com.vladsch.flexmark.ast.Heading;
 import com.vladsch.flexmark.ext.abbreviation.AbbreviationExtension;
 import com.vladsch.flexmark.ext.attributes.AttributesExtension;
 import com.vladsch.flexmark.ext.autolink.AutolinkExtension;
+import com.vladsch.flexmark.ext.tables.TablesExtension;
 import com.vladsch.flexmark.html.HtmlRenderer;
 import com.vladsch.flexmark.parser.Parser;
 import com.vladsch.flexmark.parser.ParserEmulationProfile;
@@ -37,6 +38,7 @@ buildscript {
     classpath "com.vladsch.flexmark:flexmark-ext-abbreviation:${scriptDepVersions['flexmark']}"
     classpath "com.vladsch.flexmark:flexmark-ext-attributes:${scriptDepVersions['flexmark']}"
     classpath "com.vladsch.flexmark:flexmark-ext-autolink:${scriptDepVersions['flexmark']}"
+    classpath "com.vladsch.flexmark:flexmark-ext-tables:${scriptDepVersions['flexmark']}"
   }
 }
 
@@ -105,7 +107,12 @@ class MarkdownFilter extends FilterReader {
     // convert the markdown
     MutableDataSet options = new MutableDataSet();
     options.setFrom(ParserEmulationProfile.MARKDOWN);
-    options.set(Parser.EXTENSIONS, [ AbbreviationExtension.create(), AutolinkExtension.create(), AttributesExtension.create() ]);
+    options.set(Parser.EXTENSIONS, [
+      AbbreviationExtension.create(),
+      AutolinkExtension.create(),
+      AttributesExtension.create(),
+      TablesExtension.create(),
+    ]);
     options.set(HtmlRenderer.RENDER_HEADER_ID, true);
     options.set(HtmlRenderer.MAX_TRAILING_BLANK_LINES, 0);
     Document parsed = Parser.builder(options).build().parse(markdownSource);

[lucene] 02/02: Improve MIGRATE.md around analyzers artifacts. (#488)

Posted by rm...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

rmuir pushed a commit to branch branch_9_0
in repository https://gitbox.apache.org/repos/asf/lucene.git

commit 5216297029c90d7b263764983e8f4b9d73489c3a
Author: Robert Muir <rm...@apache.org>
AuthorDate: Mon Nov 29 17:04:15 2021 -0500

    Improve MIGRATE.md around analyzers artifacts. (#488)
    
    * Improve MIGRATE.md around analyzers artifacts.
    
    Move this to the very top of MIGRATE, the user needs to first be able to
    pull in the artifacts, before doing anything else like trying to
    compile, deal with renamed classes, etc.
    
    Add a table of each package that got moved, with explicit old and new
    names. Hopefully it helps search engines and users.
    
    Link to MIGRATE.md explicitly from README.md
---
 README.md         |  1 +
 lucene/MIGRATE.md | 23 ++++++++++++++++++-----
 2 files changed, 19 insertions(+), 5 deletions(-)

diff --git a/README.md b/README.md
index f6c3619..260bcbc 100644
--- a/README.md
+++ b/README.md
@@ -33,6 +33,7 @@ comprehensive documentation, visit:
 - Nightly: <https://ci-builds.apache.org/job/Lucene/job/Lucene-Artifacts-main/javadoc/>
 - Build System Documentation: [help/](./help/)
 - Developer Documentation: [dev-docs/](./dev-docs/)
+- Migration Guide: [lucene/MIGRATE.md](./lucene/MIGRATE.md)
 
 ## Building with Gradle
 
diff --git a/lucene/MIGRATE.md b/lucene/MIGRATE.md
index f2ec458..005791c 100644
--- a/lucene/MIGRATE.md
+++ b/lucene/MIGRATE.md
@@ -17,6 +17,24 @@
 
 # Apache Lucene Migration Guide
 
+## Rename of binary artifacts from '**-analyzers-**' to '**-analysis-**' (LUCENE-9562)
+
+All binary analysis packages (and corresponding Maven artifacts) have been renamed and are
+now consistent with repository module 'analysis'. You will need to adjust build dependencies
+to the new coordinates:
+
+|         Old Artifact Coordinates            |        New Artifact Coordinates            |
+|---------------------------------------------|--------------------------------------------|
+|org.apache.lucene:lucene-analyzers-common    |org.apache.lucene:lucene-analysis-common    |
+|org.apache.lucene:lucene-analyzers-icu       |org.apache.lucene:lucene-analysis-icu       |
+|org.apache.lucene:lucene-analyzers-kuromoji  |org.apache.lucene:lucene-analysis-kuromoji  |
+|org.apache.lucene:lucene-analyzers-morfologik|org.apache.lucene:lucene-analysis-morfologik|
+|org.apache.lucene:lucene-analyzers-nori      |org.apache.lucene:lucene-analysis-nori      |
+|org.apache.lucene:lucene-analyzers-opennlp   |org.apache.lucene:lucene-analysis-opennlp   |
+|org.apache.lucene:lucene-analyzers-phonetic  |org.apache.lucene:lucene-analysis-phonetic  |
+|org.apache.lucene:lucene-analyzers-smartcn   |org.apache.lucene:lucene-analysis-smartcn   |
+|org.apache.lucene:lucene-analyzers-stempel   |org.apache.lucene:lucene-analysis-stempel   |
+
 ## LucenePackage class removed (LUCENE-10260)
 
 LucenePackage class has been removed. The implementation string can be
@@ -75,11 +93,6 @@ the default stop tags returned by `JapaneseAnalyzer.getDefaultStopTags()` (i.e.
 o.a.l.collation.ICUCollationAnalyzer is renamed to o.a.l.a.icu.ICUCollationKeyAnalyzer.
 Also, its dependant classes are renamed in the same way.
 
-## Rename of binary artifacts from '**-analyzers-**' to '**-analysis-**' (LUCENE-9562)
-
-All binary analysis packages (and corresponding Maven artifacts) have been renamed and are
-now consistent with repository module 'analysis'. 
-
 ## Base and concrete analysis factories are moved / package renamed (LUCENE-9317)
 
 1. Base analysis factories are moved to `lucene-core`, also their package names are renamed.