lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Morus Walter <morus.wal...@tanto.de>
Subject Re: WildcardTermEnum skipping terms containing numbers?!
Date Fri, 19 Nov 2004 13:28:56 GMT
Sanyi writes:
> > If there's a bug, it should be tracked down, not worked around...
> 
> Sure, but I'm working with 20million records and it takes about 25 hours to re-index,
so I'm
> looking for ways that doesn't require reindexing.
> 
why reindex?

> My code was:
> 
>       WildcardTermEnum wcenum = new WildcardTermEnum(reader, term);
>       
>       while (wcenum.next()) {
>     		terms.add(new WeightedTerm(termgroup,wcenum.term().text()));
>     		//System.out.println(wcenum.term().text());
>       }
> 
> And it skipped lots of things it shouldn't have skipped.

As stated at the end of my mail, I'd expect that to skip the first
term in the enum.
Is that, what you miss or do you loose more than one term?

Morus

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


Mime
View raw message