2012-11-29 62 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更适合我的目的。感谢您的建议! –

相关问题