On Tuesday 17 April 2007 21:51, Bill Tantzen wrote: > However, when I search with 'q=ethics' in solr, I get almost 10,000 > matches. With my client, I get 0.
If you don't specify a field, your client will use this code: Query query = new TermQuery( new Term("", "ethics") ); This is legal, but you will get no hits, as there's not field "". Also see the Lucene FAQ at http://wiki.apache.org/lucene-java/LuceneFAQ#head-3558e5121806fb4fce80fc022d889484a9248b71 Regards Daniel -- http://www.danielnaber.de