cancel
Showing results for 
Search instead for 
Did you mean: 

incomplete search results.. rebuild indexes?

sregan
Champ in-the-making
Champ in-the-making
Hi, I'm new to Alfresco.

I managed to get a bunch (20,000) of pdfs loaded via the CIFS interface, but the search function does not find all of them.  I can search the original documents via Windows search and find them and I can open them from within Alfresco Explorer and use the adobe search to confirm that the search term is in the file, but Alfresco search isn't returning that file.

I have not errors in the tomcat window now. - but I did have some during the original load.

This fourm mentions: setting index.recovery.mode=FULL in

Tomcat/shared/classes/alfresco/entention/custom-repository.properties with respect to v.2.1.0  but I don't have a file by that name.

Thanks
Shawn
6 REPLIES 6

sregan
Champ in-the-making
Champ in-the-making
NOTE: I'm running 3.2 comunity, Win XP

mrogers
Star Contributor
Star Contributor
The files are indexed shortly after they are uploaded so if there was an error with your indexing when you uploaded then there is some un-indexed content.     The index rebuild will solve that.

sregan
Champ in-the-making
Champ in-the-making
Yes, I'm hopeing that reindexing will solve the problem, but I don't know how to do it.  The only refrence to it that I have found does not appear to apply to 3.2

Can you provide me with a link or other documetation on how to cause the indexes to rebuild please?

Thank you
Shawn

mrogers
Star Contributor
Star Contributor
Shut down your server.
Set index.recovery.mode=FULL
in your alfresco-global.properties.
Restart your server.
After it starts set index.recovery.mode back to whatever it was before you changed it to FULL.

kbonnet
Champ in-the-making
Champ in-the-making
Hi MRogers,

I have seen advice to remove the lucene-indexes directory from the alf_data. Does reindexing behave different if this directory is still there? Is the best way to start from scratch to remove the lucene-indexes?

Thanks,
Koen

slowlearner
Champ in-the-making
Champ in-the-making
Hi Koen, i have also seen this quite often. The lucene wiki indicates that there is no need to remove index files. Here's what it says:
When I recreate an index from scratch, do I have to delete the old index files?
No, creating the IndexWriter with "true" should remove all old files in the old index (actually with Lucene < 1.9 it removes all files in the index directory, no matter if they belong to Lucene).
http://wiki.apache.org/lucene-java/LuceneFAQ

hth