From solr-user-return-140070-archive-asf-public=cust-asf.ponee.io@lucene.apache.org Fri Mar 23 22:14:00 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id B79DF18064D for ; Fri, 23 Mar 2018 22:13:59 +0100 (CET) Received: (qmail 93159 invoked by uid 500); 23 Mar 2018 21:13:57 -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 93143 invoked by uid 99); 23 Mar 2018 21:13:56 -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, 23 Mar 2018 21:13:56 +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 91171182DB5 for ; Fri, 23 Mar 2018 21:13:56 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.879 X-Spam-Level: * X-Spam-Status: No, score=1.879 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, 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 b3XXRXMM53Ma for ; Fri, 23 Mar 2018 21:13:55 +0000 (UTC) Received: from mail-ot0-f182.google.com (mail-ot0-f182.google.com [74.125.82.182]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 5BE5D60D42 for ; Fri, 23 Mar 2018 21:13:55 +0000 (UTC) Received: by mail-ot0-f182.google.com with SMTP id v23-v6so14745367oth.9 for ; Fri, 23 Mar 2018 14:13:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=fVMQYPUxNLB5gx51VkARc+UFxWmEYv2EAjzcgrvvjy8=; b=mMrlT6sl3/o7T0R8NSO3jXQCgl3cXJqwDZbQNP1sPFJjEbWn5KvGuSe+2q9Qb92Ocg y+APaIgRcf8KIw8t6+Y0I8eCR6A6IDsiN8hpiIGbjZgt5PeCzKjq+UTW8QA0kfy/xFWZ aul8mMKMXUDkOsdgAzG7pemg1PUmsiX2d/ptCyDPwGchU9zwjS+0AyO3TcaBUmhXzLxs HcWcDp9Ix7SpZANrmQcLA8uD8h1l997CWLIaX6F+zIkRh2NFLzpH5cwHG6pthFkYQjub HVwyDSNOpQh4cyFG5j8KIJmPJlSrRD/AFwspogdREJ31fMINpbGtng9SBHE24LKg1Kyd tdQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=fVMQYPUxNLB5gx51VkARc+UFxWmEYv2EAjzcgrvvjy8=; b=HfyEDmr2HiurP2RI8RuIxo2BHAH5a7HzjLtVpaSwlxVn8lv+eBS5alzfHjzO8M+St6 eeXAPEG2lkYAqL3pu1PIYX+6RoBs4MrZJzqKMyVBbaPMrzUiBFyhPHH+kn8Za87Dq94u owV1CdKKqKk/2KcCR/hHL8N+rgIi0va6JiVidbtSN1RUMPlnuwH9WwSB7c7YBhsI8b91 OggQPfjHt+CPv9x5WZaMW790m1jlRyJ0Gi93z1CrQUefcjv1VVEF1y9KAtwfcv6XQIDA +7rlnKD4x5NcxsYJzoYdBAtntNUN6w7kQ4GpWLoga77+kAEOKtfl8uZ++Ra4cM1G9tuL 9e1g== X-Gm-Message-State: AElRT7Eo3LOKGW2i1WxHT0u+7uPP/BI8/aP72e6XjqFC2vKlMRYGcXfd SBdCs7AJPeqQxvitsMtWpRf//CxwlC3abhOP4cGj X-Google-Smtp-Source: AIpwx4/DorPqSTbFgGbt1boAr1bBT/CIxi2lwTgP3spJGmfbP9J8SGuH798lchpjpG+cnMqdr5rgNRBMHCGv+r0jasI= X-Received: by 2002:a9d:7014:: with SMTP id k20-v6mr3584728otj.56.1521839629003; Fri, 23 Mar 2018 14:13:49 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: David Smiley Date: Fri, 23 Mar 2018 21:13:38 +0000 Message-ID: Subject: Re: InetAddressPoint support in Solr or other IP type? To: solr-user@lucene.apache.org Content-Type: multipart/alternative; boundary="0000000000007df3d405681ae651" --0000000000007df3d405681ae651 Content-Type: text/plain; charset="UTF-8" Hi, For IPv4, use TrieIntField with precisionStep=8 For IPv6 https://issues.apache.org/jira/browse/SOLR-6741 There's nothing there yet; you could help out if you are familiar with the codebase. Or you might try something relatively simple involving edge ngrams. ~ David On Thu, Mar 22, 2018 at 1:09 PM Mike Cooper wrote: > I have scoured the web and cannot find any discussion of having the Lucene > InetAddressPoint type exposed in Solr. Is there a reason this is omitted > from the Solr supported types? Is it on the roadmap? Is there an > alternative recommended way to index and store Ipv4 and Ipv6 addresses for > optimal range searches and subnet searches? Thanks for your help. > > > > *Michael Cooper* > -- Lucene/Solr Search Committer, Consultant, Developer, Author, Speaker LinkedIn: http://linkedin.com/in/davidwsmiley | Book: http://www.solrenterprisesearchserver.com --0000000000007df3d405681ae651--