Attempting to help someone on SO I noticed usafe usage of an Analyzer definition as follows:
{code:java} @TokenFilterDef(factory = EdgeNGramFilterFactory.class, params = { @Parameter(name = "maxGramSize", value = "1"), @Parameter(name = "maxGramSize", value = "15") }) {code}
We should fail fast on usage of different values for the same parameter name. |
|