You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -52,7 +52,7 @@ You can check the [CHANGELOG](./CHANGELOG.md) for more information on the differ
52
52
- Supports Vim navigation keys
53
53
54
54
**Note:** support of Chinese depends
55
-
on [this additional plugin](https://github.com/aidenlx/cm-chs-patch). Please read its documentation for more
55
+
on [this additional plugin](https://github.com/aidenlx/cm-chs-patch) (also you may need to clear search cache data to apply new Chinese index). Please read its documentation for more
@@ -125,6 +128,24 @@ export class SettingsTab extends PluginSettingTab {
125
128
126
129
//#region Indexing
127
130
131
+
constindexingDesc=newDocumentFragment()
132
+
indexingDesc.createSpan({},span=>{
133
+
span.innerHTML=`⚠️ <span style="color: var(--text-accent)">Changing indexing settings will clear the cache, and requires a restart of Obsidian.</span><br/><br/>`
134
+
if(textExtractor){
135
+
span.innerHTML+=`
136
+
👍 You have installed <a href="https://github.com/scambier/obsidian-text-extractor">Text Extractor</a>, Omnisearch can use it to index PDFs and images contents.
137
+
<br />Text extraction only works on desktop, but the cache can be synchronized with your mobile device.`
138
+
}else{
139
+
span.innerHTML+=`⚠️ Omnisearch requires <a href="https://github.com/scambier/obsidian-text-extractor">Text Extractor</a> to index PDFs and images.`
140
+
}
141
+
142
+
if(aiImageAnalyzer){
143
+
span.innerHTML+=`<br/>👍 You have installed <a href="https://github.com/Swaggeroo/obsidian-ai-image-analyzer">AI Image Analyzer</a>, Omnisearch can use it to index images contents with ai.`
144
+
}else{
145
+
span.innerHTML+=`<br/>⚠️ Omnisearch requires <a href="https://github.com/Swaggeroo/obsidian-ai-image-analyzer">AI Image Analyzer</a> to index images with ai.`
146
+
}
147
+
})
148
+
128
149
newSetting(containerEl)
129
150
.setName('Indexing')
130
151
.setHeading()
@@ -191,6 +212,23 @@ export class SettingsTab extends PluginSettingTab {
191
212
)
192
213
.setDisabled(!textExtractor)
193
214
215
+
// AI Images Indexing
216
+
constaiIndexImagesDesc=newDocumentFragment()
217
+
aiIndexImagesDesc.createSpan({},span=>{
218
+
span.innerHTML=`Omnisearch will use AI Image Analyzer to index the content of your images with ai.`
219
+
})
220
+
newSetting(containerEl)
221
+
.setName(`Images AI indexing ${aiImageAnalyzer ? '' : '⚠️ Disabled'}`)
0 commit comments