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 AD375200D2E for ; Tue, 31 Oct 2017 21:16:47 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id ABE691609EF; Tue, 31 Oct 2017 20:16:47 +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 C98061609E6 for ; Tue, 31 Oct 2017 21:16:46 +0100 (CET) Received: (qmail 21508 invoked by uid 500); 31 Oct 2017 20:16:45 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Received: (qmail 21496 invoked by uid 99); 31 Oct 2017 20:16:44 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Oct 2017 20:16:44 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id DF588C6102 for ; Tue, 31 Oct 2017 20:16:43 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 5.819 X-Spam-Level: ***** X-Spam-Status: No, score=5.819 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FROM_LOCAL_NOVOWEL=0.5, HK_RANDOM_ENVFROM=0.626, HK_RANDOM_FROM=0.001, HTML_MESSAGE=2, KAM_LIVE=1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001, URI_HEX=1.313] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id F6S20icogH6b for ; Tue, 31 Oct 2017 20:16:42 +0000 (UTC) Received: from mail-wm0-f42.google.com (mail-wm0-f42.google.com [74.125.82.42]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 0B6F260F11 for ; Tue, 31 Oct 2017 20:16:42 +0000 (UTC) Received: by mail-wm0-f42.google.com with SMTP id y83so1196629wmc.4 for ; Tue, 31 Oct 2017 13:16:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to; bh=5FArb5Uddo7o48Ye4TThTW9gloQm7Ac6cbuED54j+Fg=; b=hzV5+3dg7/v5ANLN589Vx/zMumJiHsQJpJsvO66l+ttFdijgnYTqr1L+tOamj4Xxdr iVu0doifZmIZ+7eWmysR5df3EdGNIE7DUrSJkQQUcQQV3Z2SKeyZYZGgpT+bD+uUanhq 8VXw0zFmTw7z5JeZQ3AZR+FU442e2iTInnfOP7MDkP78NHwV/gSaIM/ilwPLAg+7bVGi NXKKaBvBaipBocxFsZ/iB09ytnQ42kQQYjNhb2xpDBiOWQJe7QouGC60LK5UGH7CbEei 7j9RyK/A2oqWThyyS9QAckLgNJ0rhPK8A39y9VKssGjkVHBXQO+HNZpIElZ1rajpbMUM lzvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to; bh=5FArb5Uddo7o48Ye4TThTW9gloQm7Ac6cbuED54j+Fg=; b=YDBWXBQhQITkIxHCcqgI2jUnDjPQLQiuH9qef838/zSQnafgfE2DVyrye6tqqy9idK Dt12cK+DvF6kkf8uZxIPCiWdUlqNN2y2nmOCsz3iomUP0dpyUlkTbptvPaxOeD0Wuy5s ZnQQ+Bwmf5orDH+vaWc3tQA6bcybMo/6x3aw0MOtS697H47+kAnwdJMw/imDulVfhAjV 6LPypeyNUaM9EAZ80fmjknt1XJcH4iEDIVQeS13/NBArs0KkyHDdFL5aS4PJY6hzvGkH A1HwnwYMY/n0E5sd09c58oVtN356FbD340cvzO1BeKn5w6B5RigZXwISGG9Upu8Nzh1Y 2WGg== X-Gm-Message-State: AMCzsaXP5WIDtlp/KUMduC8i0wtvWqpGHV75WaEuW+caTDRVQKMS5igQ ubqjN04vMpoRgVxQ5hRFIHZGznLlpnmW4Iu7Atg4eg== X-Google-Smtp-Source: ABhQp+RRt+ndIBy05usrt7wDXPBsE/wFzUGDu9NxG52UmRq5tDViCWnZ2w8+ey7+k/YSZoWfbQNRop30nf4QK/D0T+Q= X-Received: by 10.28.51.3 with SMTP id z3mr3166737wmz.158.1509481001429; Tue, 31 Oct 2017 13:16:41 -0700 (PDT) MIME-Version: 1.0 Sender: robson.koji@gmail.com X-Google-Sender-Delegation: robson.koji@gmail.com Received: by 10.28.27.196 with HTTP; Tue, 31 Oct 2017 13:16:40 -0700 (PDT) In-Reply-To: References: From: Kojo Date: Tue, 31 Oct 2017 18:16:40 -0200 X-Google-Sender-Auth: VufvphaHEsmJhBL6JEGhxyVIFtA Message-ID: Subject: Re: Graph Traversal To: solr-user@lucene.apache.org Content-Type: multipart/alternative; boundary="001a11443942e2af74055cdd6ebc" archived-at: Tue, 31 Oct 2017 20:16:47 -0000 --001a11443942e2af74055cdd6ebc Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Everything working fine, these functional programming is amazing. Thank you! 2017-10-31 12:31 GMT-02:00 Kojo : > Thank you, I am just starting with Streaming Expressions. I will try this > one later. > > I will open another thread, because I can=C2=B4t do some simple queries u= sing > Streaming Expressions. > > > > > 2017-10-30 12:11 GMT-02:00 Pratik Patel : > >> You use this in query time. Since Streaming Expressions can be pipelined= , >> the next stage/function of pipeline will work on the new tuples generate= d. >> >> On Mon, Oct 30, 2017 at 10:09 AM, Kojo wrote: >> >> > Do you store this new tuples, created by Streaming Expressions, in a n= ew >> > Solr cloud collection? Or just use this tuples in query time? >> > >> > 2017-10-30 11:00 GMT-02:00 Pratik Patel : >> > >> > > By including Cartesian function in Streaming Expression pipeline, yo= u >> can >> > > convert a tuple having one multivalued field into multiple tuples >> where >> > > each tuple holds one value for the field which was originally >> > multivalued. >> > > >> > > For example, if you have following document. >> > > >> > > { id: someID, fruits: [apple, organge, banana] } // fruits is >> > multivalued >> > > > field >> > > >> > > >> > > Applying Cartesian function would give following tuples. >> > > >> > > { id: someID , fruits: apple }, { id: someID, fruits: orange }, {id: >> > > > someID, fruits: banana } >> > > >> > > >> > > Now that fruits holds single values, you can also use any Streaming >> > > Expression functions which don't work with multivalued fields. This >> > happens >> > > in the Streaming Expression pipeline so you don't have to flatten yo= ur >> > > documents in index. >> > > >> > > On Mon, Oct 30, 2017 at 8:39 AM, Kojo wrote: >> > > >> > > > Hi, >> > > > just a question, I have no deep background on Solr, Graph etc. >> > > > This solution looks like normalizing data like a m2m table in sql >> > > database, >> > > > is it? >> > > > >> > > > >> > > > >> > > > 2017-10-29 21:51 GMT-02:00 Pratik Patel : >> > > > >> > > > > For now, you can probably use Cartesian function of Streaming >> > > Expressions >> > > > > which Joel implemented to solve the same problem. >> > > > > >> > > > > https://issues.apache.org/jira/browse/SOLR-10292 >> > > > > http://joelsolr.blogspot.com/2017/03/streaming-nlp-is- >> > > > > coming-in-solr-66.html >> > > > > >> > > > > Regards, >> > > > > Pratik >> > > > > >> > > > > On Sat, Oct 28, 2017 at 7:38 PM, Joel Bernstein < >> joelsolr@gmail.com> >> > > > > wrote: >> > > > > >> > > > > > I don't see a jira ticket for this yet. Feel free to create it >> and >> > > > reply >> > > > > > back with the link. >> > > > > > >> > > > > > Joel Bernstein >> > > > > > http://joelsolr.blogspot.com/ >> > > > > > >> > > > > > On Fri, Oct 27, 2017 at 9:55 AM, Kojo >> wrote: >> > > > > > >> > > > > > > Hi, I was looking for information on Graph Traversal. More >> > > > > specifically, >> > > > > > > support to search graph on multivalued field. >> > > > > > > >> > > > > > > Searching on the Internet, I found a question exactly the >> same of >> > > > mine, >> > > > > > > with an answer that what I need is not implemented yet: >> > > > > > > http://lucene.472066.n3.nabble.com/Using-multi-valued- >> > > > > > > field-in-solr-cloud-Graph-Traversal-Query-td4324379.html >> > > > > > > >> > > > > > > >> > > > > > > Is there a ticket on Jira to follow the implementation of >> search >> > > > graph >> > > > > on >> > > > > > > multivalued field? >> > > > > > > >> > > > > > > Thank you, >> > > > > > > >> > > > > > >> > > > > >> > > > >> > > >> > >> > > --001a11443942e2af74055cdd6ebc--