[
https://issues.apache.org/jira/browse/LUCENE-6993?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mike Drob updated LUCENE-6993:
------------------------------
Attachment: LUCENE-6993.patch
Ok, making progress...
To recap what I've done so far (so that it's easier next time)
{noformat}
* ant gen-tlds
copy affected analyzers to a stdX directory
update affected factories
update jflex-legacy task in build.xml
update test data to use valid domains
* ANT_OPTS='-Xmx5g' ant jflex
* perl generateJavaUnicodeWordBreakTest.pl -v 8.0.0
* sed 's/6_3/8_0/g' TestStandardAnalyzer.java TestUAX29URLEmailTokenizer.java
{noformat}
(starred entries are verbatim commands)
I also had to add a special case to the perl script where if there is a double
quote inside of output string text to add a java escape. I saw this in one of
the other Unicode release notes relating to hebrew text. The specific test this
is necessary for is א"א
I was not able to figure out how to install jflex snapshot locally -- I thought
by running mvn install on master it would work but turns out I don't understand
the nuances of ivy. Consequentially, I have not updated the unicode directives
to 8.0 for any of the parsers, but all the analyzer/tokenizer tests still seem
to pass so we might be ok?
> Update UAX29URLEmailTokenizer TLDs to latest list, and upgrade all
> JFlex-based tokenizers to support Unicode 8.0
> ----------------------------------------------------------------------------------------------------------------
>
> Key: LUCENE-6993
> URL: https://issues.apache.org/jira/browse/LUCENE-6993
> Project: Lucene - Core
> Issue Type: Improvement
> Components: modules/analysis
> Reporter: Mike Drob
> Assignee: Robert Muir
> Fix For: 6.0
>
> Attachments: LUCENE-6993.patch, LUCENE-6993.patch, LUCENE-6993.patch,
> LUCENE-6993.patch, LUCENE-6993.patch
>
>
> We did this once before in LUCENE-5357, but it might be time to update the
> list of TLDs again. Comparing our old list with a new list indicates 800+ new
> domains, so it would be nice to include them.
> Also the JFlex tokenizer grammars should be upgraded to support Unicode 8.0.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]