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. >