lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-3103) create a simple test that indexes and searches byte[] terms
Date Mon, 16 May 2011 19:26:49 GMT

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

Robert Muir commented on LUCENE-3103:
-------------------------------------

one thing i did previously (seemed overkill but maybe good to do) was to clearAttributes(),
setBytesRef() on each incrementToken,
more like a normal tokenizer. we could still change it to work like this. in this case clear()
set the br to null.

another thing to inspect is the reflection api so toString prints the bytes... didnt check
this.


> create a simple test that indexes and searches byte[] terms
> -----------------------------------------------------------
>
>                 Key: LUCENE-3103
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3103
>             Project: Lucene - Java
>          Issue Type: Test
>          Components: general/test
>            Reporter: Robert Muir
>             Fix For: 4.0
>
>         Attachments: LUCENE-3103.patch
>
>
> Currently, the only good test that does this is Test2BTerms (disabled by default)
> I think we should test this capability, and also have a simpler example for how to do
this.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message