This is an automated email from the ASF dual-hosted git repository. jianliangqi pushed a commit to branch clucene-2.0 in repository https://gitbox.apache.org/repos/asf/doris-thirdparty.git
commit 29cf1b21913e852fb96c66a26a13f592c9877674 Author: zzzxl <[email protected]> AuthorDate: Fri Dec 1 10:02:52 2023 +0800 [feature](input) Add the file cache interface (#142) --- src/core/CLucene/store/IndexInput.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/core/CLucene/store/IndexInput.h b/src/core/CLucene/store/IndexInput.h index 8db0826f..4d5b24d8 100644 --- a/src/core/CLucene/store/IndexInput.h +++ b/src/core/CLucene/store/IndexInput.h @@ -131,6 +131,11 @@ CL_NS_DEF(store) virtual const char* getDirectoryType() const = 0; virtual const char* getObjectName() const = 0; short readShort(); + + virtual void setIdxFileCache(bool index) { + _CLTHROWA(CL_ERR_UnsupportedOperation,"UnsupportedOperationException: IndexInput::setIdxFileCache"); + } + }; /** Abstract base class for input from a file in a {@link Directory}. A --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
