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

Robert Muir commented on LUCENE-3307:
-------------------------------------

{quote}
At that point this "problem" of having to pass some random Analyzer or null 
should go away, because you should then only be required to pass an Analyzer to 
FieldTypes that do analyze their field text.
{quote}

Right, and the last thing i want to see is some sophisticated backwards layer / 
crappy hacks because we enabled null on this issue!

Basically, I think we should make it work right now, but undocumented and 
unspecified. If you pass Analyzer=null to IW you need to be prepared for NPE.


> don't require an analyzer, if all fields are NOT_ANALYZED
> ---------------------------------------------------------
>
>                 Key: LUCENE-3307
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3307
>             Project: Lucene - Java
>          Issue Type: Improvement
>            Reporter: Robert Muir
>         Attachments: LUCENE-3307.patch
>
>
> This seems wierd, if you analyze only NOT_ANALYZED fields, you must have an 
> analyzer (null will not work)
> because documentsinverter wants it for things like offsetGap

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

        

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

Reply via email to