: Oh, right. I meant arguments other than the Reader or TokenStream... : things like a stopSet for instance.
Hmmm.. it seems like any situation where a Filter/Tokenizer needs additional information beyond the TokenStream/Reader would neccessitate a Factory ... how would you know what order to pass the args from the config to the constructor, or what datatypes to use? in the case of a stopSet how would you know to interpret the param as a filename 9and not just a really small set of words) ? i think it's okay for the complicated cases to stay complicated. I'm just thinking about the little cases where simple TokenFilters get added to lucene's contrib and the only way for people to use them is if they write their own factory. -Hoss
