You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geode.apache.org by "xiaojian zhou (JIRA)" <ji...@apache.org> on 2016/12/21 19:41:58 UTC
[jira] [Assigned] (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 ]
xiaojian zhou reassigned GEODE-2241:
------------------------------------
Assignee: xiaojian zhou
> 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
>
> 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
(v6.3.4#6332)