Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LUCENE-9134: Port ant-regenerate tasks to Gradle build #1248

Closed
wants to merge 22 commits into from
Closed

LUCENE-9134: Port ant-regenerate tasks to Gradle build #1248

wants to merge 22 commits into from

Conversation

ErickErickson
Copy link

This adds the generation targets for util/packed and util/automaton.

For whatever reason my local Python doesn't do anything weird like it did when regenerating the html entities, the generated code is identical.

One thing I'd like to draw attention to is that I had to change createLevAutomata.py to path to the new place moman is downloaded to.

I'll merge upstream in the next day or two barring objections.

I think this finishes off the regeneration work, so I'll close LUCENE-9134 after merging.

Erick Erickson added 20 commits January 17, 2020 18:54
Squashed commit of the following:

commit 4b5105e
Author: Robert Muir <rmuir@apache.org>
Date:   Thu Jan 30 08:26:26 2020 -0500

    LUCENE-9193: heap allocations for tests.profile

    Can be a bit noisier than cpu sampling, due to how threads are allocated
    in tests... maybe we can improve that in the future.

commit 3a8ed5e
Author: Dawid Weiss <dweiss@apache.org>
Date:   Thu Jan 30 13:45:15 2020 +0100

    LUCENE-9134: add python-based regeneration of HTMLCharacterEntities.jflex inside jflexHTMLStripCharFilter.

commit 043dd20
Author: Dawid Weiss <dweiss@apache.org>
Date:   Thu Jan 30 12:50:50 2020 +0100

    LUCENE-9080: this jflex file got corrupted somehow during previous commit. I regenerated it with ant, along with the final java file. I also added a crlf normalization, encoding and forced-regeneration to ant because it didn't work before.

commit 13e2094
Author: Adrien Grand <jpountz@gmail.com>
Date:   Thu Jan 30 10:37:39 2020 +0100

    LUCENE-4702: Improve performance for fuzzy queries.

    Fuzzy queries with an edit distance of 1 or 2 must visit all blocks whose prefix
    length is 1 or 2. By not compressing those, we can trade very little space (a
    couple MBs in the case of the wikibigall index) for better query efficiency.

commit a948291
Author: Ignacio Vera <ivera@apache.org>
Date:   Thu Jan 30 08:03:22 2020 +0100

    LUCENE-9141: Simplify LatLonShapeXQuery API by adding a new abstract class called LatLonGeometry. (#1170)
gradle/generation/util.gradle Outdated Show resolved Hide resolved
gradle/generation/util.gradle Outdated Show resolved Hide resolved
@ErickErickson
Copy link
Author

I made the changes Mike mentioned, but I won't create another PR for a bit to give others a chance to look

@ErickErickson
Copy link
Author

New PR momentarily.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants