this is exactly what I was doing.  Store=false, index=true, and token=false.

This combination is *not* represented by one of the factory methods.  It
appeared to work ok, but searches *never* returned any hits.

That's why I suspect it is a bug.

-----Original Message-----
From: Ype Kingma [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 21, 2001 2:51 PM
To: Lucene Users List
Subject: Re: Attribute Search


Paula,

>I came across a tutorial which had some details on the static factory Field
>methods.  But none of the factory methods return a Field object with the
>following settings:
>Store => false
>Index => true
>Tokenize => false
>
>I'm beginning to think this is a bug - that this combination is handled
>correctly.

The Field() constructor is public, can't you use that instead of one
of the factory methods?

public Field(String name,
             String string,
             boolean store,
             boolean index,
             boolean token)

Regards,
Ype

--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to