Commit Graph

191 Commits

Author SHA1 Message Date
Bart van Bragt ff2a252e99 fix: editing a post does not update the search index
CommentSeeder only listened to Post\Event\Posted, so post edits
left the Elasticsearch document stale.
2026-04-09 11:17:17 +02:00
Bart van Bragt 5929a191f6 fix: --seed-missing stops early when a full range is already indexed
When all documents in a range were already in the index, the empty
collection caused continueAt to be set to null, aborting before
scanning lower ID ranges. Now advances past the range bottom instead.
2026-04-09 11:17:17 +02:00
Bart van Bragt 6699c8cb58 fix: ngram min_gram=1 indexes tokens that can never be matched
Flarum's search UI enforces a minimum query length of 3 characters
(MIN_SEARCH_LEN in Search.tsx), so 1- and 2-character ngram tokens
are indexed but can never be queried. Changed min_gram from 1 to 3
and updated max_ngram_diff accordingly.
2026-04-09 11:04:27 +02:00
Bart van Bragt 369ee504f3 fix: remove unused content_partial field from seeders
content_partial was introduced alongside a partialMatch() query that
targeted it. That query was later switched to use the content field
instead, but content_partial was never removed from the seeders,
causing every document to store and index its content twice.
2026-04-09 08:39:58 +02:00
Bart van Bragt eeb091273d fix: tag filter produces empty results when browsing a tag
When navigating to /t/{tag}?q=query the tag filter from the request
was silently ignored. Added a TermsQuery on the tags field using the
tag IDs resolved from the provided slugs.
2026-04-09 08:20:42 +02:00
Daniël Klabbers d252a17586 fix: not changing recipients visibility when recipients change 2024-06-13 19:27:14 +02:00
Daniël Klabbers a9dc8bfb16 fix: byobu discussions open up while using this extension 2024-06-12 11:34:18 +02:00
StyleCI Bot 82e6ec786f
Apply fixes from StyleCI 2023-10-18 13:57:41 +00:00
flarum-bot f981c27e00 Bundled output for commit f6503f5e6a
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2023-01-30 22:17:40 +00:00
Daniël Klabbers f6503f5e6a fix: #10, private forums have no discussions key, throws error 2023-01-30 23:17:01 +01:00
flarum-bot ad92d8856b Bundled output for commit 8b519619e5
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2022-11-24 09:39:12 +00:00
StyleCI Bot 8b519619e5
Apply fixes from StyleCI 2022-11-24 09:38:21 +00:00
Daniël Klabbers 83afe95d61 chore: fix search and seeding 2022-11-24 10:37:57 +01:00
Daniël Klabbers 846cc348ff Merge branch 'dk/search-improvements' into main 2022-11-24 10:29:18 +01:00
Daniël Klabbers 508bb42ac9 chore: clean up buildcommand 2022-11-23 12:46:04 +01:00
StyleCI Bot db74da3e37
Apply fixes from StyleCI 2022-11-23 11:29:48 +00:00
Daniël Klabbers a02d35394b feat: store tags, rawId, support indexing missing objects 2022-11-23 12:09:10 +01:00
flarum-bot b60563f2ec Bundled output for commit 703cbbdd48
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2022-11-21 15:33:18 +00:00
David Wheatley 703cbbdd48
fix: incorrect JS package name 2022-11-21 15:32:22 +00:00
flarum-bot 769b6cd278 Bundled output for commit f500d7f956
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2022-11-21 12:38:34 +00:00
Ian Morland f500d7f956 fix: revert back to not using the elastic endpoint for filtering, at least until we support tags in the search database 2022-11-21 12:37:52 +00:00
flarum-bot 7257d5fb34 Bundled output for commit 09fb4e8b7b
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2022-11-18 09:39:40 +00:00
Daniël Klabbers 09fb4e8b7b
Merge pull request #9 from blomstra/im/fix-search-override
fix: override search not fired correctly
2022-11-18 10:38:47 +01:00
Ian Morland 21170fbe1b Merge remote-tracking branch 'origin/main' into im/fix-search-override 2022-11-18 09:37:37 +00:00
StyleCI Bot 1cd3dac177
Apply fixes from StyleCI 2022-11-18 09:34:30 +00:00
Ian Morland 5815144d3a Revert "Apply fixes from StyleCI"
This reverts commit a26f88a9b6.
2022-11-18 09:34:16 +00:00
StyleCI Bot f8aa3dcf13
Apply fixes from StyleCI 2022-11-18 09:33:13 +00:00
StyleCI Bot a26f88a9b6
Apply fixes from StyleCI 2022-11-18 09:29:46 +00:00
Ian Morland 23dd403417 fix: override endpoint not used correctly 2022-11-18 09:29:19 +00:00
Ian Morland ed718e1458 chore: fix incorect command 2022-11-18 09:28:52 +00:00
flarum-bot 4240269b7f Bundled output for commit c186535bbb
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2022-11-18 08:31:43 +00:00
Ian Morland c186535bbb chore: use npm 2022-11-18 08:30:44 +00:00
Ian Morland fa90def995 chore: update frontend workflow 2022-11-18 08:29:19 +00:00
Ian Morland 4d2c5cb22f chore: bump deps, npm audit fix 2022-11-18 08:26:26 +00:00
Daniël Klabbers 9401b677a3 change weighing for exact words match 2022-11-10 12:57:46 +01:00
Daniël Klabbers 4bc89949ec complete testing 2022-11-10 12:54:26 +01:00
Daniël Klabbers 29ba864849 settings configurations 2022-11-09 18:06:48 +01:00
flarum-bot aabba9c2d0 Bundled output for commit 886e78d6fb
Includes transpiled JS/TS.

[skip ci]
2022-05-03 08:15:09 +00:00
Ian Morland 886e78d6fb Format js 2022-05-03 09:13:50 +01:00
Ian Morland af85834a5a Webpack 5 2022-05-03 09:13:10 +01:00
Daniël Klabbers e26d90d7b6 fix ambiguous 2022-03-04 12:37:43 +01:00
Daniël Klabbers cb3d4f5225 fix typo 2022-02-28 20:33:01 +01:00
Daniël Klabbers c6fd942bf1 prevent leaking deleted discussions 2022-02-28 20:32:27 +01:00
Daniël Klabbers cc8145c236 drop partial search 2022-02-21 10:20:46 +01:00
Robert Korulczyk 8ab60b2fb8
Create LICENSE.md (#7) 2022-02-17 22:24:42 +00:00
Ian Morland 14833fbe8f Update author meta 2022-02-17 19:25:53 +00:00
Daniel Klabbers ccfb964aff improve search results 2022-02-14 16:51:55 +01:00
Daniël Klabbers 133ded0684 fixes #5 2022-01-11 10:10:39 +01:00
Daniel Klabbers 803d1ecfc5 fix partial matching and weighting 2022-01-10 14:16:42 +01:00
Daniel Klabbers 502f7a9f86 use partial match with weighting 2022-01-10 13:47:05 +01:00