[
https://issues.apache.org/jira/browse/GEODE-1734?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15412181#comment-15412181
]
xiaojian zhou commented on GEODE-1734:
--------------------------------------
It's reproduceable. If searched result is only one entry, it will be
duplicated.
And there's another issue: the default field did not work.
gfsh>lucene search --name=personIndex --region=/Person --queryStrings="Tom902
Zhou" --defaultField=name
It will display a lot.
gfsh>lucene search --name=personIndex --region=/Person
--queryStrings=name:"Tom902 Zhou" --defaultField=name
It will only display 2 entries.
> Lucene search for a single entry is returning multiple results
> --------------------------------------------------------------
>
> Key: GEODE-1734
> URL: https://issues.apache.org/jira/browse/GEODE-1734
> Project: Geode
> Issue Type: Bug
> Components: lucene
> Reporter: William Markito Oliveira
>
> Searching for a unique entry is returning multiple results, although the key
> is the same. It should return a single result.
> {code}
> gfsh>lucene search --name=customerRegionAll
> --queryStrings="firstName:Jdfmlevjenzwgd" --region=/customer
> --defaultField=displayName
> key |
> value | score
> ------------------------------------ |
> -------------------------------------------------------------------------------------------------
> | ---------
> 70dbdb7f-648e-415e-880d-15631f87a523 |
> PDX[16777220,org.example.domain.model.CustomerEntity]{active=false,
> addresses=.. | 12.798602
> 70dbdb7f-648e-415e-880d-15631f87a523 |
> PDX[16777220,org.example.domain.model.CustomerEntity]{active=false,
> addresses=.. | 12.798602
> 70dbdb7f-648e-415e-880d-15631f87a523 |
> PDX[16777220,org.example.domain.model.CustomerEntity]{active=false,
> addresses=.. | 12.798602
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)