Commit Graph

70 Commits

Author SHA1 Message Date
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
Simon Cambier
3c32e5f70f #182 - Added back an opt-out for the cache, now automatically disabled in case of crash 2023-01-18 22:17:26 +01:00
Simon Cambier
329aa50daa Fix #181 - Making sure that documents have a .path
Though they should...
2023-01-17 21:45:43 +01:00
Simon Cambier
eecfc78be2 Tweaking fuzzy search 2022-12-31 21:26:53 +01:00
Simon Cambier
a8199db570 Fixed #149 #131
For real this time
2022-12-12 21:24:33 +01:00
Simon Cambier
98e343e33e Chores 2022-12-08 21:09:18 +01:00
Simon Cambier
18e7c011bc Removed useless cache writing 2022-12-07 18:19:59 +01:00
Simon Cambier
a69e020738 Fixed order of operations: search > filter & sort > slice
Also passing options.singleFilePath to search() for better perfs
2022-12-05 12:59:53 +01:00
Simon Cambier
c33d6e0cee #127 - Downrank or hide excluded files 2022-12-03 09:42:24 +01:00
Simon Cambier
843545a38a Make sure we don't add the same file twice into minisearch index 2022-12-01 13:09:05 +01:00
Simon Cambier
b343da3c3e Fixing #138 2022-11-30 19:43:50 +01:00
Simon Cambier
01d859034a Fixed indexingStep messages 2022-11-29 17:37:47 +01:00
Simon Cambier
6b1e58fcce #131 - Fixed highlighting for Korean queries 2022-11-28 21:37:42 +01:00
Simon Cambier
911ef193ae Re-added the live cache, lazily populated 2022-11-26 22:21:28 +01:00
Simon Cambier
d4519b57c2 WIP document mapping 2022-11-26 18:03:06 +01:00
Simon Cambier
c6cee62214 Minisearch 6.0 refactor ok 2022-11-26 12:44:20 +01:00
Simon Cambier
e3ac5a4bac Minisearch 6.0 mostly ok 2022-11-25 22:40:59 +01:00