2012-11-29 58 views
3

我使用Lucene.Net來搜索WPF應用程序中的文本文件,並且正在考慮將它移植到Windows應用商店應用程序。當我嘗試使用包管理器添加Lucene.Net時,我得到下面的錯誤。有沒有其他庫提供我可以用於WinRT的完全索引文本搜索?全文搜索winrt(windows運行時,windows store應用程序等)

install-package : Could not install package 'SharpZipLib 0.86.0'. 
You are trying to install this package into a project that targets  
'.NETCore,Version=v4.5', but the package does not contain any 
assembly references or content files that are compatible with that 
framework. For more information, contact the package author 

* SharpZipLib是Lucene.Net

回答

1

我會告誡說,我不知道這是否會實際工作的相關性,但它可能有希望。

SQLite具有全文搜索(FTS),並且Windows RT支持SQLite。 This article似乎表示默認情況下未啓用全文搜索,因此需要重新編譯。這也推測,Windows RT也支持(FTS +重新編譯)帶來的其他依賴關係。

Tim Heuer's blog是帶有Windows 8應用程序的SQLite的優秀資源,他在how to compile SQLite上發佈了這篇文章(在將它們全部打包爲擴展之前),因此可能值得嘗試一下。

+0

謝謝!我今晚會研究這個。 –

+0

我想我可能最終喜歡這個比Lucene.Net更適合我的目的。感謝您的建議! –

相關問題