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

Shai Erera commented on LUCENE-4701:
------------------------------------

bq. Shai, can you think of any problems with regard to the null Analnyzer 
initialization in the DTW IndexWriterConfig?

Now not, I think because of the changes to FieldType in Lucene 4.0. I.e., 
DirTaxoWriter adds indexed but not tokenized fields. Previously, you had to set 
an Analyzer, even if you added NOT_ANALYZED_NO_NORMS, or otherwise you'd hit 
NPE.

If the tests pass, it means it's ok, because DTW is not extendable in a way 
that it allows you to control how documents are added. But if in the future 
we'll need to, we'll add this dependency back.
                
> Use MockAnalyzers in lucene/facet tests
> ---------------------------------------
>
>                 Key: LUCENE-4701
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4701
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: modules/facet
>    Affects Versions: 4.0
>            Reporter: Tommaso Teofili
>            Assignee: Tommaso Teofili
>            Priority: Minor
>             Fix For: 4.2
>
>         Attachments: LUCENE-4701.patch, LUCENE-4701.patch
>
>
> It'd be nicer to use MockAnalyzer in facet tests instead of specific 
> analyzers from analyzers-common module.

--
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