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 <[email protected]> 
Envoyé par : "users" <[email protected]>
26/12/2013 13:24
Veuillez répondre à
XWiki Users <[email protected]>


A
XWiki Users <[email protected]>
cc

Objet
Re: [xwiki-users] Xwiki 5.3 upgrade and Solr






Hi Stéphane,

On Dec 26, 2013 11:52 AM, "Stéphane LASSIRE" <[email protected]> 
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
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to