Sugar 7: global search is not finding any results, even if Elasticsearch is ready and workable.

Hello everyone !

What i want :
Simply a fonctionnal Global search.

What i have :
Sugar Pro 7.5.1
My users need to search through Global Search, and we came to a strange situation :
Even if i search the name of a contact (wich is high boost), in the global search zone, i get a "No result found" little pop up.

What i did :
- I've checked in admin> global search if Elasticsearch worked. It is.
- i've clicked on "plan index", which gave me the little pop up described here : http://support.sugarcrm.com/02_Documentation/01_Sugar_Editions/04_Sugar_Professional/Sugar_Professio... but after a while, nothing has changed.
- So i've checked in the Schedulers, and there was no scheduled task which would perform the function::performFullFTSIndex job. I've added one.Called "test Index",  Active, as often as possible.
- Nothing happened too.
- I've checked in elasticsearch.log, and i have the following, which seems to be saying "it's good, the index is cool" :

[2015-07-07 16:24:58,683][INFO ][cluster.metadata         ] [Thunderbird] [efa70bed4f2e5a75a907f99f7f153ca3] creating index, cause [api], shards [5]/[1], mappings [][2015-07-07 16:24:58,733][INFO ][cluster.metadata         ] [Thunderbird] [efa70bed4f2e5a75a907f99f7f153ca3] create_mapping [Leads]
[2015-07-07 16:24:58,799][INFO ][cluster.metadata         ] [Thunderbird] [efa70bed4f2e5a75a907f99f7f153ca3] create_mapping [Contacts]
[2015-07-07 16:24:58,816][INFO ][cluster.metadata         ] [Thunderbird] [efa70bed4f2e5a75a907f99f7f153ca3] create_mapping [Accounts]
[2015-07-07 16:24:58,828][INFO ][cluster.metadata         ] [Thunderbird] [efa70bed4f2e5a75a907f99f7f153ca3] create_mapping [Calls]
[2015-07-07 16:24:58,837][INFO ][cluster.metadata         ] [Thunderbird] [efa70bed4f2e5a75a907f99f7f153ca3] create_mapping [Notes]
[2015-07-07 16:24:58,854][INFO ][cluster.metadata         ] [Thunderbird] [efa70bed4f2e5a75a907f99f7f153ca3] create_mapping [Contracts]
[2015-07-07 16:24:58,863][INFO ][cluster.metadata         ] [Thunderbird] [efa70bed4f2e5a75a907f99f7f153ca3] create_mapping [Cases]
[2015-07-07 16:24:58,885][INFO ][cluster.metadata         ] [Thunderbird] [efa70bed4f2e5a75a907f99f7f153ca3] create_mapping [de_Devis]
[2015-07-07 16:24:58,894][INFO ][cluster.metadata         ] [Thunderbird] [efa70bed4f2e5a75a907f99f7f153ca3] create_mapping [ag_ActesDeGestion]
- When going to my "test Index" scheduled task, there is no job running/done/queued nor failed.

Do you have any idea on what is happening in my global search, please?
Do you have some clue on where i have to search for the errors?

Thanks a lot for your time !
Parents
  • We had the same problem.  We created a case with support and they reindexed the db and that resolved most of our issues.  One thing that we had done is also implement teams and we noted that all of the data was set to global as primary.  When we updated the records with the correct team as primary this also helped with global search.  The key for us was the reindexing and working with support on this issue. Hope this helps.

  • Coming back with some news :

    - I've reindexed everything
    - I've launched the command to start cron.php manually (to avoid any problem in the crontab)
    - It seemes to have run.

    BUT I still have nothing in the GLobal Search. And finally, like Shijin Krishna :
    1 ) I have to edit and save every record (sometimes Massive upgrade works, sometimes not), to find it in the global search. I did it as an admin.
    2) My users see nothing in the global search. And i xan't say "Hey everyone of you should edit and save all the records to see them in Global Search!"

    What can i do more ?
    Should i open a Case to the Support ?
    Did somebody manage to resolve this error ?

    Thanks a lot.

  • I had this problem. Tried everything and it was fixed after simply increasing the RAM of the server.
Reply Children
No Data