Click here to Skip to main content
15,891,757 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
The idex is created and its able to update. In this code the query is getting passed as well.
C#
hits = searcher.Search(query, new Sort()); 

Following is the MultiFieldQueryParser.
C#
MultiFieldQueryParser qp = new MultiFieldQueryParser(fields, new StandardAnalyzer());

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.
Posted
Updated 14-Dec-11 3:22am
v2

1 solution

Maybe you should post your question here:

Introducing Lucene.Net[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900