Commit Graph

86 Commits

Author SHA1 Message Date
Simon Cambier 1e2df5e82a Renamed "Omnisearch" into "SearchEngine" 2024-05-25 23:07:34 +02:00
Simon Cambier 6566a2e958 Massive refactor to get rid of the global app. 2024-05-25 22:49:50 +02:00
Simon Cambier 5f5417f0ff #134 - Async loading of minisearch cache
Using a custom build of minisearch
2024-05-23 21:38:46 +02:00
Simon Cambier dcfb77f551 Massive refactoring to get rid of the deprecated global app instance 2024-05-21 21:13:35 +02:00
Simon Cambier 5010a47466 Cleaned global app warnings 2024-05-18 09:52:28 +02:00
Simon Cambier 54bbe59db8 #151 - User-defined boosted fields 2024-05-17 23:10:00 +02:00
Aiden Liu c4211a0b09 feat: enable search optimized tokenizer for Chinese (#370)
* feat: enable search optimized tokenizer for Chinese

* docs: update readme on CJK support
2024-05-07 17:58:01 +02:00
Simon Cambier 13c7ec7c78 #363 - Gate url tokenization behind a setting 2024-04-15 07:18:17 +02:00
Simon Cambier 610272b885 try-catch the url extractor part of the tokenizer, should fix #362 2024-04-11 12:50:16 +02:00
Simon Cambier 484e961a7e Highlighting rework, should help with #304 2024-03-26 21:32:03 +01:00
eegrok 72cb4216c0 Add ability to downrank some folders in the results (#350)
* add downrankedFoldersFilters to settings

* use downrankedFoldersFilters to downrank some files without excluding them in obsidian, which also prevents tags from being indexed

* change hotkey for toggling excerpts to ctrl-g

* change var to let for proper scoping

* trim folders after splitting them

* only log downranking when we actually do it

* format with Prettier

* make prompt-instruction-command still ctrl g for now
2024-03-14 18:36:23 +01:00
Simon Cambier c38ec4e9b8 Use minisearch's new result.terms 2024-01-23 07:51:56 +01:00
Simon Cambier 4b8bf437ce Fixed logDebug() call 2024-01-22 22:12:41 +01:00
Simon Cambier d218b191f6 Tokenize Chinese for search 2024-01-22 21:39:07 +01:00
Simon Cambier 70baec4ae1 Fixed an issue where results weren't returned as they should 2024-01-22 19:42:59 +01:00
Simon Cambier 569d6c73ed Removed useless excalidraw toggle 2024-01-20 10:58:36 +01:00
Simon Cambier c5efa2ec90 Better selection for top excerpt 2024-01-05 20:24:44 +01:00
Simon Cambier 7a2f9b0ee0 Fixed: extensions can be searched with ".foo" in addition to "ext:foo" 2023-12-17 13:58:38 +01:00
Simon Cambier 703568dab3 Fixed bug with diacritcs and quoted searches
Also added more cached data
2023-12-17 13:50:07 +01:00
Simon Cambier 8355489bcd #304 - Index more tokens, words split by brackets/parentheses 2023-11-01 13:22:06 +01:00
Simon Cambier 0558b9a328 #287 - Fixed & improved highlightText() + a bit of cleaning (#288) 2023-09-11 21:32:01 +02:00
Simon Cambier 603116158e Refactored excerpts and highlighting 2023-08-31 19:23:44 +02:00
Simon Cambier 92bef7daec Bugfix/281 backticks (#282)
* #281 - Added backticks as a separation character

* #281 - Fixed case sensitive duplicates

* Fixed highlighting bug, and improved perfs

Also added logs
2023-08-30 19:09:15 +02:00
Simon Cambier 932028c9e9 Merge branch 'master' of https://github.com/scambier/obsidian-omnisearch 2023-08-22 07:53:07 +02:00
Simon Cambier a3ae1d237c #278 - Fixed 2023-08-22 07:52:03 +02:00
YuNing Chen 095e5f841d Change the order of tokenizing text. (#267)
A Chinese user may also have english notes, but previous implementation can not handle hyphens and camel case

This commit should fix by changing the order of how tokens are generated
2023-08-02 09:59:30 +02:00
Simon Cambier 3f5269e498 #261 - Fixed supernumerary result 2023-07-25 11:22:39 +02:00
Simon Cambier 8f1638da2c Merge branch 'develop'
# Conflicts:
#	manifest-beta.json
#	src/settings.ts
#	versions.json
2023-07-22 23:17:43 +02:00
Simon Cambier 3ac85e7aa8 #74 - boost unmarked tags 2023-07-22 23:04:30 +02:00
Simon Cambier 34ef17b4ed Setting for fuzziness 2023-06-22 19:47:00 +02:00
Simon Cambier be2a724c0c Improving quotes to allow "hyphenated-words" 2023-06-18 10:05:26 +02:00
Simon Cambier 887dc669f3 #225 - hyphenated words should now be indexed whole _and_ split 2023-06-17 19:18:23 +02:00
Simon Cambier b5c1d31e85 Fixed extension filter 2023-05-18 15:14:26 +02:00
Simon Cambier 3f6e242b5d Removed old comment 2023-05-01 16:05:10 +02:00
Simon Cambier 56fc8157fb Feature/40 key value current folder (#218)
* #40 - Reworked Query

* #40 - added a "path:" option in the query field

* #40 - folder exclusion

* Cleaner code
2023-04-02 13:00:52 +02:00
Simon Cambier 23640f4b0b #208 - Added a time limits for regex matchers 2023-03-12 11:30:56 +01:00
Simon Cambier 24bfb94b71 #184 - Verbose logging 2023-03-11 14:43:29 +01:00
Simon Cambier 58db940b68 Sort then slice 2023-03-11 13:32:26 +01:00
Simon Cambier 36ccb52982 #176 - Option to index CamelCaseWords 2023-03-02 21:32:37 +01:00
Simon Cambier 74db8fecf9 Merge branch 'master' into feature/176-CamelCaseTokens 2023-03-02 19:53:05 +01:00
Simon Cambier 1799b8f3f6 When filtering for file extensions, match e.g. ".can" with ".canvas" 2023-02-24 22:44:56 +01:00
Simon Cambier 96b4ac631d #176 - WIP tokenization of CamelCase words
Technically works, but highlighting needs a rework
2023-02-24 12:16:40 +01:00
Simon Cambier 4df09aa70c #196 - Added customizable weighting for note's directory 2023-02-24 10:56:24 +01:00
Simon Cambier dd48e87517 #195 - Also highlight single emojis 2023-02-20 18:00:31 +01:00
Simon Cambier f398034950 #196 - Index the path 2023-02-16 18:00:57 +01:00
Simon Cambier 8c78c91cc3 #154 - filter by file extension 2023-02-11 15:43:01 +01:00
Simon Cambier 34a2fda066 Cleaning 2023-01-29 21:07:53 +01:00
Simon Cambier 6d1fba1429 Fixed a promises race bug + disabled showing previous messages 2023-01-27 23:03:48 +01:00
Simon Cambier c1b3c6d0ec Fixed potential indexing issues 2023-01-20 22:56:02 +01:00
Simon Cambier 5bc3ac045a Fixed prefix length bug 2023-01-19 22:02:19 +01:00