You miss my point. The value of an "unstored" Field is not stored in the index, however it's name most certainly is. That's what I'm interested in. What I'd like to know if there is a way to get the names of all searchable Fields in an index. -Lex
>From: Norbert Pabi� <[EMAIL PROTECTED]> >Reply-To: "Lucene Users List" <[EMAIL PROTECTED]> >To: Lucene Users List <[EMAIL PROTECTED]> >Subject: Re: Retrieving Field info from an index >Date: Thu, 21 Mar 2002 14:25:27 +0100 > >Lex Lawrence wrote: > > > > Yes, I tried... and at first thought it was all working. If you create >a > > document and then access its fields immediately, it gives you >everything. > > But if you store the document in an index, read it from the index, and >then > > try to access the fields, you don't get them all. Of the five standard > > Field types (Keyword, UnIndexed, Unstored, Text(String,String), > > Text(String,Reader)) two are missing (Unstored and Text(String,Reader)). > > See the attached test case, "FieldTest.java". >I don't get it. Two missing fields you have mentioned are NOT STORED, >right? >They are just indexed and then forgotten. How do you want to get them? >They ARE NOT in index. > >-- >Norbert Pabi� > >-- >To unsubscribe, e-mail: ><mailto:[EMAIL PROTECTED]> >For additional commands, e-mail: ><mailto:[EMAIL PROTECTED]> > _________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
