Lucene.net不会再打任何回击 [英] Lucene.net is not returing any hits back

查看:38
本文介绍了Lucene.net不会再打任何回击的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

idex已创建并且能够更新.在此代码中,查询也将通过.

The idex is created and its able to update. In this code the query is getting passed as well.

hits = searcher.Search(query, new Sort()); 


以下是MultiFieldQueryParser.


Following is the MultiFieldQueryParser.

MultiFieldQueryParser qp = new MultiFieldQueryParser(fields, new StandardAnalyzer());


但是,没有热门歌曲回来.不知道问题出在哪里.使用C#,我同时升级到.Net 4.0,并认为这可能是索引文件夹上的权限问题.

我授予了ASP.Net计算机帐户和IIS_WPG以及所有人的权限.

网络以信任=完整运行,并且相应的项目允许使用不安全的代码(以前的lucene错误).

任何帮助将不胜感激.


But there is no hits coming back. Have no clue where the issue is.. Using C# and I upgraded to .Net 4.0 at the same time and thought it might be a permissions issue on the index folder.

I granted permissions to ASP.Net machine account and IIS_WPG and then everyone.

The web is running in trust = Full and the appropriate projects allow unsafe code (a previous lucene bug).

Any help would be appreciated.

推荐答案

也许您应该在此处发布问题:

Lucene.Net介绍 [
Maybe you should post your question here:

Introducing Lucene.Net[^]


这篇关于Lucene.net不会再打任何回击的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆