lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <e...@ehatchersolutions.com>
Subject Re: Newbie: MatchAllDocsQuery sample?
Date Mon, 01 Dec 2008 13:33:50 GMT

On Dec 1, 2008, at 8:30 AM, Ian Vink wrote:
> Is there a simple example on how to query for "contents:Hello" in all
> documents using
> MatchAllDocsQuery<http://incubator.apache.org/lucene.net/docs/2.1/Lucene.Net.Search.MatchAllDocsQuery.html

> >
> ?
> I want 100% of the docs with "Hello"

You're looking for a TermQuery, not MatchAllDocsQuery.

	Erik


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message