lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mikhail Khludnev <m...@apache.org>
Subject Re: Lucene API to retrieve matched words
Date Thu, 06 Sep 2018 10:37:27 GMT
Hello.

What about MultiFields.getTerms().iterator().seekCeil(new BytesRef("ski")) ?

On Thu, Sep 6, 2018 at 12:39 AM Mike Grishaber <mgrishaber@merlinone.com>
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message