全文搜索winrt(Windows Runtime,Windows Store应用程序等)

3

我在WPF应用程序中使用Lucene.Net搜索文本文件,并考虑将其移植到Windows Store应用程序。当我尝试使用包管理器添加Lucene.Net时,我遇到了下面的错误。是否有其他库可以为WinRT提供完全索引的文本搜索?

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个回答

1

我要说明的是,我不知道这是否真的可行,但它可能有前途。

SQLite具有全文搜索(FTS)功能,并且SQLite支持Windows RT。 此文章似乎表明默认情况下未启用全文搜索,因此需要重新编译。这还假定(FTS + 重新编译)带来的任何其他依赖项也在Windows RT上得到支持。

Tim Heuer的博客是关于Windows 8应用程序中SQLite的优秀来源,他在如何编译SQLite上发布了这篇文章(在所有内容都被很好地打包为扩展之前),因此尝试一下可能值得一试。


我认为对于我的目的,我可能会更喜欢这个比Lucene.Net。感谢您的建议! - Andrew Boes

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接