Without any answers, I'm reposting once. Do I have to post bug report ?
Let me know
Thanks a lot
Vincent DARON
ASK
--- Begin Message ---
Hi all
I'm using Lucene.NET 2.9.2.2 from SVN.
I try to iterate terms of a field in my index, todo so, i'm using
IndexReader.Terms(f) that return a TermEnum.
Hey Vincent,
I am not a dev, but for example look at FuzzyQuery.cs (starting at line 148):
do
{
float score = 0.0f;
Term t = enumerator.Term();
if (t != null)
{
// some stuff with t
}
}
while (enumerator.Next());
you can see that it is expecting the enumerator to have a term in i
Strange, but OK
Thanks a lot for answers
Vincent
Le jeudi 22 juillet 2010 à 19:54 +0300, Digy a écrit :
> It is expected behavior. Please see
>
> http://lucene.apache.org/java/2_9_2/api/all/org/apache/lucene/index/IndexReader.html#terms%28org.apache.lucene.index.Term%29
>
> DIGY
>
> -Or