[ 
https://issues.apache.org/jira/browse/LUCENE-2554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12891364#action_12891364
 ] 

Robert Muir commented on LUCENE-2554:
-------------------------------------

the perf issues here are really from our contrived tests... its good to use 
_TestUtil.randomUnicodeString, but it gives you the impression there is 
something wrong with this dance and there really isnt.

I added _TestUtil.randomRealisticUnicodeString in r966878, you can swap this 
into some of these slow tests and see its definitely the problem.


> preflex codec doesn't order terms correctly
> -------------------------------------------
>
>                 Key: LUCENE-2554
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2554
>             Project: Lucene - Java
>          Issue Type: Test
>            Reporter: Michael McCandless
>            Assignee: Michael McCandless
>             Fix For: 4.0
>
>         Attachments: LUCENE-2554.patch
>
>
> The surrogate dance in the preflex codec (which must dynamically remap terms 
> from UTF16 order to unicode code point order) is buggy.
> To better test it, I want to add a test-only codec, preflexrw, that is able 
> to write indices in the pre-flex format.  Then we should also fix tests to 
> randomly pick codecs (including preflexrw) so we better test all of our 
> codecs.

-- 
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: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to