|
Public Methods |
| | IndexEnvironment () |
| | ~IndexEnvironment () |
| void | setAnchorTextPath (const std::string &documentRoot, const std::string &anchorTextRoot) |
| void | addFileClass (const std::string &name, const std::string &iterator, const std::string &parser, const std::string &startDocTag, const std::string &endDogTag, const std::string &endMetadataTag, const std::vector< std::string > &include, const std::vector< std::string > &exclude, const std::vector< std::string > &index, const std::vector< std::string > &metadata, const std::map< std::string, std::string > &conflations) |
| void | setIndexedFields (const std::vector< std::string > &fieldNames) |
| void | setNumericField (const std::string &fieldName, bool isNumeric) |
| void | setMetadataIndexedFields (const std::vector< std::string > &fieldNames) |
| void | setStopwords (const std::vector< std::string > &stopwords) |
| void | setStemmer (const std::string &stemmer) |
| void | setMemory (UINT64 memory) |
| void | create (const std::string &repositoryPath, IndexStatus *callback=0) |
| void | open (const std::string &repositoryPath, IndexStatus *callback=0) |
| void | close () |
| | close the index and repository
|
| void | addFile (const std::string &fileName) |
| void | addFile (const std::string &fileName, const std::string &fileClass) |
| void | addString (const std::string &documentString, const std::string &fileClass, const std::vector< MetadataPair > &metadata) |
| void | addParsedDocument (ParsedDocument *document) |