From java-user-return-63714-archive-asf-public=cust-asf.ponee.io@lucene.apache.org Thu May 3 11:55:54 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 D7188180625 for ; Thu, 3 May 2018 11:55:53 +0200 (CEST) Received: (qmail 76969 invoked by uid 500); 3 May 2018 09:55:52 -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 76953 invoked by uid 99); 3 May 2018 09:55:51 -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; Thu, 03 May 2018 09:55:51 +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 38E621806E3 for ; Thu, 3 May 2018 09:55:51 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.899 X-Spam-Level: * X-Spam-Status: No, score=1.899 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, 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 B5OOsMMAobcG for ; Thu, 3 May 2018 09:55:49 +0000 (UTC) Received: from mail-oi0-f43.google.com (mail-oi0-f43.google.com [209.85.218.43]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id E740E5FC20 for ; Thu, 3 May 2018 09:55:48 +0000 (UTC) Received: by mail-oi0-f43.google.com with SMTP id k5-v6so8735876oiw.0 for ; Thu, 03 May 2018 02:55:48 -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=InP49yGOGvTdd/PE0Q9px8DEQNh+T2MSbJoMo2NqmDk=; b=pFcyXudRuAnlcJvI2Z7e9nj4+gzCvbdnII6ofM6IE//KdX1rNu1WYkwZ6ELwrBsJhq j4991WfaYnlVvseLhQ5SSJaqzouMkeoYdJZe6KSaMdksVdpM9ZUX0wSoIQSr8kKUsSna gceRCFbAtdEzGwAuN7lE25CCvmwF3NdwN4oXKrKBZsqrOQROHwRRK7Kbk5mWoPgswLRV YqPyvj471Pgg8GBN+4K4+HL/Y+uSmIvH5ioizmftN/JiK6fd0z6cYN9+6ujaxDqfYLNX 2ThHGXU4jdLCQi3AgOZsTtYG7nR9HgYKc7MfSONpS0bhWF7kOo0hRso5ql5BpZUMjTaT aJIA== 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=InP49yGOGvTdd/PE0Q9px8DEQNh+T2MSbJoMo2NqmDk=; b=c/j6PFKJEF5YfvMVIcUZGgNgSsjWrcSqVPD2hKr9uimR1V8TQNf1sSFSSNSYSXDje+ c9Tf9ByUTQVujlm3JMLRt16dkxs/vjDWzToEpZHoTG6u/16ppJKNn4dKsEyOGiT/p0zP HX+ohWCPavoDqwNBjb0R7rPwYkx72+h/M8cPzfqz+2bUs3Q4UtbkrKNx63XuKsiT0fLO YGbhxk3CCtsuuENICQK6AerL4IKi1Yhp/Ew+VWOc1VKxXVXPqjSoxH1s9J9DDdwbSoUQ gLrDqBBDyIyI9UuekzOhWocqU2v82PhYZJPDlpl5yLQxvGL7jRYQgKISlHclxDhKLFEV rILg== X-Gm-Message-State: ALQs6tClzuFiQUoLbIKgSE/cJdMzO40C3D9mk9dHFTayw+YbM7O22GdS MQalDBozb536i2N/YSlLQv/JSH7X0qs4PPwpSHo= X-Google-Smtp-Source: AB8JxZrwojEJjAAoPzeCTrNncNBl0QHGWKNacEoMl536K3Os2OZfCHDX6HqjYLf2UTWmix5vDK8Ie4tPLOcoUmv749o= X-Received: by 2002:aca:4e90:: with SMTP id c138-v6mr14627506oib.47.1525341347961; Thu, 03 May 2018 02:55:47 -0700 (PDT) MIME-Version: 1.0 Received: by 10.201.97.146 with HTTP; Thu, 3 May 2018 02:55:27 -0700 (PDT) In-Reply-To: References: From: "Vincenzo D'Amore" Date: Thu, 3 May 2018 11:55:27 +0200 Message-ID: Subject: Re: Sample code? To: Lucene Users Content-Type: multipart/alternative; boundary="00000000000034e1b1056b4a35de" --00000000000034e1b1056b4a35de Content-Type: text/plain; charset="UTF-8" Hi Mike, I wrote something, it is just a very basic example though https://github.com/freedev/lucene-example Have a look may be it is useful On Wed, May 2, 2018 at 9:48 PM, Mike Lynott wrote: > The sample code for SynonymGraphFilterFactory is written (I assume) in > Solr. Could someone provide a Java translation? Thanks. > > This is what I see: > > positionIncrementGap="100"> > > > synonyms="synonyms.txt" > format="solr" ignoreCase="false" expand="true" > tokenizerFactory="solr.WhitespaceTokenizerFactory" > [optional tokenizer factory parameters]/> > > > > Mike L > -- Vincenzo D'Amore --00000000000034e1b1056b4a35de--