geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GEODE-3206) lucene search results in gfsh are listed in reverse relevancy order
Date Fri, 21 Jul 2017 23:22:00 GMT

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

ASF GitHub Bot commented on GEODE-3206:
---------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/geode/pull/648


> lucene search results in gfsh are listed in reverse relevancy order
> -------------------------------------------------------------------
>
>                 Key: GEODE-3206
>                 URL: https://issues.apache.org/jira/browse/GEODE-3206
>             Project: Geode
>          Issue Type: Bug
>          Components: lucene
>            Reporter: Diane Hardman
>            Assignee: Deepak Dixit
>
> Using the lucene example in the pull request for GEODE-3202, execute one of the lucene
searches that returns multiple results. For example:
> search lucene --name=simpleIndex --region=example-region --queryStrings="firstName:pat
OR lastName:chive~" --defaultField=lastName
> The results should list employee with name 'Pat' first since it is an exact match and
has a higher relevancy score. Instead it lists:
>  key  |                                                      value                  
                                   | score
> ----- | ---------------------------------------------------------------------------------------------------------------
| ----------
> 10015 | EmployeeData [firstName=Jamie, lastName=Jive, emplNumber=10015, email= Jamie.Jive@example.com,
salary=60000, .. | 0.14384104
> 10028 | EmployeeData [firstName=Pat, lastName=Puts, emplNumber=10028, email= Pat.Puts@example.com,
salary=75000, hour.. | 0.2876821
> Note the higher relevancy score is listed second.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message