Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 82BEDD5AD for ; Mon, 4 Mar 2013 06:26:46 +0000 (UTC) Received: (qmail 30800 invoked by uid 500); 4 Mar 2013 06:26:43 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 30724 invoked by uid 500); 4 Mar 2013 06:26:42 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 30706 invoked by uid 99); 4 Mar 2013 06:26:42 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Mar 2013 06:26:42 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [208.113.200.5] (HELO homiemail-a59.g.dreamhost.com) (208.113.200.5) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Mar 2013 06:26:35 +0000 Received: from homiemail-a59.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a59.g.dreamhost.com (Postfix) with ESMTP id E4D8356405C for ; Sun, 3 Mar 2013 22:26:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=thelastpickle.com; h=from :content-type:message-id:mime-version:subject:date:references:to :in-reply-to; s=thelastpickle.com; bh=SYvLc8q5+ZG6lFHRsuT+Xzdo/P E=; b=DBmP1hUHDUJLjayUUQ8nbac9efERHqVGjY563+bUtZKmGX7ZxLvGGPmy7E 3PeKG6oEaaUzlsOwOLB0U6yCYrKQOZr6vWnMFO1pjNp3Qn0B2wI7KZtmPD0lQswX zDW1J5zsg56ylhJwML69Q/1nYlYmeRoNZAsbN6kG1t4SmoDsg= Received: from [192.168.168.119] (c-98-234-52-29.hsd1.ca.comcast.net [98.234.52.29]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: aaron@thelastpickle.com) by homiemail-a59.g.dreamhost.com (Postfix) with ESMTPSA id B5C7F564057 for ; Sun, 3 Mar 2013 22:26:13 -0800 (PST) From: aaron morton Content-Type: multipart/alternative; boundary="Apple-Mail=_EB9EF7EA-2AB4-45E6-A33F-07BD444017D5" Message-Id: Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Subject: Re: reading the updated values Date: Sun, 3 Mar 2013 22:26:13 -0800 References: To: user@cassandra.apache.org In-Reply-To: X-Mailer: Apple Mail (2.1499) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail=_EB9EF7EA-2AB4-45E6-A33F-07BD444017D5 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 > my question is how do i get the updated data in cassandra for last 1 = hour or so to be indexed in elasticsearch. You cannot.=20 The best approach is to update elastic search at the same time you = update cassandra.=20 Cheers ----------------- Aaron Morton Freelance Cassandra Developer New Zealand @aaronmorton http://www.thelastpickle.com On 1/03/2013, at 11:57 PM, subhankar biswas = wrote: > hi, > i m trying to use cassandra as main data-store and elasticsearch = for realtime quries. my question is how do i get the updated data in = cassandra for last 1 hour or so to be indexed in elasticsearch. > once i get the updated data from cassandra i can index that to ES.=20= > is there any specific data model i have to follow to get the recent = updates of any CF. > =20 > thanks subhankar --Apple-Mail=_EB9EF7EA-2AB4-45E6-A33F-07BD444017D5 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=iso-8859-1 my question is how do i get the updated data = in cassandra for last 1 hour or so to be indexed in = elasticsearch.You cannot. 

The best = approach is to update elastic search at the same time you update = cassandra. 

Cheers

http://www.thelastpickle.com

On 1/03/2013, at 11:57 PM, subhankar biswas <neo20iitkgp@gmail.com> = wrote:

hi,
   i m trying to use cassandra as main = data-store and elasticsearch for realtime quries. my question is how do = i get the updated data in cassandra for last 1 hour or so to be indexed = in elasticsearch.
   once i get the updated data = from cassandra i can index that to ES. 
   is there any specific data model i have to follow to = get the recent updates of any CF.
  =   
   thanks subhankar

= --Apple-Mail=_EB9EF7EA-2AB4-45E6-A33F-07BD444017D5--