lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gordin, Ira" <ira.gor...@sap.com>
Subject RE: Camel case search with Lucene
Date Thu, 04 Oct 2018 07:30:55 GMT
Hi Vadim,

I want to use camel case when searching, for example, search "RHC" and find "redHotChilly".

Thanks,
Ira

-----Original Message-----
From: Vadim Gindin <vgindin@detectum.com> 
Sent: Thursday, October 4, 2018 10:24 AM
To: java-user@lucene.apache.org
Subject: Re: Camel case search with Lucene

Hi Ira.

If you want to use camel case query, for example, search "redHotChilly"
instead of "red hot chilly" - you should use own pattern tokenizer to
divide the query by regex pattern.

Regards
Vadim Gindin

On Thu, Oct 4, 2018 at 11:58 AM Gordin, Ira <ira.gordin@sap.com> wrote:

> Hi friends,
>
> How can I implement Camel case search with Lucene?
>
> Thanks,
> Ira
>
>
>
Mime
View raw message