|
公有类型 |
| enum | MergeMode { NO_MERGE = 0,
MERGE = 1,
OPTIMIZE = 2,
DELDOCS_OPTIMIZE = 3
} |
公有成员 |
| | CIndexWriter (const tchar *indexName, CAnalyzer *analyzer, bool bCreate=true, MergeMode mm=MERGE) |
| | CIndexWriter (CDirectory *pDirectory, CAnalyzer *analyzer, bool bCreate=true, MergeMode mm=MERGE) |
| | CIndexWriter (CAnalyzer *analyzer, CIndex *pIndex) |
| virtual | ~CIndexWriter () |
| void | open (const tchar *indexName, CAnalyzer *analyzer, bool bCreate=true, MergeMode mm=MERGE) |
| void | open (CDirectory *pDirectory, CAnalyzer *analyzer, bool bCreate=true, MergeMode mm=MERGE) |
| bool | addDocument (const tchar *filename) |
| bool | addDocument (CIndexParameter *pIndexParam) |
| bool | addDocument (document::CDocument *pDoc) |
| bool | addIndex (CDirectory *pDirectory) |
| void | mergeIndex () |
| void | optimizeIndex (bool bDeleteDocs=false) |
| void | close () |
| void | attachAnalyzer (CAnalyzer *pAnalyzer) |
| CAnalyzer * | detachAnalyzer () |
| void | attachIndex (CIndex *pIndex) |
| CIndex * | detachIndex () |
| CIndex * | getIndex () |
静态公有成员 |
| void | buildIndex (const tchar *argFile) |
| void | buildIndex (CArgument *pArgument) |
| firtex::collection::CCollection * | prepareBuildIndex (const tchar *argFile) |
| firtex::collection::CCollection * | prepareBuildIndex (CArgument *pArgument) |
保护属性 |
| CAnalyzer * | m_pAnalyzer |
| CIndex * | m_pIndexer |
| MergeMode | m_eMergeMode |
| bool | m_bMerged |