[ckan-dev] multilingual extension and searching datasets

Ryan Maine balrogmi at msn.com
Wed Sep 25 11:58:25 UTC 2013


After solving it another behaviour I've been noticed is related to
WHEN new translations can be used for searching. After adding a
translation it seems that I need to rebuild indexes, is it correct?

Thanks

2013/9/25 Ryan Maine <balrogmi at msn.com>:
> Yes I rebuilded indexes several times but the problem was the same.
>
> Now It works. I think the problem was due I was using "schema.xml"
> included in ckan multilingual extension directory of my installation,
> so I've downloaded the master version on github and now it works
> perfectly.
>
> Additionally one of my languages of my site didn't have the
> corresponding section in "schema.xml" because this was none of the
> languages the file brings.
>
> Thanks for your help
>
> 2013/9/25 Jorge Pantoja <jorgepantojam at gmail.com>:
>> Hello Ryan,
>>
>> I tested this behaviour in my CKAN deployment and the search feature is
>> working well with the term translations. Did you do this "$ paster
>> --plugin=ckan search-index rebuild --config=/etc/ckan/default/production.ini
>> (or development.ini)" correctly?
>>
>> BR,
>>
>> Jorge
>>
>>
>>
>> On Wed, Sep 25, 2013 at 10:39 AM, Ryan Maine <balrogmi at msn.com> wrote:
>>>
>>> Following the steps described at
>>> https://github.com/okfn/ckan/issues/1021 after enabling multilingual
>>> extension, replacing schema file and rebuilding indexes, the search is
>>> working but under a strange condition.
>>>
>>> I have noticed that the search doesn't work if I make a search using a
>>> term translated, for instance:
>>>
>>> 1º) I created a translation for French mapping "computer" to "ordinateur"
>>>
>>> 2º) I created a dataset called "computer"
>>>
>>> 3º) I logged into my ckan site and selected French language
>>>
>>> 4º) If I type "computer" in the search field it finds a dataset called
>>> "ordinateur" --> OK!!
>>>
>>> 5º) But if I type "ordinateur" in the search field it doesn't find
>>> anything --> Normal???
>>>
>>> I need to know if this behaviour is correct?? For me it doesn't make
>>> much sense to ask French visitors to type the keywords in English to
>>> find results in French.
>>>
>>> Regards
>>>
>>> _______________________________________________
>>> ckan-dev mailing list
>>> ckan-dev at lists.okfn.org
>>> http://lists.okfn.org/mailman/listinfo/ckan-dev
>>> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
>>
>>
>>
>> _______________________________________________
>> ckan-dev mailing list
>> ckan-dev at lists.okfn.org
>> http://lists.okfn.org/mailman/listinfo/ckan-dev
>> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
>>




More information about the ckan-dev mailing list