Re: [xwiki-users] Xwiki 5.3 upgrade and Solr
On Thu, Dec 26, 2013 at 7:14 PM, Stéphane LASSIRE slass...@cesap.asso.fr wrote: Hello Dumitru, Thanks for your help. To answer to tour questions : Were you using Solr before? I mean, was Solr the configured search engine before the upgrade? Did you had any modifications to the search pages (i.e. custom search) before the upgrade? Yes Solr was the engine before migrating. I do no make any modifications Check the history of XWiki.SolrSearchAdmin, XWiki.SearchCode and XWiki.SearchAdmin. Maybe there was a bad merge, but I don't see why. I will see, the history page permitts to solve some marge conflicts ? No, but you can spot a bad merge. I doubt this is the problem though because you said you didn't made any modifications to the search application so there wasn't any merge conflict most probably. You need to wait for the wiki to be indexed. The indexing is done in a background thread. You just trigger the indexing from the search administration. It's not done after the page reloads. But you should see a counter decreasing (the number of documents in the index queue, check the Solr search documentation page on extensions.xwiki.org). Only when that counter is 0 you know that entire wiki has been indexed and the results should be complete. I do not see any counter on lauching, I will look at the documentation of solr. where does this counter should be ? You should have a Status section. Checkout the 3rd image on http://extensions.xwiki.org/xwiki/bin/view/Extension/Solr+Search+Application#HSearchAdministration Sorry for the late reply. Hope this helps, Marius Have a nice day Stéphane Marius Dumitru Florea mariusdumitru.flo...@xwiki.com Envoyé par : users users-boun...@xwiki.org 26/12/2013 13:24 Veuillez répondre à XWiki Users users@xwiki.org A XWiki Users users@xwiki.org cc Objet Re: [xwiki-users] Xwiki 5.3 upgrade and Solr Hi Stéphane, On Dec 26, 2013 11:52 AM, Stéphane LASSIRE slass...@cesap.asso.fr wrote: Hello, On monday I make the upgrade on our linux server from Xwiki 5.1 to Xwiki 5.3. We are using Debian + POstgresql + Tomcat 7. The migration was OK, after the debian step I went to the admin migration tool inside Xwiki. I think I answer to all the conflict questions. And finally like said in the documentation I delete on the server the /var/lib/xwiki/data/solr directory. But something is not ok with solr. Were you using Solr before? I mean, was Solr the configured search engine before the upgrade? Did you had any modifications to the search pages (i.e. custom search) before the upgrade? On the Admin page of Recherche, on the SOlr research result page , on the top of the page I got this message : #if ($searchEngine != $searchExtension.id) At the bottom : label for=solrAdminAction$services.localization.render('solr.admin.indexing.action.label')/label span class=xHint$services.localization.render('solr.admin.indexing.action.hint')/span Check the history of XWiki.SolrSearchAdmin, XWiki.SearchCode and XWiki.SearchAdmin. Maybe there was a bad merge, but I don't see why. It sounds like some translations are not there. But the real problem is there the research is very limited. I ask Solr to recreate all indexes, reboot the server after a will, but nothing change. I know some very used words in our organisation, in pages or inside attached documents, but Solr show a few of them. You need to wait for the wiki to be indexed. The indexing is done in a background thread. You just trigger the indexing from the search administration. It's not done after the page reloads. But you should see a counter decreasing (the number of documents in the index queue, check the Solr search documentation page on extensions.xwiki.org). Only when that counter is 0 you know that entire wiki has been indexed and the results should be complete. Hope this helps, Marius Any idea ? Thanks Cordialement Stéphane Lassire ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Xwiki 5.3 upgrade and Solr
Hello, I looked at the bottom of the search page on the admin side. Only a message not translated, and may be something is missing : label for=solrAdminAction$services.localization.render('solr.admin.indexing.action.label')/label span class=xHint$services.localization.render('solr.admin.indexing.action.hint')/span And dont worry, you are not late, I was off office last days . Happy new year Stéphane Marius Dumitru Florea mariusdumitru.flo...@xwiki.com Envoyé par : users users-boun...@xwiki.org 26/12/2013 13:24 Veuillez répondre à XWiki Users users@xwiki.org You need to wait for the wiki to be indexed. The indexing is done in a background thread. You just trigger the indexing from the search administration. It's not done after the page reloads. But you should see a counter decreasing (the number of documents in the index queue, check the Solr search documentation page on extensions.xwiki.org). Only when that counter is 0 you know that entire wiki has been indexed and the results should be complete. I do not see any counter on lauching, I will look at the documentation of solr. where does this counter should be ? You should have a Status section. Checkout the 3rd image on http://extensions.xwiki.org/xwiki/bin/view/Extension/Solr+Search+Application#HSearchAdministration Sorry for the late reply. Hope this helps, Marius ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Xwiki 5.3 upgrade and Solr
On Mon, Jan 6, 2014 at 1:56 PM, Stéphane LASSIRE slass...@cesap.asso.fr wrote: Hello, I looked at the bottom of the search page on the admin side. Only a message not translated, and may be something is missing : label for=solrAdminAction$services.localization.render('solr.admin.indexing.action.label')/label span class=xHint$services.localization.render('solr.admin.indexing.action.hint')/span Is this HTML visible on the administration section or are you pasting from the HTML source of the page (Right Click + View Source, in most browsers)? If you see this HTML directly on the search administration page then something is clearly wrong. A quick fix is to import the XAR of the Search Application corresponding to the XWiki version you have. Actually there are 2 XARs: http://maven.xwiki.org/releases/org/xwiki/platform/xwiki-platform-search-ui/ http://maven.xwiki.org/releases/org/xwiki/platform/xwiki-platform-search-solr-ui/ but we won't know what caused the upgrade problem. Hope this helps, Marius And dont worry, you are not late, I was off office last days . Happy new year Stéphane Marius Dumitru Florea mariusdumitru.flo...@xwiki.com Envoyé par : users users-boun...@xwiki.org 26/12/2013 13:24 Veuillez répondre à XWiki Users users@xwiki.org You need to wait for the wiki to be indexed. The indexing is done in a background thread. You just trigger the indexing from the search administration. It's not done after the page reloads. But you should see a counter decreasing (the number of documents in the index queue, check the Solr search documentation page on extensions.xwiki.org). Only when that counter is 0 you know that entire wiki has been indexed and the results should be complete. I do not see any counter on lauching, I will look at the documentation of solr. where does this counter should be ? You should have a Status section. Checkout the 3rd image on http://extensions.xwiki.org/xwiki/bin/view/Extension/Solr+Search+Application#HSearchAdministration Sorry for the late reply. Hope this helps, Marius ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Xwiki 5.3 upgrade and Solr
Hello, Is this HTML visible on the administration section or are you pasting from the HTML source of the page (Right Click + View Source, in most browsers)? If you see this HTML directly on the search administration page then something is clearly wrong. A quick fix is to import the XAR of the Search Application corresponding to the XWiki version you have. Actually there are 2 XARs: http://maven.xwiki.org/releases/org/xwiki/platform/xwiki-platform-search-ui/ http://maven.xwiki.org/releases/org/xwiki/platform/xwiki-platform-search-solr-ui/ but we won't know what caused the upgrade problem. Hope this helps, Marius This is a good idea, after deleting old modules and importing the new ones it is ok, no more non translated messages et the statut line is there. Thank you very much Cordialement Stéphane ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Xwiki 5.3 upgrade and Solr
Hello Dumitru, Thanks for your help. To answer to tour questions : Were you using Solr before? I mean, was Solr the configured search engine before the upgrade? Did you had any modifications to the search pages (i.e. custom search) before the upgrade? Yes Solr was the engine before migrating. I do no make any modifications Check the history of XWiki.SolrSearchAdmin, XWiki.SearchCode and XWiki.SearchAdmin. Maybe there was a bad merge, but I don't see why. I will see, the history page permitts to solve some marge conflicts ? You need to wait for the wiki to be indexed. The indexing is done in a background thread. You just trigger the indexing from the search administration. It's not done after the page reloads. But you should see a counter decreasing (the number of documents in the index queue, check the Solr search documentation page on extensions.xwiki.org). Only when that counter is 0 you know that entire wiki has been indexed and the results should be complete. I do not see any counter on lauching, I will look at the documentation of solr. where does this counter should be ? Have a nice day Stéphane Marius Dumitru Florea mariusdumitru.flo...@xwiki.com Envoyé par : users users-boun...@xwiki.org 26/12/2013 13:24 Veuillez répondre à XWiki Users users@xwiki.org A XWiki Users users@xwiki.org cc Objet Re: [xwiki-users] Xwiki 5.3 upgrade and Solr Hi Stéphane, On Dec 26, 2013 11:52 AM, Stéphane LASSIRE slass...@cesap.asso.fr wrote: Hello, On monday I make the upgrade on our linux server from Xwiki 5.1 to Xwiki 5.3. We are using Debian + POstgresql + Tomcat 7. The migration was OK, after the debian step I went to the admin migration tool inside Xwiki. I think I answer to all the conflict questions. And finally like said in the documentation I delete on the server the /var/lib/xwiki/data/solr directory. But something is not ok with solr. Were you using Solr before? I mean, was Solr the configured search engine before the upgrade? Did you had any modifications to the search pages (i.e. custom search) before the upgrade? On the Admin page of Recherche, on the SOlr research result page , on the top of the page I got this message : #if ($searchEngine != $searchExtension.id) At the bottom : label for=solrAdminAction$services.localization.render('solr.admin.indexing.action.label')/label span class=xHint$services.localization.render('solr.admin.indexing.action.hint')/span Check the history of XWiki.SolrSearchAdmin, XWiki.SearchCode and XWiki.SearchAdmin. Maybe there was a bad merge, but I don't see why. It sounds like some translations are not there. But the real problem is there the research is very limited. I ask Solr to recreate all indexes, reboot the server after a will, but nothing change. I know some very used words in our organisation, in pages or inside attached documents, but Solr show a few of them. You need to wait for the wiki to be indexed. The indexing is done in a background thread. You just trigger the indexing from the search administration. It's not done after the page reloads. But you should see a counter decreasing (the number of documents in the index queue, check the Solr search documentation page on extensions.xwiki.org). Only when that counter is 0 you know that entire wiki has been indexed and the results should be complete. Hope this helps, Marius Any idea ? Thanks Cordialement Stéphane Lassire ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users