lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From StefanH <>
Subject Get All Entries
Date Mon, 27 Mar 2006 09:53:52 GMT

Hello Everyone,

I have 6000 Entries in my Lucene DB and if I search for entries with "00*"
in the Number-Field it works fine. But additional I must have alle entries
no matter which number they have. A Term like "*" doesn't work. How can I
get all entries?
The code of my search is:
			IndexSearcher is = new IndexSearcher( INDEX_DIR );

			QueryParser parser = new QueryParser( "number", analyzer);
			Query query = parser.parse("00*");
			Hits hits = query, new Sort("number") );

Thanks for your help

Stefan H
View this message in context:
Sent from the Lucene - Java Users forum at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message