Hi, I have some doubts regarding usage of AnalyzingInfixLookupFactory as lookup implementation for suggestions.
1.) AnalyzingInfixLookupFactory constructs n-grams for the suggestion field while building suggestions index. If the main index which is used for search is already having n-grams for this field, is it still preferred to choose AnalyzingInfixLookupFactory or can we directly build suggestions from the main index? 2.) Also, AnalyzingInfixLookupFactory returns duplicate records if the suggestion field has same value in multiple documents. Instead if i search suggestions from main index (n-grams) i can eliminate the duplicates by grouping the results. But grouping can be a complex operation.Can you guide the correct approach here? 3.) Choosing FuzzyLookupFactory looks beneficial, but we have to filter the results over user context and also we need to provide infix search capabilities for suggestions which we can't. Can some one please help on this? Thanks in advance. Harsha.