Fts paging does not work anymore

Hi

Did not look into FTS for quite some time but it seems that the paging in FTS Search Result Window has disappeared.

The application property fts.searchResultsBatchSize that is advertised in documentation (6.10 and 7) is supposed to drive this behavior : by default only 5 results are displayed by entity kind and you have to click “More…” to have another set of 5.

Did not find the property used in the code (cuba 6.10 & 7), especially in com.haulmont.fts.global.FtsConfig class but I’m quite sure this behavior worked at some point in the past.

Hereunder a sample, I expected no more than 5 lines

Regards
Michael
.

Hi, in 6.10 the fts.searchResultsBatchSizehas been removed. You may use the fts.maxSearchResults property with a default value 100 to limit a total number of records on a page. The documentation is outdated. We’ll fix it. Thanks for pointing out the problem.

1 Like