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

crocket edited comment on LUCENE-4891 at 3/28/13 11:21 PM:
-----------------------------------------------------------

I made tests for LUCENE-4882 and "me".

You can clone the tests from git://snowberry.me/LuceneTest.git and run "mvn 
test" in it.

It tests lucene 4.2, and the test result is that the presence of LUCENE-4882 
doesn't make a difference and that "network/hanirc/chan/#sdgsdgsd" is added as 
"network/hanirc/chan" with the presence of "me" category.

Actually, according to my test, any category after "me" in a list is added with 
the tail element removed.

Is any of my tests incorrect? Please tell me more about it.
                
      was (Author: crocket):
    I made tests for LUCENE-4882 and "me".

You can clone the tests from git://snowberry.me/LuceneTest.git and run "mvn 
test" in it.

It tests lucene 4.2, and the test result is that the presence of LUCENE-4882 
doesn't make a difference and that "network/hanirc/chan/#sdgsdgsd" is added as 
"network/hanirc/chan" with the presence of "me" category.

Is any of my tests incorrect? Please tell me more about it.
                  
> Only a part of CategoryPath is recorded if I add "me" category.
> ---------------------------------------------------------------
>
>                 Key: LUCENE-4891
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4891
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: modules/facet
>    Affects Versions: 4.2
>            Reporter: crocket
>
> If I add [type/CHAT, me, network/hanirc/chan/#sdgsdgsd] as "categories" to a 
> document and add the document to a writer as below, Only 
> "network/hanirc/chan", not "network/hanirc/chan/#sdgsdgsd "is" recorded into 
> a taxonomy directory. type/CHAT and me are recorded well. I confirmed it with 
> a test.
> FacetFields ff = new FacetFields(taxoWriter);
> ff.addFields(doc, categories);
> nrtWriter.addDocument(doc);
> If I add [type/CHAT, network/hanirc/chan/#sdgsdgsd] to a document, everything 
> is recorded fine.
> What's wrong with "me" category?
> You could clone git://snowberry.me/ZeroIrcLog.git and read the code if you 
> want.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to