lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chuck Williams (JIRA)" <j...@apache.org>
Subject [jira] Created: (LUCENE-659) [PATCH] PerFieldAnalyzerWrapper fails to implement getPositionIncrementGap()
Date Thu, 17 Aug 2006 23:42:15 GMT
[PATCH] PerFieldAnalyzerWrapper fails to implement getPositionIncrementGap()
----------------------------------------------------------------------------

                 Key: LUCENE-659
                 URL: http://issues.apache.org/jira/browse/LUCENE-659
             Project: Lucene - Java
          Issue Type: Bug
          Components: Analysis
    Affects Versions: 2.0.1, 2.1
         Environment: Any
            Reporter: Chuck Williams
         Attachments: PerFieldAnalyzerWrapper.patch

The attached patch causes PerFieldAnalyzerWrapper to delegate calls to getPositionIncrementGap()
to the analyzer that is appropriate for the field in question.  The current behavior without
this patch is to always use the default value from Analyzer, which is a bug because PerFieldAnalyzerWrapper
should behave just as if it was the analyzer for the selected field.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


Mime
View raw message