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 3713C200C58 for ; Sun, 2 Apr 2017 03:21:49 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 35A1A160BA0; Sun, 2 Apr 2017 01:21:49 +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 54178160B9D for ; Sun, 2 Apr 2017 03:21:48 +0200 (CEST) Received: (qmail 96691 invoked by uid 500); 2 Apr 2017 01:21:47 -0000 Mailing-List: contact user-help@mahout.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@mahout.apache.org Delivered-To: mailing list user@mahout.apache.org Received: (qmail 96677 invoked by uid 99); 2 Apr 2017 01:21:46 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Apr 2017 01:21:46 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 795E7183991 for ; Sun, 2 Apr 2017 01:21:46 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.929 X-Spam-Level: * X-Spam-Status: No, score=1.929 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-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 (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id KLuhP5zkY414 for ; Sun, 2 Apr 2017 01:21:44 +0000 (UTC) Received: from mail-qt0-f181.google.com (mail-qt0-f181.google.com [209.85.216.181]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id A26275F3FF for ; Sun, 2 Apr 2017 01:21:43 +0000 (UTC) Received: by mail-qt0-f181.google.com with SMTP id i34so90554456qtc.0 for ; Sat, 01 Apr 2017 18:21:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=r0H74qkhpenQLbN9Pv4VRjdo3hcO3q5rh6H3vXWBWRk=; b=UgDtv1h2XydqCeWfMZ7g7BBRVvhinEvPNw7y1ZWeOgmT71fA1EsC0Z0q5Z/3QcaHte uTk/1RVO9IveuYBFNXQBe0QT/gzgQ/tBqjOMKsKxen40S6bEatSbL0p8BJmYCYz5IU9U Vl1hcAW6mh45/g2gRdjVMPKQjGx2cSU2gH8BnoLYfnJpfxpA4K5Kb3KCbSYbrGIajQgF Kh+6RNvSmKrjnKimZYH9B3qTRDc0N0+sWC1D7Dv1+si3e0NUbBnlTxNK7RwjG9HmJklR zcOy7O3xhJV+dP1vQSIOcJG9p4EC98QDtYWxvhUMeDBgjASHdrcVPOL04Q38NsPdYBSr vOvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=r0H74qkhpenQLbN9Pv4VRjdo3hcO3q5rh6H3vXWBWRk=; b=eKpaRKwQYvDMXuW/GrIkW6QpE3+UIUw/7eZAvcMJvTNpUpIsCcqZwjt1wVpPsHnqcq aT2CWxxVo5/DaaAEB6Xm62C1UEkaJFLjQPpE6iy3UQj5W6anHTtHdYmJI3zGHOx55vWL Tap0KAWVPbrYmXb4U7+7ztczLdwZweUZ7uB2TeALBaU+cCD+RnUGUduMdb+zUKMtP3o3 nyHqXWd3zbhLRInIu8S9uZG2alSKUW5UTLsPrKfwrEPJReVMC0jSyCjkO/qH5LDWHnd7 gyWr8Gw03l30jK1l67Y1PnpwtRR0LQdncUWBFnUtozOD4LlLiBkn+uBOp38Uh/nlmppR iuYA== X-Gm-Message-State: AFeK/H190P6sLpStpdOR7b8u9gHAMuPrqVPcNBNLLJEK+ULcAO7WTBd+9ZcBacQP1nqlTKynmIxxFCD0YzQ33Q== X-Received: by 10.200.46.196 with SMTP id i4mr10615482qta.17.1491096102648; Sat, 01 Apr 2017 18:21:42 -0700 (PDT) MIME-Version: 1.0 Received: by 10.55.162.73 with HTTP; Sat, 1 Apr 2017 18:21:42 -0700 (PDT) In-Reply-To: <83F373F7-8A6D-46B5-8D40-DE71A11DC8CF@occamsmachete.com> References: <83F373F7-8A6D-46B5-8D40-DE71A11DC8CF@occamsmachete.com> From: arun abraham Date: Sun, 2 Apr 2017 06:51:42 +0530 Message-ID: Subject: Re: Reg:-Integrating Mahout with Solr To: user@mahout.apache.org Content-Type: multipart/alternative; boundary=001a11413dd8864465054c24dd0b archived-at: Sun, 02 Apr 2017 01:21:49 -0000 --001a11413dd8864465054c24dd0b Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, Thanks Pat for the reply. I am trying to implement item based recommendation as the first step.When the user searches with a keyword(using Solr),not only it should return keyword matching results(already implemented along with other search features of Solr) but also related documents(recommended). I believe implementing item based recommendation will be a good learning curve towards implementing the user based recommendation or Behavioral based.As a first step I am trying to recommend min of two documents(As my Solr document index is ~100 docs). I understood that in the above scenario,first step is to provide the Solr index to mahout to read and will generate a vector file from it. It will be helpful if I get guidance on the integration steps to follow for the same. Thanks and Regards, Arun On 1 April 2017 at 23:46, Pat Ferrel wrote: > You want to create =E2=80=9CBehavioral Search=E2=80=9D? This is where you= boost items that > have the search terms in them more likely to be favored by the individual > user? > > You want to use the CCO algorithm in Mahout. You need to collect > behavioral information like conversions, detailed page views, etc. Run ea= ch > event through CCO and you get a collection of =E2=80=9Cindicators=E2=80= =9D as item > attributes. Augment the Solr index with fields (indicators) attached to > item documents. Then at query time supply the search terms as a =E2=80=9C= must > match=E2=80=9D and use user history as the query segment against the corr= esponding > indicator fields as a =E2=80=9Cshould match=E2=80=9D with some boosting f= actor. > > CCO is here: http://mahout.apache.org/users/algorithms/intro- > cooccurrence-spark.html cooccurrence-spark.html> > and a post on Personalizing Search here: http://www.actionml.com/blog/ > personalized_search > > BTW Do you have a recommender running? If not that is likely to generate > almost an order of magnitude better results than Behavioral Search. From > Industry wisdom and experience, implement a recommender first, then augme= nt > search. On E-Commerce data we have reported results of 10-30% conversion > lift from recommendations and ~3% for Behavioral Search. 3% is significan= t > but requires you to gather the same info that it takes to do a recommende= r > so why not do a recommender first. > > There is an almost turnkey recommender that uses CCO here: > http://actionml.com/ur It uses Elasticsearch but is standalone, not > integrated into any search tech you use elsewhere. > > > On Mar 31, 2017, at 9:30 PM, arun abraham > wrote: > > Hi All, > > I am trying to integrate Apache mahout with Solr.I have created a search > application using Solr which has spellcheck,type ahead suggestions > functionalities.I have a new requirement to display recommendations( from > index which has ~100 docs ) for a specific search(keyword based).Is it > possible to recommend docs or links from web together with the indexed > data? > Kindly guide me on the possibilities for the same also on the integration > part. > > Thanks and Regards, > Arun > > --001a11413dd8864465054c24dd0b--