lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doron Cohen <DOR...@il.ibm.com>
Subject Re: Searching with "1"
Date Mon, 25 Sep 2006 22:02:33 GMT
djd0383 <ddigmann@formos.com> wrote on 25/09/2006 14:17:56:
> What are the Store and Index classes?  It does not seem that my version
of
> Lucene is using them....

That code was using Lucene 2.0.
In Lucene 1.4.3 you would add the docs like this:

    boolean store = false;
    boolean index = true;
    boolean token = true;
    d1.add(new Field(fldName,"This doc has no ones in
it.",store,index,token));


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


Mime
View raw message