[
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.
I have opened up a PR for this use case.
Any suggestions of different ways to track index parts merge time is welcome.
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.
I have opened up a PR
Any suggestions is welcome.
Summary: Add a Codec class to track merge time of each index part
(was: Add Filter class to Codec Writer/Producer/Reader/Consumer/Format)
> Add a Codec class to track merge time of each index part
> --------------------------------------------------------
>
> Key: LUCENE-10670
> URL: https://issues.apache.org/jira/browse/LUCENE-10670
> Project: Lucene - Core
> Issue Type: Improvement
> 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.
> I have opened up a PR for this use case.
> Any suggestions of different ways to track index parts merge time is welcome.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]