I had a similar question a while ago and the answer is "you can't cheat".
According to what the guys said, this
doc.add("field", )
doc.add("field", )
doc.add("field", )
is just the same as this
doc.add("field", )
But go ahead and increase the maxfieldlength. I'm successfully indexing
(unstored
Hello-
I was wondering about the usage of IndexWriter.setMaxFieldLength()
it is limited, by default, to 10k terms per field. Can anyone tell me if
this is this a "per field" limit or a "per uniquely named field" limit?
I.e. in the following snippet I add many words to different Fields all w/
the