Re: question regarding usage of IndexWriter.setMaxFieldLength()

2006-10-18 Thread Erick Erickson
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

question regarding usage of IndexWriter.setMaxFieldLength()

2006-10-18 Thread d rj
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