From java-user-return-63994-archive-asf-public=cust-asf.ponee.io@lucene.apache.org Thu Sep 6 12:37:41 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 17CAE180668 for ; Thu, 6 Sep 2018 12:37:40 +0200 (CEST) Received: (qmail 30996 invoked by uid 500); 6 Sep 2018 10:37:39 -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 30985 invoked by uid 99); 6 Sep 2018 10:37:39 -0000 Received: from mail-relay.apache.org (HELO mailrelay2-lw-us.apache.org) (207.244.88.137) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Sep 2018 10:37:39 +0000 Received: from mail-it0-f42.google.com (mail-it0-f42.google.com [209.85.214.42]) by mailrelay2-lw-us.apache.org (ASF Mail Server at mailrelay2-lw-us.apache.org) with ESMTPSA id E40182080 for ; Thu, 6 Sep 2018 10:37:38 +0000 (UTC) Received: by mail-it0-f42.google.com with SMTP id j81-v6so14079665ite.0 for ; Thu, 06 Sep 2018 03:37:38 -0700 (PDT) X-Gm-Message-State: APzg51AWX+L4gznxs22HfNgl7XT4i1ncGcxXl5CxqST7D7y69wTp9m2F 2+6YP5ow2XYzdUBWvwdQLqC1xF5l/KG0za1PsFs= X-Google-Smtp-Source: ANB0VdbWI5u/aNzp0QjIwmO2MsGDNLmUMhDtxserGyfzIyxS10c7jVM8xlP2XPpIy3Rg5lk8Ndpp+914GBQUUiEs7fs= X-Received: by 2002:a24:44d7:: with SMTP id o206-v6mr1921643ita.66.1536230258056; Thu, 06 Sep 2018 03:37:38 -0700 (PDT) MIME-Version: 1.0 References: <003901d44560$c9418bc0$5bc4a340$@com> In-Reply-To: <003901d44560$c9418bc0$5bc4a340$@com> From: Mikhail Khludnev Date: Thu, 6 Sep 2018 13:37:27 +0300 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Lucene API to retrieve matched words To: java-user@lucene.apache.org Content-Type: multipart/alternative; boundary="000000000000d325de0575317ab9" --000000000000d325de0575317ab9 Content-Type: text/plain; charset="UTF-8" Hello. What about MultiFields.getTerms().iterator().seekCeil(new BytesRef("ski")) ? On Thu, Sep 6, 2018 at 12:39 AM Mike Grishaber wrote: > Hello All, > > > > I am trying to find a way to retrieve a list of the words that matched a > query. I'm not looking for highlighting, just a list of the words. So if > I > search for 'ski' and I match on 'skier' and 'skiis', I would like to get > back a list that includes 'skier' and 'skiis'. > > Is there an API call that provides this? > > > > Thanks > > Mike > > -- Sincerely yours Mikhail Khludnev --000000000000d325de0575317ab9--