On Oct 15, 2013, at 10:50 AM, Thomas Mortagne <thomas.morta...@xwiki.com> wrote:

> On Tue, Oct 15, 2013 at 10:23 AM, Vincent Massol <vinc...@massol.net> wrote:
>> 
>> On Oct 15, 2013, at 10:20 AM, Vincent Massol <vinc...@massol.net> wrote:
>> 
>>> 
>>> On Oct 15, 2013, at 10:18 AM, Thomas Mortagne <thomas.morta...@xwiki.com> 
>>> wrote:
>>> 
>>>> On Tue, Oct 15, 2013 at 10:15 AM, Vincent Massol <vinc...@massol.net> 
>>>> wrote:
>>>>> Hi Stefan,
>>>>> 
>>>>> On Oct 15, 2013, at 8:57 AM, StefanS <sabolowitsc...@in-trier.de> wrote:
>>>>> 
>>>>>> Hi (Bonjour) Vincent,
>>>>>> this is a fresh Xwiki v5.2 installtion with the standard Blog Space 
>>>>>> (first
>>>>>> Blog post).
>>>>>> I get no search results from this space, for "any text" in this Space.
>>>>>> 
>>>>>> Please look here:
>>>>>> http://www.pictureupload.de/originals/pictures/151013085537_Search_Blog.png
>>>>> 
>>>>> AFAIU the reason is because your wiki is set to German and the Blog 
>>>>> introduction page (for example) has English content so the search doesn't 
>>>>> return it.
>>>> 
>>>> No, all the standard pages have no language set and should appear in
>>>> the search with whatever current language.
>>> 
>>> ok then we might have a regression because I could reproduce the issue. Do 
>>> you think you could look into it?
>> 
>> Could it be that it's because the SOLR index was created when the wiki was 
>> in English and then I switched to German but the index hasn't been 
>> recomputed or something like this?
>> 
>> Yep that's it. If I delete the SOLR index and restary my wiki it shows up 
>> fineā€¦
> 
> No, when you add a new language, SOLR reindex the pages that needs to
> be reindexed.
> 
> I did the following in 5.3-SNAPSHOT and it worked well:
> * add fr to the supported language
> * set fr as default language
> * wait a bit
> * search for "wiki" -> I get various results and none of them are fr

This is what I did:

* Start xwiki (standalone jetty)
* Wait
* Search for "blog" and got the introduction blog post
* Go to admin, **replace** "en" by "fr" in both fields (default and all 
languages)
* Wait
* Search for "blog" and got no result
* Stop XWiki
* Delete data/solr
* Restart and wait
* Search for "blog" and got the introduction blog post

Thanks
-Vincent

>> Thanks
>> -Vincent
>> 
>>> Thanks
>>> -Vincent
>>> 
>>>>> @Marius/Thomas: is there a way to return results for all languages?
>>>>> 
>>>>> Thanks
>>>>> -Vincent

_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to