I wanna get all documents which matches a specific term:
Java Code:
IndexSearcher searcher = new IndexSearcher(my_lucene_dir);
Term term_freq = new Term("name","Superman");
int docfreq = searcher.docFreq(term_freq);
I alway get 0.0 from docfreq, but if i try this query with the "normal way" with a QueryParser and a Query-Object i get some Hits. So there are obviously documents with "Superman" in the name-field.

Does somebody know why i always get 0.0 back?

regards && thx