cancel
Showing results for 
Search instead for 
Did you mean: 

Why can't I get the docs I added in the search result?

kobeyang
Champ in-the-making
Champ in-the-making
Hi all,
my alfresco version is 4.0.e. Now I have added some documents named like "test.txt". But when I input "test" in the search textbox, I couldn't get the "test.txt" but lots of file that resided in the system when installing. So I assume there should be no problem in the Lucene environment because it can run the search. But there must be something wrong in the index building because when I uploaded the file, the directory "alf_data/lucene-indexes" was not updated.
The configuration is below.

index.recovery.mode=AUTO
index.tracking.cronExpression=0/5 * * * * ?

So I really don't know what's wrong. This problem has puzzled me for a week. Could anyone help me to figure it out? Thanks in advance.

Kobe
2 REPLIES 2

mitpatoliya
Star Collaborator
Star Collaborator
Do you have any kind of clustering environment or just simple instance?
Also make sure you are pointing to proper alf_store in your alfresco-global.property file.
And it may require just couple of seconds to sync the indexes so what happens if you try after some time or after restart?

kobeyang
Champ in-the-making
Champ in-the-making
Do you have any kind of clustering environment or just simple instance?
Also make sure you are pointing to proper alf_store in your alfresco-global.property file.
And it may require just couple of seconds to sync the indexes so what happens if you try after some time or after restart?

Thank you, mitpatoliya.
I have tried your method but it still didn't work. So I reinstalled Alfresco and modified nothing, then it worked! It's supposed that it's due to my modification afterwards, like the changes in advanced search.
Anyway, thank you mitpatoliya.

Kobe