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 510302009EE for ; Wed, 18 May 2016 13:08:39 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 4F879160A00; Wed, 18 May 2016 11:08:39 +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 70C4C1609B1 for ; Wed, 18 May 2016 13:08:38 +0200 (CEST) Received: (qmail 70491 invoked by uid 500); 18 May 2016 11:08:36 -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 70479 invoked by uid 99); 18 May 2016 11:08:36 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 May 2016 11:08:36 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 33AC6C0D69 for ; Wed, 18 May 2016 11:08:36 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.915 X-Spam-Level: * X-Spam-Status: No, score=1.915 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_IMAGE_ONLY_28=0.726, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, T_REMOTE_IMAGE=0.01] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=snapdeal.com Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id ai3xMIG1AjM6 for ; Wed, 18 May 2016 11:08:34 +0000 (UTC) Received: from mail-lf0-f43.google.com (mail-lf0-f43.google.com [209.85.215.43]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTPS id D8F225F475 for ; Wed, 18 May 2016 11:08:33 +0000 (UTC) Received: by mail-lf0-f43.google.com with SMTP id y84so18546165lfc.0 for ; Wed, 18 May 2016 04:08:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=snapdeal.com; s=google; h=mime-version:from:date:message-id:subject:to; bh=4o0O7pdYo9k3JTzFd7DPObPvJytoL6WD7wqqtXzLzsk=; b=Fo+ydK/UyuKkw9YglJOk/6HgqbNCVyqUkohLrk++ob7qQhsola3/Snmz8uBt5KMJZd lUm/NSiXWYTXLGF6D8pDjUFzLPqfrqk29KJd6rG0eW2wO+hkJ3e5tVlsISQ7/C6x3/AV RDBrDZ5+IcNE4duyKfDAscG7C/E0cBlFgF+Zg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=4o0O7pdYo9k3JTzFd7DPObPvJytoL6WD7wqqtXzLzsk=; b=C6NU+73ktL3G7lCOeEFjzRsiq23nVe5dVf86ZSq+OHjj3pu6uBnKGzxG44bTwJl5Ff IAugpl6Vu5+5jrTeTBalOjY3undEjQLw0W6MJcxQNJ0ox/CMAd1tmvbdbL0wm44c6jPC s+gU9WNV3EEjvjbmDbLchEjrj92PbS7MAr/TvaPHcKwFO0NAkRj2DM5maQKgX5ipGP+z K5ondLB30u3zSu7wCp7/gNpOjx209A5Zj2ts8uLnQB/uONiOcW9DPhUwiyywJyDU3btZ Ll5nWa4ld03GkNWleMYgsLxkruC5gpfIlAMShAqXszE5RKOO6zRPw+KDv78agpXhm0mz rNOg== X-Gm-Message-State: AOPr4FWa8qyhAg3Xc/CeNSaFrHnVkKpaFrC4D5Ioa4eYgZMc4BHbDsdPuknB5JWEMOWrSM7Il/7Okfvwjdy2e5Rl X-Received: by 10.25.168.197 with SMTP id r188mr1452368lfe.150.1463569711721; Wed, 18 May 2016 04:08:31 -0700 (PDT) MIME-Version: 1.0 Received: by 10.25.38.83 with HTTP; Wed, 18 May 2016 04:08:12 -0700 (PDT) From: Atul Saroha Date: Wed, 18 May 2016 16:38:12 +0530 Message-ID: Subject: Migrating from Cassandra-Lucene to SASI To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=001a114104fec584ef05331be0e2 archived-at: Wed, 18 May 2016 11:08:39 -0000 --001a114104fec584ef05331be0e2 Content-Type: text/plain; charset=UTF-8 From Duy Hai DOAN's blog http://www.doanduyhai.com/blog/?p=2058 : Please note that SASI does not intercept DELETE for indexing. Indeed the > resolution and reconciliation of deleted data is let to Cassandra at read > time. SASI only indexes INSERT and UPDATE. > With this it feels that Lucene is better if you have use-case of frequent deletes on CF as it marks documents deleted and will be cleaned later. Though I dint find any doc mentioning how SASI indexes are cleaned after grace period expired for the tombstone. Will it be remove or not? Ideally it should be removed. Also fetching functionality of lucene 'filter' search and SASI is also sequancial, i.e. no scatter gather. Does it worth to migrate to SASI if your column family face heavy deletes too. --------------------------------------------------------------------------------------------------------------------- Atul Saroha *Sr. Software Engineer* *M*: +91 8447784271 *T*: +91 124-415-6069 *EXT*: 12369 Plot # 362, ASF Centre - Tower A, Udyog Vihar, Phase -4, Sector 18, Gurgaon, Haryana 122016, INDIA --001a114104fec584ef05331be0e2 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Also fetching functionality of lucene 'filter= ' search and SASI is also sequancial, i.e. no scatter gather.

Does it worth to migrate to SASI if your column family face heavy delet= es too.
---------------------------------------------------------= ------------------------------------------------------------
Atul Saroha=

Sr. Software Engineer
<= b style=3D"color:rgb(116,116,116)">M: +91 8447784271=C2=A0= T: +91 124-41= 5-6069 EXT: 12369
Plot # 362, ASF Centre - Tower A, Udyog = Vihar,
=C2=A0Phase -4, Sector 18, Gurgaon, Haryana 122016, INDIA
<= /span>
--001a114104fec584ef05331be0e2--