You get memory problems if you turn on norms for all those fields (as norms are large byte[] arrays per field). But this is not a hard limitation, but you should take care.
----- Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMail: u...@thetaphi.de > -----Original Message----- > From: Erick Erickson [mailto:erickerick...@gmail.com] > Sent: Friday, March 12, 2010 2:43 PM > To: java-user@lucene.apache.org > Subject: Re: Question on number of fields in a document > > There's no requirement that all documents have the same > fields, Lucene is fine with different docs having different > fields. > > There's no limit on the number of different fields allowed > that I know of, but I'm sure someone will chime in if there > is.... > > HTH > Erick > > On Fri, Mar 12, 2010 at 7:51 AM, Vinicius Carvalho < > viniciusccarva...@gmail.com> wrote: > > > Hello there! We are indexing metadata for our medias. One ideia is > that > > each > > user adds its own metadata, so each document may have different > > number/name/type of fields. Is this ok on Lucene? I mean, is Lucene > ok with > > the this relax approach. > > > > Also, considering that each user may define its own metadata, we may > have > > several different types of fields. Is there a limit for this? > > > > Regards > > > > -- > > The intuitive mind is a sacred gift and the > > rational mind is a faithful servant. We have > > created a society that honors the servant and > > has forgotten the gift. > > --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org