[ 
http://jira.nuxeo.org/browse/NXP-2434?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Narcis Paslaru  updated NXP-2434:
---------------------------------

    Attachment: SharedTestDataBuilder.java
                SearchEngineBackendTestCase.java

I've attached 2 classes that I've modified in order to illustrate the usecases 
described here.

The test methods that are relevant here are :

 public void testNonDefaultAnalyzer() and  public void testNonDefaultAnalyzer2()

These classes should replace their originals in nuxeo-platform-search-test and 
I've used org.nuxeo.ecm.core.search.backend.compass.TestCompassBackend to run 
as JUnit from eclipse for rapidity.


> French search incoherence
> -------------------------
>
>                 Key: NXP-2434
>                 URL: http://jira.nuxeo.org/browse/NXP-2434
>             Project: Nuxeo Enterprise Platform
>          Issue Type: Bug
>          Components: Query / Search
>            Reporter: Narcis Paslaru 
>            Assignee: Thierry Delprat
>         Attachments: SearchEngineBackendTestCase.java, 
> SharedTestDataBuilder.java
>
>
> Here are two examples to ilustrate the misbehaviour of the search engine when 
> using the french analyzer :
> Example 1 :
>  In the database, there are two documents called :
>      - Entrant Itinéris
>      - Sortante Itineris
>   
>  When I search for "itinéris" : the two of them are returned. => OK!
>  When I search for "itineris" : the two of them are returned. => OK!
>  When I search for "ITINERIS" : none of them are returned.  => non OK! 
>   
>   
>  Example 2 :
>  In the database, there are two documents called :
>      - CA équipement
>      - CA équipement social
>   
>  When I search for "équipement" : the two of them are returned. => OK!
>  When I search for "equipement" : none of them are returned. => non OK!  :-( 
>  When I search for "EQUIPEMENT" : none of them are returned.  => non OK!  :-( 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to