public class SchemaSimilarityFactory extends SimilarityFactory implements SchemaAware
PerFieldSimilarityWrapperthat delegates to the field type, if its configured, otherwise
NOTE: Users should be aware that in addition to supporting
Similarity configurations specified on individual
field types, this factory also differs in behavior from
DefaultSimilarityFactory because of other differences in the
DefaultSimilarity - notably in methods such as
Similarity.coord(int, int) and
|Constructor and Description|
|Modifier and Type||Method and Description|
public void inform(IndexSchema schema)
IndexSchemaprovided by the
schemaparameter of an event (e.g., a new
FieldTypewas added, etc.
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.