lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "baris.kazar" <baris.ka...@oracle.com>
Subject Re: Lucene API to retrieve matched words
Date Wed, 05 Sep 2018 21:58:42 GMT
Except TermQuery which does exact match, you can do <search_word>* by appending star
char. In Oracle Database Sql it is like the % char.
Hope this helps
Best



> On Sep 5, 2018, at 5:38 PM, 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
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message