moving umbraco project require rebuild index to work
Hi
i have a newspaper project and i wrote many controllers that using examine search internal and external index
my problem is that every time i uploading my project to real server i found that i have to rebuild index to make it working will because examine will not return the results without rebuild index again.
why this case happening and how can i solve that ?
Are you using existing indexes ? if yes - It should work, if it new indexes - umbraco should create them. sometimes it disabled by default and you need create it manually.
Does your site have a large number of nodes?
if yes try to wait for 5 minutes after you upload your project in some cases its need some time to deploy the indexes
moving umbraco project require rebuild index to work
Hi
i have a newspaper project and i wrote many controllers that using examine search internal and external index
my problem is that every time i uploading my project to real server i found that i have to rebuild index to make it working will because examine will not return the results without rebuild index again.
why this case happening and how can i solve that ?
Are you using existing indexes ? if yes - It should work, if it new indexes - umbraco should create them. sometimes it disabled by default and you need create it manually.
Hi Yakov
i am using the main umbraco internal & external index i just change the index type for a one date picker from full text type to date time
If you changed field type you should rebuild index once to apply changes.
so what do you think the reason for that i have to rebuild it each time i upload the project on server ?
No, rebuild needed only if configuration was changed.
do you mean the reason is changing the connection string or witch configuration do you mean ?!
what is the configuration that changed when i moving the project to another device ?
What does your /config/ExamineSettings.config file look like?
Reindexing on startup is enabled by default, but maybe you have it disabled?
Hi Søren,
How do you check the reindex on startup is enabled?
I'm fairly sure my
/config/ExamineSettings.config
is default but I wonder if somehow it is disabled?This is the contents https://pastebin.com/zMKerpj9
Thanks, Jack
Hi Jack
There is a property on the root element called RebuildOnStartup (IIRC). You can set it to false to disable reindexing. The default value is true.
Hi Søren
I am using Umbraco 8 and i thing there no ExamineSettings.config in umbraco 8
Sorry, the config files is only for v7. I don't know how indexing on startup works in v8.
I have exactly the same issue, have anyone solved it so far?
Hi Adam
Does your site have a large number of nodes? if yes try to wait for 5 minutes after you upload your project in some cases its need some time to deploy the indexes
is working on a reply...