/* * Copyright 2009 Haiku, Inc. * Distributed under the terms of the MIT License. * * Authors: * Ankur Sethi (get.me.ankur@gmail.com) */ #ifndef _BEACON_SEARCHER_H_ #define _BEACON_SEARCHER_H_ #include #include #include #include #include // #include using namespace lucene::analysis::standard ; // using namespace lucene::search ; class BeaconSearcher { public: BeaconSearcher() ; ~BeaconSearcher() ; wchar_t* GetNextHit() ; void Search(const char* query) ; private: BPath GetIndexPath(BVolume *volume); BList fSearcherList; BList fHits; StandardAnalyzer fStandardAnalyzer; // MultiSearcher *fMultiSearcher ; } ; #endif /* _BEACON_SEARCHER_H_ */