You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Anthony Baker (JIRA)" <ji...@apache.org> on 2018/04/20 19:58:10 UTC

[jira] [Closed] (GEODE-2241) gfsh lucene will generate duplicate results

     [ https://issues.apache.org/jira/browse/GEODE-2241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Anthony Baker closed GEODE-2241.
--------------------------------

> gfsh lucene will generate duplicate results
> -------------------------------------------
>
>                 Key: GEODE-2241
>                 URL: https://issues.apache.org/jira/browse/GEODE-2241
>             Project: Geode
>          Issue Type: Bug
>            Reporter: xiaojian zhou
>            Assignee: xiaojian zhou
>            Priority: Major
>
> When started 2 servers, run gfsh will always display duplicated results.
> The root cause is: we submit a function call to execute query on each member.
> gfsh>list lucene indexes
>  Index Name   | Region Path |       Indexed Fields       |    Field Analyzer    | Status
> ------------- | ----------- | -------------------------- | -------------------- | -----------
> analyzerIndex | /Person     | [address, name, email]     | {address=MyCharact.. | Initialized
> analyzerIndex | /Person     | [address, name, email]     | {address=MyCharact.. | Initialized
> customerIndex | /Customer   | [symbol, revenue, SSN, n.. | {}                   | Initialized
> customerIndex | /Customer   | [symbol, revenue, SSN, n.. | {}                   | Initialized
> pageIndex     | /Page       | [symbol, name, email, ad.. | {}                   | Initialized
> pageIndex     | /Page       | [symbol, name, email, ad.. | {}                   | Initialized
> personIndex   | /Person     | [name, email, address, s.. | {}                   | Initialized
> personIndex   | /Person     | [name, email, address, s.. | {}                   | Initialized
> gfsh>search lucene --name=personIndex --region=/Person --defaultField=name --queryStrings="Tom*JSON"
>   key    |                                    value                                    | score
> -------- | --------------------------------------------------------------------------- | -----
> jsondoc1 | PDX[3,__GEMFIRE_JSON]{address=PDX[1,__GEMFIRE_JSON]{city=New York, postal.. | 1
> jsondoc2 | PDX[3,__GEMFIRE_JSON]{address=PDX[1,__GEMFIRE_JSON]{city=New York, postal.. | 1
> jsondoc1 | PDX[3,__GEMFIRE_JSON]{address=PDX[1,__GEMFIRE_JSON]{city=New York, postal.. | 1
> jsondoc2 | PDX[3,__GEMFIRE_JSON]{address=PDX[1,__GEMFIRE_JSON]{city=New York, postal.. | 1



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)