lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djd0383 <>
Subject Upgrading 1.4 to 2.0 - Indexing Issue.
Date Fri, 29 Sep 2006 17:28:18 GMT

I am in the process of trying to upgrade to v2.0 from v1.4 and am having
trouble building my index.  For each of the various entries in the database,
I am more or less doing the following:

doc1.add(new Field("allText",searchText,Store.NO,Index.TOKENIZED));

This seems to build an incorrect index.  I know this is true because I can
see entries that are not indexed.  The searching and indexing have been
minorly editted from the v1.4 code and seem to be correct.

My query is like the following if this helps too:

final Query query;
QueryParser qp = new QueryParser(fieldToSearch,analyzer);
query = qp.parse(search);

Thanks for your help.
View this message in context:
Sent from the Lucene - Java Developer mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message