Here's part of my code. Instead of searching the text in desc i'd like to search in everything (desc, title, example, etc). How do i do this? do i make another field call all and copy each field into it? can i do something like "", null or "*" to denote search them all? (I tried each and got no results).
How do i search all fields with my text?
public static List<Pair<long, float>> Search(string text)
{
var searcher = new IndexSearcher(directory, true);
var parser = new QueryParser(Lucene.Net.Util.Version.LUCENE_29, "desc", analyzer);
var query = parser.Parse(text);
var hits = searcher.Search(query);
// etc
}