lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shai Erera (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-3307) don't require an analyzer, if all fields are NOT_ANALYZED
Date Wed, 13 Jul 2011 03:22:59 GMT

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

Shai Erera commented on LUCENE-3307:
------------------------------------

+1 !

This is also weird if you index only NumericFields. You need to pass whatever random analyzer
that crosses your mind at the moment, just so that it's used to get the offset gap and posIncr.

Robert, perhaps we should add an explicit test, in core, which ensures we can pass a null
Analyzer to IWC when we index only NOT_ANALYZED and NumericFields?

> 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message