Grokbase Groups Lucene dev May 2011
FAQ
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


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

Search Discussions

  • Robert Muir (JIRA) at May 16, 2011 at 6:50 pm
    [ https://issues.apache.org/jira/browse/LUCENE-3103?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Robert Muir updated LUCENE-3103:
    --------------------------------

    Attachment: LUCENE-3103.patch

    attached is a first patch... maybe Uwe won't be able to resist rewriting it to make it simpler :)
    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
  • Robert Muir (JIRA) at May 16, 2011 at 7:27 pm
    [ 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
  • Uwe Schindler (JIRA) at May 16, 2011 at 7:31 pm
    [ https://issues.apache.org/jira/browse/LUCENE-3103?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13034220#comment-13034220 ]

    Uwe Schindler commented on LUCENE-3103:
    ---------------------------------------

    Reflection should work correct. No need to change anything.
    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
  • Michael McCandless (JIRA) at May 16, 2011 at 7:33 pm
    [ https://issues.apache.org/jira/browse/LUCENE-3103?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13034224#comment-13034224 ]

    Michael McCandless commented on LUCENE-3103:
    --------------------------------------------

    +1 -- this is a great test to add, now that we support arbitrary binary terms.

    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
  • Robert Muir (JIRA) at May 18, 2011 at 2:44 pm
    [ https://issues.apache.org/jira/browse/LUCENE-3103?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Robert Muir resolved LUCENE-3103.
    ---------------------------------

    Resolution: Fixed

    Committed revision 1124288.
    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

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupdev @
categorieslucene
postedMay 16, '11 at 6:48p
activeMay 18, '11 at 2:44p
posts6
users1
websitelucene.apache.org

1 user in discussion

Robert Muir (JIRA): 6 posts

People

Translate

site design / logo © 2021 Grokbase