Quantcast
Channel: Lucene .NET search results - Stack Overflow
Browsing latest articles
Browse All 4 View Live

Answer by SharpBarb for Lucene .NET search results

First thing. You have to commit the changes to the index.indexWriter.Optimize();indexWriter.Commit(); //Add ThisindexWriter.Close();Edit#2 Also, keep it simple until you get something that works....

View Article



Answer by Joe Enzminger for Lucene .NET search results

In my (limited) experience working with Lucene, I've found that you have to build up your own query in order to get "google" like behavior. Here is what I do, YMMV, but it generates expected results in...

View Article

Answer by jishi for Lucene .NET search results

That Parse() method is inherited. Have you tried utilizing the static methods that returns a Query object?Parse(Version matchVersion, String[] queries, String[] fields, Analyzer analyzer)

View Article

Lucene .NET search results

I'm using this code to index:public void IndexEmployees(IEnumerable<Employee> employees){ var indexPath = GetIndexPath(); var directory = FSDirectory.Open(indexPath); var indexWriter = new...

View Article
Browsing latest articles
Browse All 4 View Live


Latest Images