Linking to entries in Bard fields is very slow - ways to improve? #11530
Unanswered
321zeno
asked this question in
Troubleshooting
Replies: 1 comment
-
hmmm, wonder if a search index would help here? https://statamic.dev/search#connecting-indexes |
Beta Was this translation helpful? Give feedback.
0 replies
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
-
Just checking if there is a way to improve the performance of looking up entries to link to in a bard field. At the moment we have around 800 entries spread across 6-7 collections. When selecting a bit of text, clicking on the link button, selecting Entry and clicking on the little directory icon, the lookup takes around 30-40 seconds to bring the entries panel up.
The URL that's called is
{hostname}/cp/fieldtypes/relationship?config=eyJ0eXBlIjoiZW50cmllcyIsImNvbGxlY3Rpb25zIjpbInRvdXJzIiwibGFuZGluZ19wYWdlcyIsImJsb2ciLCJ0aWNrZXRzIiwiYXR0cmFjdGlvbnMiLCJ0b3VyX3BscHMiLCJpbmZvX3BhZ2VzIiwidGNfcG9saWNpZXMiLCJsdWdnYWdlX3BhZ2VzIiwiZ29fYmV5b25kX21hZ2F6aW5lIiwicHJpdmF0ZV90b3VycyJdLCJtYXhfaXRlbXMiOjF9&collections[0]=collection0&collections[1]=collection1&sort=title&order=asc&page=1&site=default&filters=e30=&columns=&search=
We are using the
statamic/eloquent-driver
package for storing entries.We already looked into narrowing down the collections for linking in the bard field content but we do want to be able to link across all of them.
Beta Was this translation helpful? Give feedback.
All reactions