lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Morten Simonsen <>
Subject SELECT * FROM Index-file
Date Mon, 05 Mar 2007 10:07:31 GMT

I'm about to convert from Lucene index-files into a MySQL (sorry about
that:) I thought I would run a "SELECT *" on the index-file, then read
through all the "rows" (hits?) and process each of them into my new

So I wrote this code: 

WildcardQuery query = new WildcardQuery(new Term("UnitID", "*"));
Hits hits = ism.searchUnits(query);

Then I receive "Something failed:

I tried to set 
but then I ran out of memory, so this is clearly not a good solution. 

I have tried using several different fields as well, also fields which
has only a limited set of values (the field are then not unique in the

Any suggestions?

Morten Simonsen

(And yes, I'm a newbie. Didn't find anything useful during my searches
on the Internet, mailing-lists or in the book, maybe because this is a
pretty infrequent thing to do?)

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

View raw message