I understand my contributions may be rejected for any reason
I understand my contributions are for the benefit of Derpibooru and/or the Philomena software
I understand my contributions are licensed under the GNU AGPLv3
[x] I understand all of the above
Local autocompleter currently takes top 50k tags (the cutoff is ~34 images right now). It'd be useful to have autocomplete for tags without that many images, e.g. for artists and OCs. This PR adds it by making autocomplete fallback to fetch if instant returns no results. This approach avoids adding additional 233k tags (images.gt:0, images.lt:34, (artist:* || oc:*)) to the precompiled binary. This PR also makes the fetch autocomplete return all tags with 1+ images instead of 4+.
Before you begin
I understand my contributions may be rejected for any reason
I understand my contributions are for the benefit of Derpibooru and/or the Philomena software
I understand my contributions are licensed under the GNU AGPLv3
[x] I understand all of the above
Local autocompleter currently takes top 50k tags (the cutoff is ~34 images right now). It'd be useful to have autocomplete for tags without that many images, e.g. for artists and OCs. This PR adds it by making autocomplete fallback to fetch if instant returns no results. This approach avoids adding additional 233k tags (
images.gt:0, images.lt:34, (artist:* || oc:*)
) to the precompiled binary. This PR also makes the fetch autocomplete return all tags with 1+ images instead of 4+.Also see https://discord.com/channels/430829008402251796/438029140659142657/1175460824924565584