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

Renaud Delbru edited comment on LUCENE-4055 at 5/27/12 1:07 PM:
----------------------------------------------------------------

Does this patch allows FreqProxTermsWriterPerField to be dependent to the 
Codec/Field ? I have a use case where I need my own FreqProxTermsWriterPerField 
for certain fields.

I am asking this because I see in your patch the following line in 
FreqProxTermsWriter.java:

{code}
final FreqProxTermsWriterPerField fieldWriter = allFields.get(fieldNumber);
{code}

which seems to retrieve a particular FreqProxTermsWriterPerField for each field 
type.
                
      was (Author: renaud.delbru):
    Does this patch allows FreqProxTermsWriterPerField to be dependent to the 
Codec/Field ? I have a use case where I need my own FreqProxTermsWriterPerField 
for certain fields.

I am asking this because I see in your patch the following line:

{code}
final FreqProxTermsWriterPerField fieldWriter = allFields.get(fieldNumber);
{code}

which seems to retrieve a particular FreqProxTermsWriterPerField for each field 
type.
                  
> Refactor SegmentInfo / FieldInfo to make them extensible
> --------------------------------------------------------
>
>                 Key: LUCENE-4055
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4055
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: core/codecs
>            Reporter: Andrzej Bialecki 
>            Assignee: Robert Muir
>             Fix For: 4.0
>
>         Attachments: LUCENE-4055.patch
>
>
> After LUCENE-4050 is done the resulting SegmentInfo / FieldInfo classes 
> should be made abstract so that they can be extended by Codec-s.

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