lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Noll <dan...@nuix.com>
Subject Re: Query.rewrite - help me to understand it
Date Sun, 16 Dec 2007 22:15:05 GMT
On Thursday 13 December 2007 23:07:49 游泳池的鱼 wrote:
> hehe ,you can do a test with PrefixQuery rewrite method,and extract terms .
> like this
>   query = prefixQuery.rewrite(reader);
>   query.extractTerms(set);
>   for(String term : set){
>      System.out.println(term);
>  }
>
>  It will give you a pleasant surprise.

An OutOfMemoryError? ;-)

Daniel

---------------------------------------------------------------------
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