cuba-platform / fts

Full-Text Search Addon
https://www.cuba-platform.com/
Apache License 2.0
4 stars 1 forks source link

Optimize FTS search performance #26

Closed haulmont-git closed 6 years ago

haulmont-git commented 6 years ago

FtsServiceBean.makeSearchResult uses the DataManager for reloading each entity of the Lucene search result. This is done to check security constraints. A new query in a new transaction is executed for each entity. We can execute query not for the single, but for the batch of entities.


Original issue: https://youtrack.haulmont.com/issue/PL-10748

andreysubbotin commented 6 years ago
haulmont-git commented 6 years ago

Git changesets by subbotin:

0628ff1b in release_6_10 - Optimize FTS search performance #26

haulmont-git commented 6 years ago

Git changesets by subbotin:

6491d74e in master - Optimize FTS search performance #26

haulmont-git commented 6 years ago

Git changesets by subbotin:

d600d48d in master - Optimize FTS search performance #26

haulmont-git commented 6 years ago

Git changesets by subbotin:

d412c7e7 in master - Optimize FTS search performance #26

haulmont-git commented 6 years ago

Git changesets by subbotin:

e0282d09 in master - Optimize FTS search performance #26

Run test configuration

haulmont-git commented 6 years ago

Git changesets by subbotin:

cfed370a in release_6_10 - Optimize FTS search performance #26

Run test configuration