lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Vink <>
Subject IndexReader.Terms - internals
Date Mon, 11 May 2009 15:35:08 GMT
            IndexReader rdr = IndexReader.Open(myFolder);
            TermEnum terms = rdr.Terms((new Term(myTermName, "")));

(from .NET land, but it's all the same)

This code works great, I can loop thru the terms nicely, but after it
returns all the myTermName terms, it goes into all other terms.

Is there a way to limit the rdr.Terms to return only those whose field is

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message