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

Robert Muir commented on LUCENE-3151:
-------------------------------------

Hey Grant: I know it sounds silly but can we split out the getOffsetGap API 
change into a separate issue?
This would be nice to fix ASAP.

I dont understand why it takes IndexableField or took Fieldable. All the other 
methods here like
getPositionIncrementGap take "String fieldName". I think this one should too.

I dont think it needs a boolean for tokenized either: returning a 0 for 
NOT_ANALYZED fields. 
If you choose NOT_ANALYZED, that should mean the Analyzer is not invoked!

If you want to do expert stuff control the offset gaps between values for 
NOT_ANALYZED fields, 
then just analyze it instead, with keyword tokenizer!


                
> Make all of Analysis completely independent from Lucene Core
> ------------------------------------------------------------
>
>                 Key: LUCENE-3151
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3151
>             Project: Lucene - Java
>          Issue Type: Improvement
>    Affects Versions: 4.0-ALPHA
>            Reporter: Grant Ingersoll
>             Fix For: 4.1
>
>         Attachments: LUCENE-3151.patch, LUCENE-3151.patch
>
>
> Lucene's analysis package, including the definitions of Attribute, 
> TokenStream, etc. are quite useful outside of Lucene (for instance, Mahout 
> uses them) for text processing.  I'd like to move the definitions, or at 
> least their packaging, to a separate JAR file so that one can consume them 
> w/o needing Lucene core.  My draft idea is to have a definition area that 
> Lucene core is dependent on and the rest of the analysis package can then be 
> dependent on the definition area.  (I'm open to other ideas as well)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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