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 6DD95200B4C for ; Fri, 8 Jul 2016 02:53:00 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 6C70E160A72; Fri, 8 Jul 2016 00:53:00 +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 B54F9160A68 for ; Fri, 8 Jul 2016 02:52:59 +0200 (CEST) Received: (qmail 4663 invoked by uid 500); 8 Jul 2016 00:52:58 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 4651 invoked by uid 99); 8 Jul 2016 00:52:58 -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; Fri, 08 Jul 2016 00:52:58 +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 B868E181590 for ; Fri, 8 Jul 2016 00:52:57 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.429 X-Spam-Level: * X-Spam-Status: No, score=1.429 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, 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-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id m31yfyMBCpR6 for ; Fri, 8 Jul 2016 00:52:55 +0000 (UTC) Received: from mail-vk0-f46.google.com (mail-vk0-f46.google.com [209.85.213.46]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 0D4D85FCCF for ; Fri, 8 Jul 2016 00:52:54 +0000 (UTC) Received: by mail-vk0-f46.google.com with SMTP id f7so26932839vkb.3 for ; Thu, 07 Jul 2016 17:52:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=n2ugnoq0VRy1tDyTDQl8kgYPH/+/uKb6PWAL6oJW5jI=; b=ReVsZcYh9WDVfTNb2Km6kKeBGBl7N0er66p+IocMtZMBwkpa1jMtq3wm+pCY7/Rsuc FJYiRJjQ7Pc9Ig9t+hULAq3Q8FfZJOTLQyjlJbyZMIIyGQTuQim3SfyfBmWPKKSw8nTp DCWdYeuAWKyyqm9XBpVGTFMsTY/YUzIj/lWgsDKIp42yAfN5W23/+/UaPL2LccLzN81F 5+C3q0fogkeU6LsGzbIFuoUm56jTsoIoULrvPwIodJmcdY04S5DVGE6xIoTbM3AavqeZ tiQwOHcpQHRvlW40YHUAP0UI7rdV1rUF7bb5zi9BTFdKT0XzZ3BrbMuMWUnAXrbrcNY0 +ppw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=n2ugnoq0VRy1tDyTDQl8kgYPH/+/uKb6PWAL6oJW5jI=; b=JP3GIDnuP8Qdn+AMGHMHd8hKPAJPNJ5MSexKCBX2IBwvZvWxdoh/Gqoh07IWzGk3/a ve4Z1FYxuc23WCU9fWlytmq9sDfsu/5sthn4a8jlbG0/p+TGDRBIpeY278Od9XLpMFR8 qOejQM68TSWn0nn0HLV5fmAdrpk98zLHwt5+uaUn6TqROHqjCotHniWFmY0nBHz/XsIr arCVfXubiKThRRwckCa0A53+utqG87/9IHvizS7hxnt+Ub5KW6eEOYGpVDWSewRoZ7O3 nVbnuBpPrnFYb8/BIlU1Eh7BitN1xPVfPfLYa6LObh5Jko7DILyoTOqgMBuoPxPI2ebU Z6eQ== X-Gm-Message-State: ALyK8tIrHWOQKCmMkvCRn+ZsZm/1w0ajh4jm2okF2IiMLRHP3Yj48RNOX4g8v5I6espuVkE7HaLvSzYTaP75uQ== X-Received: by 10.159.33.65 with SMTP id 59mr1353148uab.80.1467939173557; Thu, 07 Jul 2016 17:52:53 -0700 (PDT) MIME-Version: 1.0 References: <5e353c91783147338dc581ad9636545f@JOBDIVAEXMBX2.jobdiva.local> In-Reply-To: <5e353c91783147338dc581ad9636545f@JOBDIVAEXMBX2.jobdiva.local> From: =?UTF-8?B?xJDhuqF0IENhbyBN4bqhbmg=?= Date: Fri, 08 Jul 2016 00:52:44 +0000 Message-ID: Subject: Re: Similarity Implementation To: "java-user@lucene.apache.org" Content-Type: multipart/alternative; boundary=94eb2c0b6578fdecc905371538d4 archived-at: Fri, 08 Jul 2016 00:53:00 -0000 --94eb2c0b6578fdecc905371538d4 Content-Type: text/plain; charset=UTF-8 Hi Siraj, I think https://lucene.apache.org/core/6_1_0/core/index.html?org/apache/lucene/search/ConstantScoreQuery.html should be good enough. On Fri, Jul 8, 2016 at 12:27 AM Siraj Haider wrote: > We are in the process of upgrading from 2.x to 6.x. In 2.x we implemented > our own similarity where all the functions return 1.0f, how can we > implement such thing in 6.x? Is there an implementation already there that > we can use and have the same results? > > ------ > Regards > -Siraj Haider > (212) 306-0154 > > > ________________________________ > > This electronic mail message and any attachments may contain information > which is privileged, sensitive and/or otherwise exempt from disclosure > under applicable law. The information is intended only for the use of the > individual or entity named as the addressee above. If you are not the > intended recipient, you are hereby notified that any disclosure, copying, > distribution (electronic or otherwise) or forwarding of, or the taking of > any action in reliance on, the contents of this transmission is strictly > prohibited. If you have received this electronic transmission in error, > please notify us by telephone, facsimile, or e-mail as noted above to > arrange for the return of any electronic mail or attachments. Thank You. > --94eb2c0b6578fdecc905371538d4--