You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/** * Constructs an IndexWriter for the index in <code>d</code>. * Text will be analyzed with <code>a</code>. If <code>create</code> * is true, then a new, empty index will be created in * <code>d</code>, replacing the index already there, if any. * * @param d the index directory * @param a the analyzer to use * @param create <code>true</code> to create the index or overwrite * the existing one; <code>false</code> to append to the existing * index * @throws CorruptIndexException if the index is corrupt * @throws LockObtainFailedException if another writer * has this index open (<code>write.lock</code> could not * be obtained) * @throws IOException if the directory cannot be read/written to, or * if it does not exist and <code>create</code> is * <code>false</code> or if there is any other low-level * IO error*/explicitIndexWriter(CL_NS(store)::Directory* d, CL_NS(analysis)::Analyzer* a, const bool create, const bool closeDirOnShutdown=false);
I'm not familiar with c++, so I don't know exactly what caused the error. But I found some possible answers through copilot:
lucene::index::IndexWriter method is passed the first method of dir type may not be a std::shared_ptr<doris::segment_v2::DorisFSDirectory> 。
I'm not sure that's the case. But I got stuck trying to build 3.0.3-rc-04. I can't build properly.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
env
build script
error msg
files
I'm not familiar with c++, so I don't know exactly what caused the error. But I found some possible answers through copilot:
lucene::index::IndexWriter
method is passed the first method of dir type may not be astd::shared_ptr<doris::segment_v2::DorisFSDirectory>
。I'm not sure that's the case. But I got stuck trying to build 3.0.3-rc-04. I can't build properly.
Beta Was this translation helpful? Give feedback.
All reactions