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.


Popular posts from this blog

c# - ODP.NET Oracle.ManagedDataAccess causes ORA-12537 network session end of file -

matlab - Compression and Decompression of ECG Signal using HUFFMAN ALGORITHM -

utf 8 - split utf-8 string into bytes in python -