[ 
https://issues.apache.org/jira/browse/LUCENE-10670?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yuan Xiao updated LUCENE-10670:
-------------------------------
    Description: 
Lucene has applied filter pattern to *Path*, *Codec*, *Reader* etc(FilterPath, 
FilterCodec, FilterReader) , we should do the same for 
Writer/Producer/Reader/Consumer/Format(postings, points, doc values, vectors, 
stored fields, live docs, term vectors) under Codec.

One use case is enabling probe the merge time of different file format by 
making a FilterCodec that overrides the merge method of each Codec format 
writer through these filters.

It will allow downstream to add any additional functionality to those classes. 

  was:
Lucene has applied filter pattern to *Path*, *Codec*, Reader etc(FilterPath, 
FilterCodec, FilterReader) , we should do the same for 
Writer/Producer/Reader/Consumer/Format(postings, points, doc values, vectors, 
stored fields, live docs, term vectors) under Codec.

One use case is enabling probe the merge time of different file format by 
making a FilterCodec that overrides the merge method of each Codec format 
writer through these filters.

It will allow downstream to add any additional functionality to those classes. 


> Add Filter class to Codec Writer/Producer/Reader/Consumer/Format
> ----------------------------------------------------------------
>
>                 Key: LUCENE-10670
>                 URL: https://issues.apache.org/jira/browse/LUCENE-10670
>             Project: Lucene - Core
>          Issue Type: Wish
>            Reporter: Yuan Xiao
>            Priority: Major
>
> Lucene has applied filter pattern to *Path*, *Codec*, *Reader* 
> etc(FilterPath, FilterCodec, FilterReader) , we should do the same for 
> Writer/Producer/Reader/Consumer/Format(postings, points, doc values, vectors, 
> stored fields, live docs, term vectors) under Codec.
> One use case is enabling probe the merge time of different file format by 
> making a FilterCodec that overrides the merge method of each Codec format 
> writer through these filters.
> It will allow downstream to add any additional functionality to those 
> classes. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to