It is not guaranteed that every term will be indexed. There is a limit on maximum number of terms (as in lucene 3.0 and may be earlier too) per field. Check out this http://lucene.apache.org/java/3_0_2/api/all/org/apache/lucene/index/IndexWriter.html#setMaxFieldLength(int)
On Tue, Nov 16, 2010 at 11:36 AM, Yakob <jacob...@opensuse-id.org> wrote: > hello all, > I would like to ask about lucene index. I mean I created a simple > program that created lucene indexes and stored it in a folder. also I > had use a diagnostic tools name Luke to be able to lurk inside lucene > index and find out its content. and I know that lucene is a standard > framework when it come to building a search engine. but I just wanted > to be sure that lucene indexes every term that existed in a file. > > I mean is there a way for me or some tools out there to verify that > the index contains in lucene indexes is dependable? and not a single > term went missing there? > > I know that this is subjective question but I just wanted to hear your > two cents. > thanks though. :-) > > tl;dr: how can we know that the index in lucene is correct? > > -- > http://jacobian.web.id > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org > For additional commands, e-mail: java-user-h...@lucene.apache.org > > -- Regards, Samar