[
https://issues.apache.org/jira/browse/LUCENE-966?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12517358
]
Mark Miller commented on LUCENE-966:
------------------------------------
By the way...you can see one of the issues here:
OLD
(money.cnn.com,1382,1395,type=<HOST>)
(magazines,1396,1405,type=<ALPHANUM>)
(fortune,1406,1413,type=<ALPHANUM>)
(fortune,1414,1421,type=<ALPHANUM>)
(archive/2007/03/19/8402357,1422,1448,type=<NUM>)
(index.htm,1449,1458,type=<HOST>)
NEW
(/money.cnn.com/magazines/fortune/fortune_archive/2007/03/19/8402357/index.htm,1381,1458,type=<NUM>)
JavaCC StandardAnalyzer would never output a token that starts with a '/'. It
would be cut off. The issues may be involved with how JFlex skips characters
that are not part of a match compared to how JavaCC is doing it. Or perhaps the
JFlex version is considering '/' and '.' to be ALPHANUM's.
- Mark
> A faster JFlex-based replacement for StandardAnalyzer
> -----------------------------------------------------
>
> Key: LUCENE-966
> URL: https://issues.apache.org/jira/browse/LUCENE-966
> Project: Lucene - Java
> Issue Type: Improvement
> Components: Analysis
> Reporter: Stanislaw Osinski
> Fix For: 2.3
>
> Attachments: AnalyzerBenchmark.java, jflex-analyzer-patch.txt,
> jflex-analyzer-r560135-patch.txt, jflex-analyzer-r561292-patch.txt,
> jflex-analyzer-r561693-compatibility.txt
>
>
> JFlex (http://www.jflex.de/) can be used to generate a faster (up to several
> times) replacement for StandardAnalyzer. Will add a patch and a simple
> benchmark code in a while.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]