java - Apply multiple analyzers in hibernate search? -
can use multiple analyzers on field search text using hibernate search??
for example : want use japanese analyzer if nothing found n-gram analyzer picked automatically searching.
is there support above in hibernate search?? , if not how can achieve this?
a single field in lucene should processed single analyzer, , should consistent across index or becomes hard define queries: defining correct query needs know analyzer being used specific field.
if need properties analyzed in multiple different ways, correct approach use @fields
(plural form) annotation map property multiple index fields.