cancel
Showing results for 
Search instead for 
Did you mean: 

Search and language

jumpm7
Champ in-the-making
Champ in-the-making
Hallo,

I already posted this argument on different group ( see http://forums.alfresco.com/en/viewtopic.php?f=7&t=17183 ), but I could not solve the problem. Then I saw this forum and I hope this may be the rigth place.
Well, some mounths ago we installed Alfresco (v 2.1). At the beginning we didn't care about language and we had both English as Italian. Due to not perfect configuration the users at logon, had the default English and therefore had to change every time on Italian language. The result is that mostly the users connect via Italian option but sometimes with english too. Now we discovered that the objects added in one language are not searchable in the other…. Smiley Surprised  I understood that is related with "locale" and lucene configuration. Now I set to force Italian at logon, what we need is produce query results of all the stored objects. I think suold be a way to "convert" ( sorry it's not the rigth term but it gives and idea) alle the objects in one single lancuage (that is: italian). Or may there is another way to solve this little mess.

Thanks al lot for your help

Gianpaolo
3 REPLIES 3

derek
Star Contributor
Star Contributor
Hi,
You can force a full reindex.  The best is to do it offline using a recent backup, and then to use that index to reseed the live servers.
Regards

jumpm7
Champ in-the-making
Champ in-the-making
Thanks Derek. Could you give me some details how to do what you are suggesting?

Best regards,

Gianpaolo

jumpm7
Champ in-the-making
Champ in-the-making
Ok… what I did was this (looking some other posts)

1. Backup Alfresco (thanks vmware..)
2. Stop Alfresco
3. Modify <dir.root>/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/repository.properties
 
# The index recovery mode (NONE, VALIDATE, AUTO, FULL)
      index.recovery.mode=FULL
    
   
befor it was "VALIDATE"
4. Start again alfresco
5. Reindex was starting…
  5 tail -f /opt/alfresco/tomcat/catalina.out
    14:00:02,383 INFO  [node.index.FullIndexRecoveryComponent] Index recovery started: 156,440 transactions.
    14:04:47,587 INFO  [node.index.FullIndexRecoveryComponent]    10 % complete.
    14:09:50,999 INFO  [node.index.FullIndexRecoveryComponent]    20 % complete.
    14:14:07,013 INFO  [node.index.FullIndexRecoveryComponent]    30 % complete.

After 100% reindex it tooks about 3 ours to start completely Alfresco.

6. Put again VALIDATE on index.recovery

Well it has been a interesting exercise, but I don't know how change my situation. I should reintroduce English to understand exacly. May some "problems" cames because of search function behaviour. For example,
if in quick search I put the word "udine" (it is a town) I don'find basically nothing. If I put "*udine" I find all containg the word "udine" for example:

- distrinutoriudine.cdr
- agenzie-udine.cdr
- stradediudine.cdr
- udine.tif
- Udine.cdr

What is strange is that the last records, with oly "udine" text in file name, I aspected to find also in the first query…

bye

Gianpaolo