Commit Graph

491 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
Maxime Lapointe
44b25eca25 Add highlighting in the note path (#327)
Co-authored-by: Maxime Lapointe <maxlap@gmail.com>
2023-12-16 10:12:13 +01:00
Hajime Nagisa
9cac7c0581 Fix: issue#190 (#317)
* Fixed search results with diacritics

- Caches are now stored with diacritics regardless of settings.ignoreDiacritics
- Modified getMatches() behavior to return results with correct form
- Modified ResultItemVault.svelte

* Fixed highlighting words with comma and period

- remove commas and periods from matches

* Fixed highlighting of Cyrillic characters

- changed highlight regexp determination to be based on character type

* Fixed highlighting problem of Japanese and Korean

- marked some Japanese diacritics to escape removal
- added NFC normalization to keep right form of Korean character

* Fixed highlighting of words with punctuation

- deleted space/punctuation list from stringsToRegex()
- it seems to be working correctly with words with punctuation and hyphenated words AFAIK

* Deleted some unused imports

* Modified the comment

* Added comment

* Fixed highlighting issue with comma and period

* Fixed highlighting issue with caret and other symbols

- Added `^` to separators
- Changed regex to use separators
- Added escape of `^` from diacritics removal
2023-11-29 07:32:25 +01:00
Simon Cambier
753811fa41 Merge branch 'develop' 2023-11-11 10:08:17 +01:00
Simon Cambier
c8e65558bc "Fixed" a condition 2023-11-10 19:12:20 +01:00
Simon Cambier
99a20f2e55 #164 - Added a button on mobile to switch to In-File (and back) 2023-11-02 18:02:20 +01:00
Simon Cambier
8d9a583335 Reduced debounce delay to 0 for updateResults() 2023-11-01 15:30:53 +01:00
Simon Cambier
1e6478d83e Cleaned some warnings from the deprecated global app object 2023-11-01 14:51:07 +01:00
Simon Cambier
8832ce7b78 #310 - Server notice display is now opt-out 2023-11-01 14:02:45 +01:00
Simon Cambier
8355489bcd #304 - Index more tokens, words split by brackets/parentheses 2023-11-01 13:22:06 +01:00
Simon Cambier
285c4e9257 Fixed bug where "Searching..." label wouldn't disappear 2023-11-01 12:26:35 +01:00
Simon Cambier
21df489a0b #298 - enabled case-insensitivity 2023-11-01 11:18:43 +01:00
Simon Cambier
4735d1dac3 Moved "show previous query" setting 2023-11-01 11:03:49 +01:00
Simon Cambier
beb4f191dc #306 - Reworked search field auto-fill 2023-11-01 10:29:41 +01:00
Simon Cambier
4a4d322f33 #303 - Improving Chinese result highlighting 2023-11-01 09:53:32 +01:00
Simon Cambier
fc6da987c9 getFiles().find() > .getAbstractFileByPath() 2023-11-01 09:20:37 +01:00
Simon Cambier
51a9cc7d90 Slight indexing perf improvement 2023-10-19 21:09:51 +02:00
Simon Cambier
9a218167d7 #302 - Fixed 2023-10-13 08:47:35 +02:00
Simon Cambier
fc6df5d36b Fixed url 2023-10-12 21:14:03 +02:00
Simon Cambier
6f53a62588 Removed some logs 2023-10-12 20:49:45 +02:00
Simon Cambier
c8505245b3 fixed null check 2023-10-12 20:40:06 +02:00
Simon Cambier
35d3eb04a9 HTTP Server 2023-10-12 20:38:00 +02:00
Simon Cambier
e59f252cb4 #296 - Added < > token separators 2023-09-30 14:22:15 +02:00
Simon Cambier
e8af75fdaa #293 - Updated dataloom support to 8.6.0 2023-09-30 14:09:21 +02:00
Simon Cambier
0558b9a328 #287 - Fixed & improved highlightText() + a bit of cleaning (#288) 2023-09-11 21:32:01 +02:00
Simon Cambier
d651278b43 1.17.0 2023-09-10 09:09:20 +02:00
Simon Cambier
5277c9dd80 #212 - pre-fill query with selected text (#286) 2023-09-09 12:34:23 +02:00
Simon Cambier
cf09ce5a28 Feature/275 open in background (#285)
* quodana base config

* Using constants instead of magic strings

* #275 - Added "alt o" to open a note without closing the omnisearch modal
2023-09-09 10:54:14 +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
b6c80e15ec #259 - Fixed 2023-08-27 11:35:50 +02:00
Simon Cambier
50eaa31ea6 Merge branch 'master' of https://github.com/scambier/obsidian-omnisearch 2023-08-22 08:09:17 +02:00
Simon Cambier
6607dffa98 Vim shortcut (#279)
* Allow VIM navigation shortcuts without VIM mode enabled in Obsidian

* Default value for vim navigation keys

---------

Co-authored-by: Neil-Chen <v009008777@hotmail.com>
2023-08-22 08:08:36 +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
a077b427eb Add missing async/await (#269) 2023-08-03 12:53:59 +02:00
YuNing Chen
0263018f65 Optimize splitCamelCase function performance (#270)
Test if contain first then split
2023-08-03 12:41:11 +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
32655a1570 Removed the welcome message 2023-07-28 12:14:45 +02:00
Simon Cambier
823cbad9c5 #263 - Added = as a token separator 2023-07-28 12:11:57 +02:00
Simon Cambier
8542a47d45 #262 - Fixed 2023-07-28 11:34:31 +02:00
Simon Cambier
fe76932b12 #264 - Fixed 2023-07-28 11:12:49 +02:00
Simon Cambier
7fef57de8e #254 - Fixed Text Extractor indexing when disabled in settings 2023-07-25 11:28:11 +02:00
Simon Cambier
3f5269e498 #261 - Fixed supernumerary result 2023-07-25 11:22:39 +02:00
Simon Cambier
ad5f84d826 Dataloom files are now always indexed 2023-07-23 10:29:17 +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
1a109d6d89 #254 - Index unsupported files 2023-07-17 11:49:54 +02:00