Help search index not found
17 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Being a novice I have been using the help documentation frequently as I learn how to do what I want!
Suddenly, I started getting the error:
Search index not found
when searching the documentation on my laptop installation. I started using my PC installation instead to search the help pages but since today get the same error message! In both cases I can still browse the documentation - I just can't search it anymore.
I have no idea what could have caused this on both systems. Maybe there was a Windows update that causes problems?
I have Matlab R2017b (9.3.0.713579) on both machines running Windows 7 with an academic license.
Does anyone know how to restore the search index?
Thanks
0 Commenti
Risposte (1)
Jan
il 22 Gen 2018
See https://www.mathworks.com/help/matlab/ref/builddocsearchdb.html for re-creating the search database. Maybe this helps you to find the corresponding files in the help folders and restore them from the backup (see "recent versions" or "file history"). But if the data base vanished on both computers, there must be a connection. Maybe one of your functions overwrites them or you have shadowed a built-in function, such that the search fails? Check this by e.g. https://www.mathworks.com/matlabcentral/fileexchange/27861-uniquefuncnames.
4 Commenti
Johannes Stoerkle
il 15 Apr 2020
I had the same error with R2020a (but not with the previous versions). My code was:
... publish files in 'C:\PathToDirWithInfoXml\html'
% Renew addpath(<directory path info.xml>)
rmpath('C:\PathToDirWithInfoXml\')
addpath('C:\PathToDirWithInfoXml\')
builddocsearchdb('C:\PathToDirWithInfoXml\html');
It turned out, that since R2020a, the filesep at the end of the string argument for rmpath(...) and addpath(...) leads to problems. Now, this is working:
... publish files in 'C:\PathToDirWithInfoXml\html'
% Renew addpath(<directory path info.xml>)
rmpath('C:\PathToDirWithInfoXml') % pathWithoutFilesep = fileparts(pathWithFilesep)
addpath('C:\PathToDirWithInfoXml')
builddocsearchdb('C:\PathToDirWithInfoXml\html');
Vedere anche
Categorie
Scopri di più su Introduction to Installation and Licensing in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!