Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 0FA26200D5C for ; Fri, 15 Dec 2017 21:05:11 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 0E634160C14; Fri, 15 Dec 2017 20:05:11 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 54AB7160C04 for ; Fri, 15 Dec 2017 21:05:10 +0100 (CET) Received: (qmail 46024 invoked by uid 500); 15 Dec 2017 20:05:09 -0000 Mailing-List: contact commits-help@geode.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@geode.apache.org Delivered-To: mailing list commits@geode.apache.org Received: (qmail 46012 invoked by uid 99); 15 Dec 2017 20:05:09 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Dec 2017 20:05:09 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id 5158488172; Fri, 15 Dec 2017 20:05:08 +0000 (UTC) Date: Fri, 15 Dec 2017 20:05:08 +0000 To: "commits@geode.apache.org" Subject: =?utf-8?q?=5Bgeode=5D_branch_develop_updated=3A_GEODE-4047_User_?= =?utf-8?q?Guide=3A_Update_Lucene_docs_to_include_nested_objects=2C_review?= =?utf-8?q?er=E2=80=99s_correction?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-ID: <151336830811.15142.16386288941328068679@gitbox.apache.org> From: dbarnes@apache.org X-Git-Host: gitbox.apache.org X-Git-Repo: geode X-Git-Refname: refs/heads/develop X-Git-Reftype: branch X-Git-Oldrev: 43b8cd544ca739d945e26b0a814de971ce9c84c9 X-Git-Newrev: 6190edcc327070c2899f0a8c3c81d8e0549fb0c6 X-Git-Rev: 6190edcc327070c2899f0a8c3c81d8e0549fb0c6 X-Git-NotificationType: ref_changed_plus_diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated archived-at: Fri, 15 Dec 2017 20:05:11 -0000 This is an automated email from the ASF dual-hosted git repository. dbarnes pushed a commit to branch develop in repository https://gitbox.apache.org/repos/asf/geode.git The following commit(s) were added to refs/heads/develop by this push: new 6190edc GEODE-4047 User Guide: Update Lucene docs to include nested objects, reviewer’s correction 6190edc is described below commit 6190edcc327070c2899f0a8c3c81d8e0549fb0c6 Author: Dave Barnes AuthorDate: Fri Dec 15 12:05:02 2017 -0800 GEODE-4047 User Guide: Update Lucene docs to include nested objects, reviewer’s correction --- geode-docs/tools_modules/lucene_integration.html.md.erb | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/geode-docs/tools_modules/lucene_integration.html.md.erb b/geode-docs/tools_modules/lucene_integration.html.md.erb index 666d806..3a87100 100644 --- a/geode-docs/tools_modules/lucene_integration.html.md.erb +++ b/geode-docs/tools_modules/lucene_integration.html.md.erb @@ -59,9 +59,8 @@ When you create a Lucene index, you must provide three pieces of information: You must specify at least one field to be indexed. -If the object value for the entries in the region comprises a single field to be indexed and -searched (for example, some keys have values that are simply strings), then use `__REGION_VALUE_FIELD` -to specify the field to be indexed. `__REGION_VALUE_FIELD` serves as the field name for entry values of all +If the object value for the entries in the region comprises a primitive type value without a field name, +then use `__REGION_VALUE_FIELD` to specify the field to be indexed. `__REGION_VALUE_FIELD` serves as the field name for entry values of all primitive types, including `String`, `Long`, `Integer`, `Float`, and `Double`. Each field has a corresponding analyzer to extract terms from text. When no analyzer is specified, @@ -182,7 +181,7 @@ The `FlatFormatSerializer` creates one document for each parent object, adding a in a nested object, identified by its qualified name. Similarly, collections are flattened and treated as tokens in a single field. For example, the `FlatFormatSerializer` could convert a Customer object, with the structure described above, into a document containing fields such as `name`, `contacts.name`, -and `contacts.homepage.title`. Each segment is a field name, not a field type, +and `contacts.homepage.title` based on the indexed fields specified at index creation. Each segment is a field name, not a field type, because a class (such as Customer) could have more than one field of the same type (such as Person). The serializer creates and indexes the fields you specify when you request index creation. @@ -236,7 +235,7 @@ gfsh query: ``` gfsh>search lucene --name=customerIndex --region=Customer --queryString="contacts.name:Jones77*" - --defaultField=contacts.name + --defaultField=name ``` ## Queries -- To stop receiving notification emails like this one, please contact ['"commits@geode.apache.org" '].