You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Saroj Khamlue (JIRA)" <ji...@apache.org> on 2013/06/21 05:34:19 UTC

[jira] [Commented] (OFBIZ-4535) Search using Russian word (maybe others) causes distortion and failed product search

    [ https://issues.apache.org/jira/browse/OFBIZ-4535?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13689998#comment-13689998 ] 

Saroj Khamlue commented on OFBIZ-4535:
--------------------------------------

I tried take these out of : 

<filter-name>CatalogUrlFilter</filter-name>
    <display-name>CatalogUrlFilter</display-name>
    <filter-class>org.ofbiz.product.category.CatalogUrlFilter</filter-class>
    <init-param><param-name>defaultLocaleString</param-name><param-value>en_US</param-value></init-param>
    <init-param><param-name>redirectUrl</param-name><param-value>/control/main</param-value></init-param>
</filter>

...

<filter-mapping>
    <filter-name>CatalogUrlFilter</filter-name>
    <url-pattern>/*</url-pattern>
</filter-mapping>

The search with multi-languages works fine.

Please help me to confirm we can take these out and will not affect.

                
> Search using Russian word (maybe others) causes distortion and failed product search
> ------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-4535
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4535
>             Project: OFBiz
>          Issue Type: Bug
>          Components: specialpurpose/ecommerce
>    Affects Versions: SVN trunk, Release Branch 12.04
>         Environment: Ubuntu and others.
>            Reporter: mz4wheeler
>         Attachments: r1127449-r1127394.diff
>
>
> NOTE: The following post contains UTF8 characters.
> After rebuilding keywords in a UTF8 database (postgres) and searching a UTF8 browser (chrome), the Russian phrase is correctly present in the database, as follows:
> ofbiz=# select * from product_keyword where keyword = 'игроков';
>    product_id    | keyword | relevancy_weight (trimmed)
> -----------------+---------+-----------------
>  DVDMV-ADVANGYM  | игроков |                1 
> However, when pasting 'игроков' into ecommerce Search, the following is returned "Not Found"
> Keywords: "Ð¸Ð³Ñ Ð¾ÐºÐ¾Ð²", where any word matches, which distorts the search.
> This may affect other languages, which I haven't tested.
> I also tried the same search in 12.04 (demo) and trunk and it produces the same issue.  This means that multi-language product search is broken in OFBiz.  11.04 is unaffected.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira