Hi Tommaso,

On Wed, Feb 11, 2015 at 8:42 PM,  <[email protected]> wrote:
> if (filter.isAccessible(retrievedDoc.get(FieldNames.PATH))) {
> +                                        suggestedWords.add("{term=" + 
> suggestion.key + ",weight=" + suggestion.value + "}");
> +                                        break;
> +                                    }

Any reason for encoding the term and weight in the string. Is the end
user expected to parse the result string and extract those values? It
would be better if they are explicitly accessible from the JCR
QueryResult Row

Chetan Mehrotra

Reply via email to